<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx</link><description>On Wednesday, Jan 16 th '08 from 9am-10am PST time, I'll be doing an MSDN Live webcast covering an introduction to SQL Server Compact 3.5. This will be my first public presentation of SQL Server Compact since we've shipped last November. 
 Working at</description><dc:language>en</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#9182182</link><pubDate>Sun, 07 Dec 2008 22:19:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9182182</guid><dc:creator>Matt Adamson</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;I also get the same issue from the exception&lt;/p&gt;
&lt;p&gt; &amp;nbsp;$exception {&amp;quot;Attempted to read or write protected memory. This is often an indication that other memory is corrupt.&amp;quot;} System.Exception {System.AccessViolationException}&lt;/p&gt;
&lt;p&gt;My call stack looks like&lt;/p&gt;
&lt;p&gt;[Managed to Native Transition] &lt;/p&gt;
&lt;p&gt;&amp;gt; System.Data.SqlServerCe.dll!System.Data.SqlServerCe.SqlCeCommand.ReleaseNativeInterfaces() + 0x23 bytes &lt;/p&gt;
&lt;p&gt; &amp;nbsp;System.Data.SqlServerCe.dll!System.Data.SqlServerCe.SqlCeCommand.Finalize() + 0x23 bytes &lt;/p&gt;
&lt;p&gt;We use a LINQ to SQL data context however we always ensure a new context is created for each. It's actually used through windows workflow foundation and currently we've had to use the manual thread scheduling service due to this issue when the default service is used. As you probably know the default service schedules work using the CLR thread pool.&lt;/p&gt;
&lt;p&gt;I could certainly capture and upload a dump file when this exception occurs if it would help diagnose the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9182182" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#9127305</link><pubDate>Thu, 20 Nov 2008 07:06:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9127305</guid><dc:creator>Steve Lasker -MS</dc:creator><description>&lt;p&gt;Hi Dilip,&lt;/p&gt;
&lt;p&gt;I'm afraid we'll need a bit more info to understand why you're getting the error. &amp;nbsp;Are you saying it works for the first &amp;quot;thread&amp;quot;, but not the other? &amp;nbsp;Are you attempting to use the same connection across different threads? &amp;nbsp;If so, that would be a problem. &amp;nbsp;Connections aren't thread safe. &amp;nbsp;You can open multiple connections from different threads or different processes against the same database. &amp;nbsp;You can even pass a connection from one thread to another to maintain a collection of open connections, for perf. &amp;nbsp;You just can't use the same connection, at the same time, from two different threads.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9127305" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#9111328</link><pubDate>Mon, 17 Nov 2008 20:05:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9111328</guid><dc:creator>dilip kumar</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;i am getting exception &lt;/p&gt;
&lt;p&gt;“Attempted to read or write protected memory. This is often an indication that other memory is corrupt.” &amp;nbsp;when try to acces &amp;nbsp;SQL ce 3.5 DB in Multithread environment.&lt;/p&gt;
&lt;p&gt;Please provde me the solution.&lt;/p&gt;
&lt;p&gt;Thannks,&lt;/p&gt;
&lt;p&gt;Dilip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9111328" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#8501125</link><pubDate>Tue, 13 May 2008 21:23:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8501125</guid><dc:creator>Steve Lasker -MS</dc:creator><description>&lt;p&gt;Hi Leon,&lt;/p&gt;
&lt;p&gt;The SP1 Beta of Visual Studio 2008 and SQL Server Compact is available here. &amp;nbsp;When you install Visual Studio SP1, you�ll get Compact SP1 as well. &amp;nbsp;However, this unfortunately doesn�t include the beta of our 64bit release. &amp;nbsp;Since this didn�t ship �in VS 2008�, it doesn�t get included with the SP.&lt;/p&gt;
&lt;p&gt;The official statement for SP1 release is �this summer�, which is when we�ll be releasing the 64bit bit release as well. &amp;nbsp;If you�d like to contact me directly, we can see if we can help you in the shorter term if this doesn�t meet your schedule needs.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8501125" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#8501089</link><pubDate>Tue, 13 May 2008 21:15:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8501089</guid><dc:creator>Leon</dc:creator><description>&lt;p&gt;Do you know approximately know in how soon the beta is going to released?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8501089" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#8487877</link><pubDate>Sun, 11 May 2008 19:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8487877</guid><dc:creator>Steve Lasker -MS</dc:creator><description>&lt;p&gt;Hi Lee,&lt;/p&gt;
&lt;p&gt;Yes, we absolutely do have a 64bit release coming. &amp;nbsp;With the popularity of private deployment, we had a few extra challenges we wanted to get right before releasing it, so it’s coming in our SP1 release. &amp;nbsp;I’ll be posting more info when I have dates I can tell customers when they can get a download of a beta.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8487877" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#8465972</link><pubDate>Wed, 07 May 2008 17:32:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8465972</guid><dc:creator>Lee</dc:creator><description>&lt;p&gt;Steve,&lt;/p&gt;
&lt;p&gt;The &amp;quot;Choosing Between SQL Server 2005 Compact Edition and SQL Server 2005 Express Edition&amp;quot; whitepaper you wrote in 11/2006 stated that 3.5 would support native x64 (or more accurately, the next version after 3.1). I believe that 3.5 still needs WoW. Are there any plans to support native 64-bit with CE?&lt;/p&gt;
&lt;p&gt;Lee&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8465972" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#8343854</link><pubDate>Sun, 30 Mar 2008 02:15:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8343854</guid><dc:creator>Steve Lasker -MS</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, you can open connections from multiple threads and processes on the same machine, and this is fully supported. &amp;nbsp;We use shared memory to map connections between multiple processes.&lt;/p&gt;
&lt;p&gt;The thing we stop at is supporting multiple connections from remote machines. &amp;nbsp;We really don’t want to re-create the Jet problem where people can get a few connections to a network share, and then things just start getting ugly. &amp;nbsp;As files continue to grow, it’s just not practical to manage a data file across the network. &amp;nbsp;You could of course, write a service to front Compact so you get true client/server behavior, but Compact isn’t tuned for thrashing of hundreds of concurrent connections. &amp;nbsp;If you need multiple connections from the network, this is really where Express is a great place to start.&lt;/p&gt;
&lt;p&gt;However, for your initial question, yes, this is fully supported.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8343854" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#8330965</link><pubDate>Sat, 22 Mar 2008 12:50:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8330965</guid><dc:creator>gdc</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;your presentation was really interesting.&lt;/p&gt;
&lt;p&gt;I supposed that SQL Server Compact was only for single application (single process) access, but in your sample you share the same northwind.sdf file with two applications (both with open connections on the file).&lt;/p&gt;
&lt;p&gt;Is this a supported scenario?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8330965" width="1" height="1"&gt;</description></item><item><title>re: MSDN Webcast: Introducing SQL Server Compact 3.5 </title><link>http://blogs.msdn.com/b/stevelasker/archive/2008/01/15/msdn-webcast-introducing-sql-server-compact-3-5.aspx#8033175</link><pubDate>Tue, 04 Mar 2008 22:39:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8033175</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Steve,&lt;/p&gt;
&lt;p&gt;Thanks for your help. An Upsizing wizard would be very helpful in this scenario. I ended up using Primeworks Data Port Wizard to move the data and schema to SQL express then I created a LocalDataCache. Sync now works great. Very cool!&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8033175" width="1" height="1"&gt;</description></item></channel></rss>