<?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>SQL Server Express WebLog</title><link>http://blogs.msdn.com/b/sqlexpress/</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.20496 (Build: 5.6.583.20496)</generator><item><title>Using LocalDB with Full IIS, Part 2: Instance Ownership</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx</link><pubDate>Fri, 09 Dec 2011 07:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10245901</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10245901</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx#comments</comments><description>&lt;p&gt;This is the second post in a two-post mini-series on using LocalDB with Full IIS. Don't miss&amp;nbsp;the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx"&gt;first post&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Quick Recap&lt;/h3&gt;
&lt;p&gt;In the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx"&gt;first post&lt;/a&gt; of this mini-series we said there are two properties of LocalDB causing problems when running under full IIS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LocalDB needs user profile to be loaded&lt;/li&gt;
&lt;li&gt;LocalDB instance is owned by a single user and private (by default)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We saw how to properly load the user profile, now it's time to tackle the problem of LocalDB instance ownership.&lt;/p&gt;
&lt;h3&gt;The Problem of the Private Instance&lt;/h3&gt;
&lt;p&gt;At the end of the previous post we left our Web Application in this state:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4278.1.0_5F00_AspNetFailure2.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4278.1.0_5F00_AspNetFailure2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As we can see we are facing the following error:&lt;/p&gt;
&lt;p style="margin: 20px; color: #800000;" color="#800000"&gt;&lt;i&gt;&lt;b&gt;System.Data.SqlClient.SqlException:&lt;/b&gt; Cannot open database "OldFashionedDB" requested by the login. The login failed.&lt;br /&gt; Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;This time the error is quite clear. LocalDB was started and the Web Application was able to connect to it, but the connection was then terminated due to login failure. The ApplicationPoolIdentity account for the IIS application pool (in this case &lt;b&gt;IIS APPPOOL\ASP.NET v4.0&lt;/b&gt;) couldn't login to LocalDB instance because the database specified in the connection string (&lt;b&gt;OldFashionedDB&lt;/b&gt;) wasn't found. How odd, since connecting from Visual Studio with the same connection string succeeds!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/2451.1_5F00_1.TheDbIsThere.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/2451.1_5F00_1.TheDbIsThere.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(In this screenshot I am using SQL Server Object Explorer, which is introduced by &lt;a href="http://blogs.msdn.com/b/ssdt/archive/2011/11/21/what-s-new-in-sql-server-data-tools-ctp4.aspx"&gt;SQL Server Data Tools&lt;/a&gt;. As you can see it adds SQL Server tools right inside Visual Studio 2010.)&lt;/p&gt;
&lt;p&gt;How is it possible that Visual Studio connects to LocalDB just fine, while the connection from Web Application fails? In both cases the connection string is the following:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #000000;" face="Consolas" color="#000000"&gt;Data Source=(localdb)\v11.0;Initial Catalog=OldFashionedDB;Integrated Security=True&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The answer is that there are &lt;b&gt;two&lt;/b&gt; different LocalDB instances here. Unlike SQL Server Express instances, which are running as Windows services, LocalDB instances are running as user processes. When different Windows users are connecting to LocalDB, they will end up with different LocalDB processes started for each of them. When we connect to &lt;b&gt;(localdb)\v11.0&lt;/b&gt; from Visual Studio, a LocalDB instance is started for us and runs as our Windows account. But when Web Application, running in IIS as ApplicationPoolIdentity, is connecting to LocalDB, another LocalDB instance is started for it and is running as ApplicationPoolIdentity! In effect, even though both Visual Studio and Web Application are using the same LocalDB connection string, they are connecting to different LocalDB instances. Obviously the database created from Visual Studio on our LocalDB instance will not be available in Web Application's LocalDB instance.&lt;/p&gt;
&lt;p&gt;A good analogy to this is &lt;b&gt;My Documents&lt;/b&gt; folder in Windows. Say we open Visual Studio and create a file in our &lt;b&gt;My Documents&lt;/b&gt; folder. Then we login to the same machine as a different user and go to &lt;b&gt;My Documents&lt;/b&gt; folder again. We won't find the file there as &lt;b&gt;My Documents&lt;/b&gt; of the second user and our &lt;b&gt;My Documents&lt;/b&gt; are two different folders. Similarly LocalDB instances &lt;b&gt;(localdb)\v11.0&lt;/b&gt; owned by two different users are two different processes with two different sets of databases.&lt;/p&gt;
&lt;p&gt;This is also the reason the Web Application was able to connect to LocalDB from IIS Express. Just like LocalDB, IIS Express is a user process. It is started by Visual Studio and runs as the same Windows account as the Visual Studio process. Two different processes running as the same Windows account (Visual Studio and IIS Express, both running as our Windows account) connecting to &lt;b&gt;(localdb)\v11.0&lt;/b&gt; are connecting to the same LocalDB process, also started as the same Windows account.&lt;/p&gt;
&lt;h3&gt;Possible Solutions&lt;/h3&gt;
&lt;p&gt;Understanding the nature of the problem brings multiple approaches to solving it. As different approaches have different tradeoffs, instead of prescribing one solution, below I presented three approaches that seem most viable to me. My hope is to hear from you about the one that worked best for you! Here is the list:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#OurIIS"&gt;Approach 1: Run IIS as our Windows user&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#SharedLocalDB"&gt;Approach 2: Use LocalDB Shared Instance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#UseSSE"&gt;Approach 3: Use full SQL Server Express&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let's take a closer look at each of them.&lt;/p&gt;
&lt;h3&gt;&lt;a name="OurIIS"&gt;&lt;/a&gt;Approach 1: Run IIS as our Windows user&lt;/h3&gt;
&lt;p&gt;If different user accounts are the problem, why not try to run our Web Application under our Windows account? Web Application would connect to the same LocalDB as Visual Studio and everything should just work.&lt;/p&gt;
&lt;p&gt;Making the configuration change is relatively easy, just start IIS Manager and find the right Application Pool:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/6114.2_5F00_1.ConfigureCurrentUser1.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/6114.2_5F00_1.ConfigureCurrentUser1.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open &lt;b&gt;Advanced Settings&lt;/b&gt; screen (available in the context menu):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/6011.2_5F00_2.ConfigureCurrentUser2.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/6011.2_5F00_2.ConfigureCurrentUser2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the little button in the &lt;b&gt;Identity&lt;/b&gt; property to bring up the &lt;b&gt;Application Pool Identity&lt;/b&gt; screen:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4762.2_5F00_3.ConfigureCurrentUser3.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4762.2_5F00_3.ConfigureCurrentUser3.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Starting the Web Application again will confirm that the problem is solved:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/7183.X_5F00_0.Success.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/7183.X_5F00_0.Success.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What are the drawbacks of this approach? Of course running Web Application under our account brings certain &lt;b&gt;security risks&lt;/b&gt;. If someone hijacks our Web Application they will be able to access all system resources our account can. Running the Web Application as ApplicationPoolIdentity provides additional protection since ApplicationPoolIdentity accounts have very limited access to local system resources. Therefore I cannot recommend this approach in general, but when used with care it is a viable option in some cases.&lt;/p&gt;
&lt;h3&gt;&lt;a name="SharedLocalDB"&gt;&lt;/a&gt;Approach 2: Use LocalDB Shared Instance&lt;/h3&gt;
&lt;p&gt;We could also use an instance sharing feature of LocalDB. It allows us to share a LocalDB instance with other users on the same machine. The shared instance will be accessible under a public name.&lt;/p&gt;
&lt;p&gt;The easiest way of sharing an instance is to use &lt;a href="http://msdn.microsoft.com/en-us/library/hh212961(v=sql.110).aspx"&gt;SqlLocalDB.exe&lt;/a&gt; utility. Just start an administrative command line prompt, and type the following command:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #000000;" face="Consolas" color="#000000"&gt;sqllocaldb share v11.0 IIS_DB&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It will share the private LocalDB instance &lt;b&gt;v11.0&lt;/b&gt; under the public name &lt;b&gt;IIS_DB&lt;/b&gt;. All users on the machine will be able to connect to this instance, using &lt;b&gt;(localdb)\.\IIS_DB&lt;/b&gt; as a server address. Note the &lt;b&gt;\.&lt;/b&gt; before the instance name, indicating this is a shared instance name. We should replace the connection string in our Web Application with an updated one:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #000000;" face="Consolas" color="#000000"&gt;Data Source=(localdb)\.\IIS_DB;Initial Catalog=OldFashionedDB;Integrated Security=True&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Before the shared instance can be used by the Web Application we need to start it and create logins for the ApplicationPoolIdentity. Starting the instance is easy, simply connecting to it from SQL Server Object Explorer will start it and keep it alive. Once we are in the SQL Server Object Explorer we can also create the login for ApplicationPoolIdentity. We could use the following query:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #0000ff;" face="Consolas" color="#0000ff"&gt;create login &lt;span style="color: #008080;" color="#008080"&gt;[IIS APPPOOL\ASP.NET v4.0]&lt;/span&gt; from windows;&lt;br /&gt; exec &lt;span style="color: #800000;" color="#800000"&gt;sp_addsrvrolemember&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;N'IIS APPPOOL\ASP.NET v4.0'&lt;/span&gt;, &lt;span style="color: #008080;" color="#008080"&gt;sysadmin&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This script gives full administrative access to our LocalDB instance to the ApplicationPoolIdentity account. Whenever possible, I would recommend using more limited, database-level or even table-level permissions.&lt;/p&gt;
&lt;p&gt;Now we can run our Web Application again. This time it should work just fine:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/7183.X_5F00_0.Success.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/7183.X_5F00_0.Success.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What are the drawbacks of this approach? The main one is that, before Web Application can connect to the shared instance, we need to make sure the instance is started. For that to happen the Windows account that owns the instance must connect to it and the connection must be kept open, or the LocalDB instance will shut down.&lt;/p&gt;
&lt;h3&gt;&lt;a name="UseSSE"&gt;&lt;/a&gt;Approach 3: Use full SQL Server Express&lt;/h3&gt;
&lt;p&gt;Since full IIS runs as a service, maybe using traditional, service-based SQL Server Express is the right approach? We could just install SQL Server 2012 Express RC0 and create the &lt;b&gt;OldFashionedDB&lt;/b&gt; database in it. We can even use our brand new SQL Server Data Tools to do it, as it works with any SQL Server version and edition. Our connection string would have to change to:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #000000;" face="Consolas" color="#000000"&gt;Data Source=.\SQLEXPRESS;Initial Catalog=OldFashionedDB;Integrated Security=True&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Of course, just as in the previous case, we would need to make sure the ApplicationPoolIdentity account has access to our SQL Server Express instance. We can use the same script as previously:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #0000ff;" face="Consolas" color="#0000ff"&gt;create login &lt;span style="color: #008080;" color="#008080"&gt;[IIS APPPOOL\ASP.NET v4.0]&lt;/span&gt; from windows;&lt;br /&gt; exec &lt;span style="color: #800000;" color="#800000"&gt;sp_addsrvrolemember&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;N'IIS APPPOOL\ASP.NET v4.0'&lt;/span&gt;, &lt;span style="color: #008080;" color="#008080"&gt;sysadmin&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After that, running our Web Application brings the happy picture again:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/7183.X_5F00_0.Success.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/7183.X_5F00_0.Success.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What are the drawbacks of this approach? Obviously we lose the benefits of using LocalDB. Installing SQL Server Express may take more time than LocalDB, and there may be some machine cleanup necessary for it to succeed. SQL Server Express Setup can be blocked by problems like corrupt WMI database, polluted registry or components left by SQL Server or Visual Studio CTPs and Betas. And SQL Server Express will continue running in the background even when not needed, as services do.&lt;/p&gt;
&lt;h3&gt;Other options&lt;/h3&gt;
&lt;p&gt;There are other approaches of using LocalDB under full IIS that are not covered here. We could embrace the Web Application's private LocalDB instance and communicate with it through the Web Application by executing T-SQL scripts from ASP.NET code. We could also use AttachDbFileName option of ADO.NET connection strings and use a database file (.mdf) that would be attached to both our LocalDB during development and Web Application's LocalDB for debugging. I tried both I found them too cumbersome to discuss further.&lt;/p&gt;
&lt;h3&gt;&lt;a name="TryItNow"&gt;&lt;/a&gt;Try It Now!&lt;/h3&gt;
&lt;p&gt;We are eager to hear your feedback on LocalDB. Please share your thoughts with us. Did any of the approaches presented in this post work for you? Did you figure out a better one? Let us know!&lt;/p&gt;
&lt;p&gt;You may also want to see other posts and materials about LocalDB:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx"&gt;Introducing LocalDB and LocalDB Q&amp;amp;A&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;Upgrading .NET Framework 4 to support LocalDB connections and using SQL Server Management Studio to work with LocalDB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx"&gt;Using LocalDB in Visual Studio 2010&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx"&gt;Using LocalDB in Full IIS, Part 1: User Profile&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx"&gt;Using LocalDB in Full IIS, Part 2: Instance Ownership&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/simple-installer-for-localdb-has-shipped.aspx"&gt;LocalDB RC0 and the New LocalDB Installer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/28/localdb-where-is-my-database.aspx"&gt;Where are LocalDB database files located?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/hh510202(v=sql.110).aspx"&gt;SQL Server 2012 Express LocalDB documentation [preview]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;Share Your Feedback&lt;/h3&gt;
&lt;p&gt;Please share your feedback with us! Just start a thread on &lt;a href="http://social.msdn.microsoft.com/Forums/sqlexpress/"&gt;SQL Express Forum&lt;/a&gt;, hit the "Email Author" button on this post, or file a &lt;a href="http://connect.microsoft.com/SQLServer"&gt;Connect&lt;/a&gt; item!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10245901" width="1" height="1"&gt;</description></item><item><title>Using LocalDB with Full IIS, Part 1: User Profile</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx</link><pubDate>Fri, 09 Dec 2011 07:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10245900</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10245900</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx#comments</comments><description>&lt;p&gt;This is the first post in two-post mini-series on using LocalDB with Full IIS. If you found it useful make sure to continue to the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx"&gt;second post&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;LocalDB and Full IIS&lt;/h3&gt;
&lt;p&gt;In &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx"&gt;this recent post&lt;/a&gt; I described how to use SQL Server Express LocalDB with Visual Studio 2010. The approach I proposed works for all kind of projects, including Web Applications. However, when it comes to Web Application, there is a catch. An application hosted in Cassini or IIS Express will work as expected, but as soon as we try running it in full IIS (the regular IIS that comes with Windows and runs as Windows service) we are facing the following error:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/0312.0.0_5F00_AspNetFailure.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/0312.0.0_5F00_AspNetFailure.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;What Went Wrong?&lt;/h3&gt;
&lt;p&gt;There are two properties of LocalDB that cause problems when running under full IIS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LocalDB needs user profile to be loaded&lt;/li&gt;
&lt;li&gt;LocalDB instance is owned by a single user and private (by default)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We will focus the rest of this post on the user profile, leaving the issue of LocalDB instance ownership for the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx"&gt;next post&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;a name="LoadProfile"&gt;&lt;/a&gt;Loading User Profile&lt;/h3&gt;
&lt;p&gt;Let's take another look at the error:&lt;/p&gt;
&lt;p style="margin: 20px; color: #800000;" color="#800000"&gt;&lt;i&gt;&lt;b&gt;System.Data.SqlClient.SqlException:&lt;/b&gt; A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 0 - [x89C50120])&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;The error message is not very helpful but LocalDB stores additional information in Windows Event Log. Looking in the &lt;b&gt;Application&lt;/b&gt; section under &lt;b&gt;Windows Logs&lt;/b&gt; we find the following message:&lt;/p&gt;
&lt;p style="margin: 20px; color: #800000;" color="#800000"&gt;&lt;i&gt;Windows API call SHGetKnownFolderPath returned error code: 5. Windows system error message is: Access is denied.&lt;br /&gt; Reported at line: 400.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Followed by this one:&lt;/p&gt;
&lt;p style="margin: 20px; color: #800000;" color="#800000"&gt;&lt;i&gt;Cannot get a local application data path. Most probably a user profile is not loaded. If LocalDB is executed under IIS, make sure that profile loading is enabled for the current user.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Most likely there will be several copies of these two errors, as ADO.NET connection logic attempts to connect multiple times at different intervals:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4135.0_5F00_1.EventLog.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4135.0_5F00_1.EventLog.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The second message is clear, the problem we're facing is that the user profile needs to be loaded. That shouldn't be hard since each IIS Application Pool has an option called &lt;b&gt;Load User Profile&lt;/b&gt; that can be found in &lt;b&gt;Advanced Settings&lt;/b&gt; section. Unfortunately things got slightly more complicated in Service Pack 1 for Windows 7. As described in &lt;a href="http://support.microsoft.com/kb/2547655"&gt;KB 2547655&lt;/a&gt; enabling &lt;b&gt;loadUserProfile&lt;/b&gt; is not enough to fully load user profile, we also need to enable &lt;b&gt;setProfileEnvironment&lt;/b&gt;. This requires editing &lt;b&gt;applicationHost.config&lt;/b&gt; file which is usually located in C:\Windows\System32\inetsrv\config. Following the instructions from &lt;a href="http://support.microsoft.com/kb/2547655"&gt;KB 2547655&lt;/a&gt; we should enable both flags for Application Pool &lt;b&gt;ASP.NET v4.0&lt;/b&gt;, like this:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #0000ff;" face="Consolas" color="#0000ff"&gt; &lt;span style="color: #0000ff;" color="#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;" color="#800000"&gt;add&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;ASP.NET v4.0&lt;/span&gt;&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;autoStart&lt;/span&gt;=&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;true&lt;/span&gt;&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;managedRuntimeVersion&lt;/span&gt;=&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;v4.0&lt;/span&gt;&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;managedPipelineMode&lt;/span&gt;=&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;Integrated&lt;/span&gt;&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt; &lt;span style="margin-left: 40px;"&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;" color="#800000"&gt;processModel&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;identityType&lt;/span&gt;=&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;ApplicationPoolIdentity&lt;/span&gt;&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt; &lt;b&gt;&lt;span style="color: #ff0000;" color="#ff0000"&gt;loadUserProfile&lt;/span&gt;=&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;true&lt;/span&gt;&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt; &lt;span style="color: #ff0000;" color="#ff0000"&gt;setProfileEnvironment&lt;/span&gt;=&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;true&lt;/span&gt;&lt;span style="color: #000000;" color="#000000"&gt;"&lt;/span&gt;&lt;/b&gt; &lt;span style="color: #0000ff;" color="#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;span style="color: #0000ff;" color="#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;" color="#800000"&gt;add&lt;/span&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Having completed that we restart the Application Pool to make sure the new settings are applied and run our Web Application again. If everything went as expected we should be ... faced by a new error:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4278.1.0_5F00_AspNetFailure2.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_12_2D00_08/4278.1.0_5F00_AspNetFailure2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There's no reason to panic, as this error is fully expected. After all we haven't dealt with the second problem with running LocalDB under full IIS. We still need to address the fact that by default LocalDB instances are private, which means that IIS, running as ApplicationPoolIdentity, will not have access to our LocalDB instance, running as our Windows account. We will explore different ways to address this problem in the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx"&gt;second post&lt;/a&gt; from this mini-series on using LocalDB under full IIS.&lt;/p&gt;
&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;
&lt;h3&gt;Share Your Feedback&lt;/h3&gt;
&lt;p&gt;Please share your feedback with us! Just start a thread on &lt;a href="http://social.msdn.microsoft.com/Forums/sqlexpress/"&gt;SQL Express Forum&lt;/a&gt;, hit the "Email Author" button on this post, or file a &lt;a href="http://connect.microsoft.com/SQLServer"&gt;Connect&lt;/a&gt; item!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10245900" width="1" height="1"&gt;</description></item><item><title>Announcing SQL Server 2012 Express LocalDB RC0</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/simple-installer-for-localdb-has-shipped.aspx</link><pubDate>Mon, 28 Nov 2011 09:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10241914</guid><dc:creator>sqlexpress</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10241914</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/simple-installer-for-localdb-has-shipped.aspx#comments</comments><description>&lt;h3&gt;LocalDB RC0 is Here, with a Brand New MSI!&lt;/h3&gt;
&lt;p&gt;Release Candidate 0 for SQL Server 2012 has just shipped,&amp;nbsp;bringing a new update to SQL Server Express LocalDB!&lt;/p&gt;
&lt;p&gt;As &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx"&gt;announced here&lt;/a&gt; LocalDB is a version of SQL Server Express, introduced in the CTP3 of SQL Server 2012 and created specifically for developers. It is very easy to install and requires no management, yet it offers the same T-SQL language, programming surface and client-side providers as the regular SQL Server Express. For more details please see the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx"&gt;original announcement&lt;/a&gt; and related posts listed in the &lt;a href="#TryItNow"&gt;Try It Now&lt;/a&gt; section below.&lt;/p&gt;
&lt;p&gt;With this introduction done I am very happy to present a small, streamlined installer for LocalDB. This dedicated, 33MB MSI package can install LocalDB in 30 seconds and completes the first version of SQL Server Express LocalDB.&lt;/p&gt;
&lt;h3&gt;Installation&lt;/h3&gt;
&lt;p&gt;You can download LocalDB from &lt;a href="http://www.microsoft.com/betaexperience/pd/SQLEXPCTAV2/enus/default.aspx"&gt;this page&lt;/a&gt;. Just pick your CPU architecture (32-bit or 64-bit) and select &lt;b&gt;LocalDB&lt;/b&gt; from the drop-down list. Just double-click the &lt;b&gt;SqlLocalDB.msi&lt;/b&gt; file is downloaded that will be downloaded. We kept LocalDB simple so there is not a single configuration option in the entire installer. All you need to do is to accept the EULA and click &lt;b&gt;Next&lt;/b&gt; a couple times. The installation of LocalDB requires administrative privileges, so if your machine has UAC enabled you will also need to agree to elevate the installation process.&lt;/p&gt;
&lt;h3&gt;Silent and Embedded Installation&lt;/h3&gt;
&lt;p&gt;As any decent installer, LocalDB supports silent installation. Here is an example a command that installs LocalDB silently:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #000000;" face="Consolas" color="#000000"&gt;msiexec /i SqlLocalDB.msi /qn IACCEPTSQLLOCALDBLICENSETERMS=YES&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As you can see these are all standard Windows Installer options, except for the &lt;b&gt;IACCEPTSQLLOCALDBLICENSETERMS&lt;/b&gt; variable. Setting it to &lt;b&gt;YES&lt;/b&gt; is telling us that the user read and accepted LocalDB EULA. As expected the installer will not continue unless this variable is set to &lt;b&gt;YES&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;If you are considering distributing LocalDB with your application, be sure to put 32-bit and 64-bit versions into separate folders. LocalDB doesn't support installing 32-bit version on 64-bit Windows, so you will need to distribute both versions of LocalDB with your application and they both have the same file name (&lt;b&gt;SqlLocalDB.msi&lt;/b&gt;). Renaming LocalDB packages is not an option, as Windows Installer requires that MSI file names don't change (see &lt;b&gt;Rule 14&lt;/b&gt; in &lt;a href="http://blogs.msdn.com/b/windows_installer_team/archive/2006/05/12/595950.aspx"&gt;this post&lt;/a&gt; for the explanation).&lt;/p&gt;
&lt;h3&gt;Multiple Versions of LocalDB and Upgrades&lt;/h3&gt;
&lt;p&gt;To keep the LocalDB installation simple we decided that major versions of LocalDB will be installed side-by-side. This way an application using LocalDB version 11 will never be broken by some other application upgrading LocalDB to version 12. Both applications will be able to install the versions of LocalDB they need without interfering with each other.&lt;/p&gt;
&lt;p&gt;Service Packs for LocalDB will also work in the simplest possible way. In each Service Pack we will release new MSI packages containing all the LocalDB binaries. The updated MSI package can be used to either apply the Service Pack to an existing LocalDB installation or to install a fresh LocalDB installation. In both cases the command line for the silent installation will be the same.&lt;/p&gt;
&lt;h3&gt;&lt;a name="TryItNow"&gt;&lt;/a&gt;Try It Now!&lt;/h3&gt;
&lt;p&gt;As you can tell we are fairly satisfied with the final shape of LocalDB, at least for SQL Server 2012. But the final call belongs to you! Please give it a try and share your feedback with us.&lt;/p&gt;
&lt;p&gt;You may also want to see other posts and materials about LocalDB:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx"&gt;Introducing LocalDB and LocalDB Q&amp;amp;A&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;Upgrading .NET Framework 4 to support LocalDB connections and using SQL Server Management Studio to work with LocalDB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx"&gt;Using LocalDB in Visual Studio 2010&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/simple-installer-for-localdb-has-shipped.aspx"&gt;LocalDB RC0 and the New LocalDB Installer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/28/localdb-where-is-my-database.aspx"&gt;Where are LocalDB database files located?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/hh510202(v=sql.110).aspx"&gt;SQL Server 2012 Express LocalDB documentation [preview]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;Share Your Feedback&lt;/h3&gt;
&lt;p&gt;Please share your feedback with us! Just start a thread on &lt;a href="http://social.msdn.microsoft.com/Forums/sqlexpress/"&gt;SQL Express Forum&lt;/a&gt;, hit the "Email Author" button on this post or file a &lt;a href="http://connect.microsoft.com/SQLServer"&gt;Connect&lt;/a&gt; item!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10241914" width="1" height="1"&gt;</description></item><item><title>Using LocalDB in Visual Studio 2010</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx</link><pubDate>Mon, 28 Nov 2011 07:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10241883</guid><dc:creator>sqlexpress</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10241883</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx#comments</comments><description>&lt;h3&gt;SSMS is a Success, But What About&amp;nbsp;the VS?&lt;/h3&gt;
&lt;p&gt;In&amp;nbsp;my &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;recent post&lt;/a&gt; I was using .NET Framework 4.0.2 to enable SQL&amp;nbsp;Server Management Studio to connect to LocalDB. It all worked rather&amp;nbsp;well and I declared success and moved on to &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/28/localdb-where-is-my-database.aspx"&gt;another topic&lt;/a&gt;. I conveniently kept silent about connecting to LocalDB from Visual Studio 2010. For a good reason -- currently Visual Studio 2010 doesn't really work with LocalDB. There are two reasons for that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The SQL Server database experiences in Visual Studio 2010 are built on top of User Instances of SQL Server Express. Using LocalDB to power them is more complex than just changing a connection string to (localdb)\v11.0. It would require releasing some kind of a wide patch for Visual Studio 2010.&lt;/li&gt;
&lt;li&gt;LocalDB was introduced in SQL Server 2012 CTP3. Visual Studio 2010 only supports SQL Server 2008 R2 and earlier.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In effect, even though adding the connection to LocalDB to &lt;b&gt;Data Connections&lt;/b&gt; node of &lt;b&gt;Server Explorer&lt;/b&gt; will succeed, trying to open any database designer from this connection will result in this sad message:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/8508.1.0_5F00_SqlVersionError.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/8508.1.0_5F00_SqlVersionError.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Is There At Least a Hack?&lt;/h3&gt;
&lt;p&gt;At this point the situation might seem pretty grim. Without Visual Studio 2010 support for LocalDB, developers that want to try it would need to wait for the next Visual Studio release. How can we get your feedback on LocalDB if there's no way to try it for months?&lt;/p&gt;
&lt;p&gt;Fortunately, many Visual Studio 2010 features actually work with LocalDB and we should be able to use SQL Server Management Studio for the missing parts. We could also take the opportunity to try the new &lt;a href="http://blogs.msdn.com/b/ssdt/archive/2011/11/21/download-available-sql-server-data-tools-ctp4-ssdt.aspx"&gt;SQL Server Data Tools&lt;/a&gt; -- I will post about working with LocalDB from SSDT soon, as it integrates into Visual Studio, providing developers with a nice alternative for usig SSMS.&lt;/p&gt;
&lt;p&gt;I already covered &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;how to connect to LocalDB from SSMS&lt;/a&gt; and create databases, tables, input data and so on. Let's look at how we can use them from the Visual Studio 2010.&lt;/p&gt;
&lt;p&gt;As I mentioned earlier creating a connection to LocalDB in the &lt;b&gt;Data Connections&lt;/b&gt; node of &lt;b&gt;Server Explorer&lt;/b&gt; will just work. Let's give it a try! One way to do it is to right-click the &lt;b&gt;Data Connections&lt;/b&gt; node and select &lt;b&gt;Add Connection...&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/3465.2.1_5F00_AddConnection.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/3465.2.1_5F00_AddConnection.png" /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;We should use the standard LocalDB connection string: &lt;b&gt;(localdb)\v11.0&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/0576.2.2_5F00_DatabaseConnectionProperties.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/0576.2.2_5F00_DatabaseConnectionProperties.png" /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Clicking &lt;b&gt;OK&lt;/b&gt; and done, the connection is created!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/0172.2.3_5F00_DatabaseConnectionCreated.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/0172.2.3_5F00_DatabaseConnectionCreated.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Don't worry about the strange format of the connection -- we will soon see that the connection indeed points to our usual LocalDB instance.&lt;/p&gt;
&lt;p&gt;The next step is to use the connection. Let's create a &lt;b&gt;DataGridView&lt;/b&gt; control by dragging it from the &lt;b&gt;Toolbox&lt;/b&gt; panel.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/8561.2.5_5F00_DbGridConnection.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/8561.2.5_5F00_DbGridConnection.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As we can see the &lt;b&gt;DataGridView&lt;/b&gt; is not&amp;nbsp;connected to any data source. Let's bind it to our LocalDB connection. Click &lt;b&gt;Add Project Data Source...&lt;/b&gt; link on the &lt;b&gt;Tasks&lt;/b&gt; quickview of the &lt;b&gt;DataGridView&lt;/b&gt; control to bring up the data connection wizard and select &lt;b&gt;Database&lt;/b&gt; and &lt;b&gt;Dataset&lt;/b&gt; on the next two screens.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/0412.2.6_5F00_DbGridConnection1.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/0412.2.6_5F00_DbGridConnection1.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/2063.2.7_5F00_DbGridConnection2.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/2063.2.7_5F00_DbGridConnection2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When asked about the connection, pick the LocalDB connection from the list. Once it's selected we can confirm that it points to LocalDB by looking at the &lt;b&gt;Connection string&lt;/b&gt; property.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/4237.2.8_5F00_DbGridConnectionString.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/4237.2.8_5F00_DbGridConnectionString.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The last step is selecting a table to be presented in the &lt;b&gt;DataGridView&lt;/b&gt;. After finishing the wizard the &lt;b&gt;DataGridView&lt;/b&gt; should have the same columns as the underlying table, like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/5165.2.A_5F00_DbGridReady.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/5165.2.A_5F00_DbGridReady.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We're done. Hold your breath and hit F5 to run the application. With any luck it should start and the &lt;b&gt;DataGridView&lt;/b&gt; should present the data from the table, like on this screenshot:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/8308.2.B_5F00_DbGridRunning.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_27/8308.2.B_5F00_DbGridRunning.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That was easy, wasn't it? :-)&lt;/p&gt;
&lt;h3&gt;Try It Now!&lt;/h3&gt;
&lt;p&gt;This walkthrough covers just one scenario, but the same approach should work in other scenarios as well. Just use SSMS or SSDT to create your database and Visual Studio to connect to it. Please try out your favorite scenario and share your feedback!&lt;/p&gt;
&lt;p&gt;You may also want to see other posts and materials about LocalDB:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx"&gt;Introducing LocalDB and LocalDB Q&amp;amp;A&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;Upgrading .NET Framework 4 to support LocalDB connections and using SQL Server Management Studio to work with LocalDB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx"&gt;Using LocalDB in Visual Studio 2010&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/simple-installer-for-localdb-has-shipped.aspx"&gt;LocalDB RC0 and the New LocalDB Installer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/28/localdb-where-is-my-database.aspx"&gt;Where are LocalDB database files located?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/hh510202(v=sql.110).aspx"&gt;SQL Server 2012 Express LocalDB documentation [preview]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;Share Your Feedback&lt;/h3&gt;
&lt;p&gt;Please share your feedback with us! Just start a thread on &lt;a href="http://social.msdn.microsoft.com/Forums/sqlexpress/"&gt;SQL Express Forum&lt;/a&gt;, hit the "Email Author" button on this post or file a &lt;a href="http://connect.microsoft.com/SQLServer"&gt;Connect&lt;/a&gt; item!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10241883" width="1" height="1"&gt;</description></item><item><title>LocalDB: Where is My Database?</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/10/28/localdb-where-is-my-database.aspx</link><pubDate>Fri, 28 Oct 2011 21:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10231206</guid><dc:creator>sqlexpress</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10231206</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/10/28/localdb-where-is-my-database.aspx#comments</comments><description>&lt;p&gt;As I mentioned in the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;previous post&lt;/a&gt; LocalDB handles database files differently than regular SQL Server.&lt;/p&gt;
&lt;p&gt;The regular SQL Server assumes that it is actively managed by a DBA. The DBA carefully configures SQL Server during the installation and afterwards. The DBA decides where SQL Server binaries are installed. The DBA also decides where the system database files are located. The location of the system databases also becomes the default location for all user databases.&lt;/p&gt;
&lt;p&gt;LocalDB is different. It's built to be used by developers, not DBAs. And we have heard developers saying loud and clear that they just want to focus on their databases and database code. Therefore our primary design goal was to eliminate all the server configuration and management that is getting in their way. As a result LocalDB stores all the system databases deep inside the "hidden" &lt;b&gt;AppData&lt;/b&gt; folder in the user profile. For example, after playing with the Automatic Instance in the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;previous post&lt;/a&gt;, I find this folder in my user profile:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_11/2146.1_5F00_SystemDatabases.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_11_2D00_11/2146.1_5F00_SystemDatabases.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This folder constitutes my Automatic LocalDB Instance. Any good DBA will explain in great and painful details what these files are, but if you are a developer this is the first and the last time you will look at them. Which is great, but left us with an interesting question. If the location of system databases is hidden from the developer, what should the default location for the databases created by the developer be? Creating user databases in a hidden folder didn't seem like the right design. We considered &lt;b&gt;My Documents&lt;/b&gt; too, but that could give the impression that SQL Server databases are portable documents. Plus half of our team was using some sort of document synchronization solution, like Live Mesh. Those would quickly destroy the database files and we thought they will only get more popular over time, thus more likely to wreck havoc in the future.&lt;/p&gt;
&lt;p&gt;In the end we decided to create the database files in the root of the user profile. On most machines it is located in &lt;b&gt;C:\Users\&lt;i&gt;user-name&lt;/i&gt;&lt;/b&gt; folder&lt;/p&gt;
&lt;p&gt;In the spirit of a scientific approach, let's try it out. Open SSMS and connect to your Automatic Instance:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4604.1.0_5F00_ConnectToDialog.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4604.1.0_5F00_ConnectToDialog.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then create database &lt;b&gt;foo&lt;/b&gt; without specifying the location for its files:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #0000ff;" face="Consolas" color="#0000ff"&gt;create database &lt;span style="color: #008080;" color="#008080"&gt;foo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Open Windows Explorer and navigate to your profile (typing &lt;b&gt;%USERPROFILE%&lt;/b&gt; in the address bar is a nice shortcut). If the database was created successfully there will be new files in this folder, &lt;b&gt;foo.mdf&lt;/b&gt; and &lt;b&gt;foo_log.ldf&lt;/b&gt; that represent your database. QED.&lt;/p&gt;
&lt;p&gt;Given that user profile folder is likely &lt;b&gt;not&lt;/b&gt; the best location to store database files, we advise developers creating databases to always specify the location for the database files, like in this T-SQL example:&lt;/p&gt;
&lt;p style="margin: 20px;"&gt;&lt;span style="font-family: Consolas; color: #0000ff;" face="Consolas" color="#0000ff"&gt;create database &lt;span style="color: #008080;" color="#008080"&gt;foo&lt;/span&gt; on (name=&lt;span style="color: #ff0000;" color="#ff0000"&gt;'foo'&lt;/span&gt;, filename=&lt;span style="color: #ff0000;" color="#ff0000"&gt;'c:\DBs\foo.mdf'&lt;/span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;Send us Your Feedback&lt;/h3&gt;
&lt;p&gt;Please share your feedback with us! Just start a thread on &lt;a href="http://social.msdn.microsoft.com/Forums/sqlexpress/"&gt;SQL Express Forum&lt;/a&gt;, hit the "Email Author" button on this post or file a &lt;a href="http://connect.microsoft.com/SQLServer"&gt;Connect&lt;/a&gt; item!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10231206" width="1" height="1"&gt;</description></item><item><title>.NET Framework 4 now supports LocalDB!</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx</link><pubDate>Fri, 28 Oct 2011 02:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10230869</guid><dc:creator>sqlexpress</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10230869</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx#comments</comments><description>&lt;p&gt;Updated 2011-11-11: Added a link to the post on how LocalDB handles database file locations.&lt;/p&gt;
&lt;p&gt;Updated 2012-01-03: Clarified that only SSMS from SQL Server 2012 (or newer) will work with the .NET 4 Update 4.0.2, since earlier SSMS versions are using .NET 3.5.&lt;/p&gt;
&lt;h3&gt;.NET Framework 4 Update 4.0.2&lt;/h3&gt;
&lt;p&gt;.NET team has just released Update 4.0.2 for .NET Framework 4. This update enables connecting to SQL Server Express LocalDB via System.Data.SqlClient provider.&lt;/p&gt;
&lt;p&gt;.NET Framework 4 Update 4.0.2 can be downloaded from &lt;a href="http://support.microsoft.com/kb/2544514"&gt;http://support.microsoft.com/kb/2544514&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Does this work?&lt;/h3&gt;
&lt;p&gt;Well, let's give it a try!&lt;/p&gt;
&lt;p&gt;We start by installing SQL Server 2012 Management Studio RC0 (SSMS) and LocalDB together with .NET 4. The version of SSMS is important as earlier versions are using .NET 3.5 and currently only .NET 4 can be updated to understand LocalDB connection strings. Next we update .NET 4 to 4.0.2 (hey, no reboot in my case!). Then fire up SSMS. When prompted for the server address we specify "&lt;b&gt;(localdb)\v11.0&lt;/b&gt;", like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4604.1.0_5F00_ConnectToDialog.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4604.1.0_5F00_ConnectToDialog.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Clicking &lt;b&gt;Connect&lt;/b&gt; and &amp;hellip; (drum roll please!) &amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/8623.1.2_5F00_Connected.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/8623.1.2_5F00_Connected.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Success!&lt;/p&gt;
&lt;h3&gt;Does it really work?&lt;/h3&gt;
&lt;p&gt;OK, so we confirmed SSMS connects to LocalDB. Which is great, but how about doing something more useful for a developer? The next logical step would be to create a database. We know the drill -- right-click the &lt;b&gt;Databases&lt;/b&gt; node in &lt;b&gt;Object Explorer&lt;/b&gt; and select &lt;b&gt;New Database&lt;/b&gt;. So far, so good. After typing in the name of the new database (in my case &lt;b&gt;LocalDBTest&lt;/b&gt;) we are ready to hit OK...&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/3276.2.0_5F00_CreateDBDialog.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/3276.2.0_5F00_CreateDBDialog.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Clicking &lt;b&gt;OK&lt;/b&gt; and ... we hit an error!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/8420.2.1_5F00_CreateDBError.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/8420.2.1_5F00_CreateDBError.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is obviously a bug, but there are at least two reasons we shouldn't panic. First, the bug has an easy workaround that we're going to use very, very soon. Second, it points to an important characteristic of the way LocalDB handles database files. I will explain it in more detail in the &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/28/localdb-where-is-my-database.aspx"&gt;next post&lt;/a&gt;, but for now let's get back to LocalDB and creating our database.&lt;/p&gt;
&lt;p&gt;To work around this problem we need to explicitly specify the folder for the database files. For the lack of a better location let's just put them into &lt;b&gt;My Documents&lt;/b&gt;, like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4011.2.2_5F00_CreateDBCorrectFiles.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4011.2.2_5F00_CreateDBCorrectFiles.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This time clicking &lt;b&gt;OK&lt;/b&gt; creates the database without any problems.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4278.2.3_5F00_DBCreated.png"&gt;&lt;img style="max-width: 550px;" border="0" alt="" src="http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-37-92-2011_2D00_10_2D00_27/4278.2.3_5F00_DBCreated.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We are now ready for some serious database development, but this too will have to wait for another post.&lt;/p&gt;
&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;Send us Your Feedback&lt;/h3&gt;
&lt;p&gt;Please share your feedback with us! Feel free to start a thread on &lt;a href="http://social.msdn.microsoft.com/Forums/sqlexpress/"&gt;SQL Express Forum&lt;/a&gt;, hit the "Email Author" button on this post or file a &lt;a href="http://connect.microsoft.com/SQLServer"&gt;Connect&lt;/a&gt; item!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10230869" width="1" height="1"&gt;</description></item><item><title>Introducing LocalDB, an improved SQL Express</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx</link><pubDate>Tue, 12 Jul 2011 12:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10184083</guid><dc:creator>sqlexpress</dc:creator><slash:comments>36</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10184083</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx#comments</comments><description>&lt;p&gt;Updated 2011-11-28: Added reference to the walkthrough of &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx"&gt;using LocalDB in Visual Studio 2010&lt;/a&gt; and to the new &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/simple-installer-for-localdb-has-shipped.aspx"&gt;LocalDB Installer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Updated 2011-11-02: Added reference to &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;.NET Framework 4 support for LocalDB&lt;/a&gt; in the Q&amp;amp;A section.&lt;/p&gt;
&lt;h3&gt;Introduction&lt;/h3&gt;
&lt;p&gt;It gives me great pleasure to introduce a new version of SQL Express called SQL Express LocalDB.&lt;/p&gt;
&lt;p&gt;LocalDB is created specifically for developers. It is very easy to install and requires no management, yet it offers the same T-SQL language, programming surface and client-side providers as the regular SQL Server Express. In effect the developers that target SQL Server no longer have to install and manage a full instance of SQL Server Express on their laptops and other development machines. Moreover, if the simplicity (and limitations) of LocalDB fit the needs of the target application environment, developers can continue using it in production, as LocalDB makes a pretty good embedded database too.&lt;/p&gt;
&lt;h3&gt;Background&lt;/h3&gt;
&lt;p&gt;Before focusing on technical description of LocalDB, I'd like to provide some background on the direction we took building it.&lt;/p&gt;
&lt;p&gt;Today SQL Server Express serves two distinct needs. On one hand it is a free edition of SQL Server. The installation, management and programming of SQL Express in this role is expected to be 100% compatible with other editions. It can be used for learning, training and to run relatively small production database (with less than 10GB of data). Upgrade from SQL Express to paid SQL Server editions is a matter of typing in a license key and no installation is required.&lt;/p&gt;
&lt;p&gt;But SQL Express is also SQL Server edition for developers writing applications targeting SQL Server. In this role the programming of SQL Express is still expected to be 100% compatible with other SQL Server editions, but SQL Express is supposed to be small, simple, low-footprint, require no configuration or administration, run as non-admin user, etc.&lt;/p&gt;
&lt;p&gt;Our approach so far was to try to make SQL Express perform well in both roles. But as SQL Server product matured, and in effect added more complexity, it became harder and harder for SQL Express to be both compatible with other SQL Server editions and small/simple. The challenge is most visible in installation and configuration of SQL Express. In SQL Server "Denali" we decided to change the approach it and introduce a dedicated version of SQL Express for developers - LocalDB that delivers the simplicity and yet is compatible with other editions of SQL Server at the API level.&lt;/p&gt;
&lt;p&gt;Also, by making LocalDB a better SQL Express for developers, we hope to be able to improve the regular SQL Express to be a better free SQL Server. We'd be very happy to hear your feedback in this area, especially if you're using SQL Express as a database server and find any issues caused by the new features that were introduced to fit the needs of developers and desktop environment.&lt;/p&gt;
&lt;h3&gt;High-Level Overview&lt;/h3&gt;
&lt;p&gt;After the lengthy introduction it's time to take a look at LocalDB from the technical side. At a very high level, LocalDB has the following key properties:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;LocalDB uses the same sqlservr.exe as the regular SQL Express and other editions of SQL Server. The application is using the same client-side providers (ADO.NET, ODBC, PDO and others) to connect to it and operates on data using the same T-SQL language as provided by SQL Express.&lt;/li&gt;
&lt;li&gt;LocalDB is installed once on a machine (per major SQL Server version). Multiple applications can start multiple LocalDB processes, but they are all started from the same sqlservr.exe executable file from the same disk location.&lt;/li&gt;
&lt;li&gt;LocalDB doesn't create any database services; LocalDB processes are started and stopped automatically when needed. The application is just connecting to "Data Source=(localdb)\v11.0" and LocalDB process is started as a child process of the application. A few minutes after the last connection to this process is closed the process shuts down.&lt;/li&gt;
&lt;li&gt;LocalDB connections support AttachDbFileName property, which allows developers to specify a database file location. LocalDB will attach the specified database file and the connection will be made to it.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;LocalDB Instances&lt;/h3&gt;
&lt;p&gt;As we said before, at the heart of LocalDB is the same sqlservr.exe as in the regular SQL Express and other editions of SQL Server. In case of LocalDB, it is installed into one central location together with all necessary DLLs. By default it is located at "C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn".&lt;/p&gt;
&lt;p&gt;When an application uses any of the client-side providers (like ADO.NET, ODBC or PDO) to connect to "Data Source=(localdb)\v11.0", the provider will first check if LocalDB instance for the current user is started. If it's already started the application will connect to it. Otherwise the LocalDB instance for the current user will be started and then the provider proceeds to connect to it. Note that each user (Windows login) may have their own LocalDB instance that is isolated from instances of other users.&lt;/p&gt;
&lt;p&gt;To try LocalDB just use this connection string: "Data Source=(localdb)\v11.0;Integrated Security=true". Note that because the activation logic lives in the client-side provider, you need to install the latest one - SQL Server Native Client "Denali" (for ODBC and OLE DB) or the next .NET Framework (for ADO.NET). We are also shipping a QFE for .NET Framework 4 that adds the support for LocalDB to it (the updated .NET Framework 4 is already available, see &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;this post&lt;/a&gt; for details).&lt;/p&gt;
&lt;h3&gt;Database as a File&lt;/h3&gt;
&lt;p&gt;LocalDB connection strings support AttachDbFileName property that allows attaching a database file during the connection process. This lets developers work directly with databases instead of the database server. Assuming a database file (*.MDF file with the corresponding *.LDF file) is stored at "C:\MyData\Database1.mdf" the developer can start working with it by simply using the following connection string: "Data Source=(localdb)\v11.0;Integrated Security=true;AttachDbFileName=C:\MyData\Database1.mdf".&lt;/p&gt;
&lt;h3&gt;New Installer&lt;/h3&gt;
&lt;p&gt;In this CTP LocalDB is a shared feature of SQL Server Express available to try as an option during installation of any other version of SQL Express. Our ultimate goal is to offer LocalDB in a separate, simplified and smaller installer. We will keep you posted on our progress here.&lt;/p&gt;
&lt;h3&gt;LocalDB and User Instances of SQL Express&lt;/h3&gt;
&lt;p&gt;Users familiar with today's User Instances of SQL Server Express should feel right at home with LocalDB. In essence LocalDB offers the ability to create and start a "user instance" without the hassle of installing and maintaining the parent SQL Express instance. In that respect LocalDB could be seen as an upgrade of the User Instances feature of SQL Server Express.&lt;/p&gt;
&lt;p&gt;Let me also take this opportunity to remind everyone that User Instances are on a deprecation path since SQL Server 2008.&lt;/p&gt;
&lt;h3&gt;LocalDB and SQL Express&lt;/h3&gt;
&lt;p&gt;LocalDB is not a replacement for SQL Server Express -- it is an addition to SQL Server Express lineup. While LocalDB is meant for developers, the regular SQL Server Express will continue to exist as a free SQL Server edition, fully compatible with and easily upgradeable to higher SQL Server editions.&lt;/p&gt;
&lt;h3&gt;LocalDB and SQL Server Compact?&lt;/h3&gt;
&lt;p&gt;Small and simple database, lightweight installation, connecting to a database file -- this will sound familiar to any developer using SQL Server Compact. The similarities are not accidental, as our goal for LocalDB was to be as easy to use as SQL Server Compact (while being as powerful and compatible with full SQL Server as SQL Express).&lt;/p&gt;
&lt;p&gt;There are significant differences between LocalDB and SQL Server Compact:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Execution mode: SQL Server Compact is an in-proc DLL, while LocalDB runs as a separate process.&lt;/li&gt;
&lt;li&gt;Disk usage: all SQL Server Compact binaries amount to some 4MBs, while LocalDB installation takes 140MBs.&lt;/li&gt;
&lt;li&gt;Features: SQL Server Compact offers core RDBMS functionality like querying, while LocalDB provides a much richer set of features, including Stored Procedures, Geometry and Geography data types, etc.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Send us Your Feedback&lt;/h3&gt;
&lt;p&gt;Please share your feedback with us! Feel free to start a thread on &lt;a href="http://social.msdn.microsoft.com/Forums/sqlexpress/"&gt;SQL Express Forum&lt;/a&gt;, hit the "Email Author" button on this post or file a &lt;a href="http://connect.microsoft.com/SQLServer"&gt;Connect&lt;/a&gt; item!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Q&amp;amp;A&lt;/h3&gt;
&lt;p&gt;Thank you all for your feedback. Please read below for answers to your questions!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: You say that LocalDB runs as a separate process. However, the main SQL Server site states "LocalDB has all of the same programmability features as SQL Express, but runs in-process with applications". So which is it?&lt;/p&gt;
&lt;p&gt;A: LocalDB runs as a separate process - it does not run in-process. It does&amp;nbsp;however run in the same security context as the calling application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: Does SQL Express Denali still have the same memory limitations as that of SQL Server 2005 Express.&lt;/p&gt;
&lt;p&gt;A: The memory limitation has not changed for Denali. At Denali RTM, LocalDB will have the same memory limitations as Express.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: What is the difference between LocalDB and SQL Server Compact Edition?&lt;/p&gt;
&lt;p&gt;A: LocalDB is&amp;nbsp;the SQL Server database engine. As such it offers functionality&amp;nbsp;such as&amp;nbsp;online backup, transactions and data integrity.&amp;nbsp; LocalDB is designed for PCs but unlike Compact does not support small mobile devices like smart phones because of its hardware and disk requirements. Compact Edition is a shared file system database.&amp;nbsp; It is not fully API compatible with SQL Server and does not support the same level of data integrity. SQL Compact is also not supported by the PHP Driver and PDO.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: Where can I find the option to install LocalDB?&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: line-through;"&gt;A: You must install the SQL Server Express Edition and select LocalDB as a feature. You can unselect the Database Engine if you do not require SQL Server Express as a service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A: Starting from SQL Server 2012 RC0 LocalDB can be downloaded and installed separately, as described in &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/simple-installer-for-localdb-has-shipped.aspx"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: How do you actually create a LocalDB database?&lt;/p&gt;
&lt;p&gt;A: Connect to LocalDB and then use the usual T-SQL &amp;ldquo;CREATE DATABASE &amp;hellip;&amp;rdquo; command.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: Can LocalDB be a subscriber for merge replication?&lt;/p&gt;
&lt;p&gt;A: Merge replication is not supported by LocalDB.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: Can LocalDB be launched from a service?&lt;/p&gt;
&lt;p&gt;A: LocalDB can be launched from a service, as long as the profile is loaded for the service account.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: Installed OK, but how about a nice little VS2010 C# (working) sample for creating a LocalDB database?&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: line-through;"&gt;A: We are currently working on a sample application to illustrate the usage of LocalDB in C#.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A: Please see &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/11/28/using-localdb-in-visual-studio-2010.aspx"&gt;Using LocalDB in Visual Studio 2010&lt;/a&gt; for a sample walkthrough.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q: When will System.Data.SqlClient support LocalDB?&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: line-through;"&gt;A: LocalDB is planned to be supported with .NET 4.0 with a QFE (not yet shipped) and future versions of .NET&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A: LocalDB is supported by System.Data.SqlClient in .NET Framework 4 Update 4.0.2, as announced in &lt;a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/10/27/net-framework-4-now-supports-localdb.aspx"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10184083" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlexpress/archive/tags/localdb/">localdb</category></item><item><title>ClickOnce Bootstrapper for SQL Server 2008 R2 Express</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2011/03/30/clickonce-bootstrapper-for-sql-server-2008-r2-express.aspx</link><pubDate>Wed, 30 Mar 2011 20:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10147911</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10147911</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2011/03/30/clickonce-bootstrapper-for-sql-server-2008-r2-express.aspx#comments</comments><description>&lt;p style="FONT-FAMILY: "&gt;&lt;span style="font-family: helvetica;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: trebuchet ms,geneva;"&gt;I'd like to share this post about ClickOnce Bootstrapper for SQL Server 2008 R2 Express delivered for the community by Robin Shahan (RobinDotNet, MVP). It is great to see members of our community to step up and deliver where we failed to deliver. Thank you Robin!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://robindotnet.wordpress.com/2011/02/06/how-about-a-bootstrapper-package-for-sqlserver-express-2008-r2/" style="FONT-FAMILY: "&gt;&lt;span style="font-family: helvetica;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: trebuchet ms,geneva;"&gt;http://robindotnet.wordpress.com/2011/02/06/how-about-a-bootstrapper-package-for-sqlserver-express-2008-r2/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: trebuchet ms,geneva;"&gt;Disclaimer &amp;ndash; this ClickOnce bootstrapper package is not supported by Microsoft. You are using it at your own risk. Any comments, complaints or suggestions should be directed to the author.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: trebuchet ms,geneva;"&gt;- Krzysztof Kozielczyk&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: verdana,geneva;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: trebuchet ms,geneva;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10147911" width="1" height="1"&gt;</description></item><item><title>SQL Server 2008 R2 Express has been released</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2010/04/26/sql-server-2008-r2-express-has-been-released.aspx</link><pubDate>Mon, 26 Apr 2010 04:25:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10002335</guid><dc:creator>sqlexpress</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10002335</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2010/04/26/sql-server-2008-r2-express-has-been-released.aspx#comments</comments><description>&lt;p&gt;The final release of &lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/R2.aspx"&gt;SQL Server 2008 R2&lt;/a&gt; was made publically available on April 21, 2010! SQL Server Express continues to ship in 4 different packages. In this release of Express, we simplified the installation wizard. For the November CTP release, I documented the Express installation process at &lt;a title="http://blogs.msdn.com/petersad/archive/2009/11/13/how-to-install-sql-server-2008-r2-express-edition-november-ctp.aspx" href="http://blogs.msdn.com/petersad/archive/2009/11/13/how-to-install-sql-server-2008-r2-express-edition-november-ctp.aspx"&gt;http://blogs.msdn.com/petersad/archive/2009/11/13/how-to-install-sql-server-2008-r2-express-edition-november-ctp.aspx&lt;/a&gt;. The installation process has not changed since the November CTP, except some messages have been changed to indicate the final release.&lt;/p&gt;  &lt;p&gt;I posted more information about this release to &lt;a title="http://blogs.msdn.com/petersad/archive/2010/04/26/installing-sql-server-2008-r2-express.aspx" href="http://blogs.msdn.com/petersad/archive/2010/04/26/installing-sql-server-2008-r2-express.aspx"&gt;http://blogs.msdn.com/petersad/archive/2010/04/26/installing-sql-server-2008-r2-express.aspx&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10002335" width="1" height="1"&gt;</description></item><item><title>SQL Server 2008 R2 Express Database Size Limit Increased to 10GB</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2010/04/21/database-size-limit-increased-to-10gb-in-sql-server-2008-r2-express.aspx</link><pubDate>Wed, 21 Apr 2010 20:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10000286</guid><dc:creator>sqlexpress</dc:creator><slash:comments>19</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=10000286</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2010/04/21/database-size-limit-increased-to-10gb-in-sql-server-2008-r2-express.aspx#comments</comments><description>&lt;p&gt;
&lt;meta content="text/html; charset=utf-8" /&gt;
&lt;meta content="Word.Document" name="ProgId" /&gt;
&lt;meta content="Microsoft Word 12" name="Generator" /&gt;
&lt;meta content="Microsoft Word 12" name="Originator" /&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List" /&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData" /&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping" /&gt;

&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Great news for SQL Server Express users today! 
&lt;meta content="text/html; charset=utf-8" /&gt;
&lt;meta content="Word.Document" name="ProgId" /&gt;
&lt;meta content="Microsoft Word 12" name="Generator" /&gt;
&lt;meta content="Microsoft Word 12" name="Originator" /&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List" /&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData" /&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping" /&gt;

&lt;span style="font-size: 11pt; line-height: 115%; font-family: 'Calibri','sans-serif';"&gt;We increased the maximum database size in SQL Server 2008 R2 Express from 4GB to 10GB&lt;/span&gt;.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;You can try it out today &amp;ndash; just go to SQL Server 2008 R2 Download Page and select &amp;ldquo;SQL Server 2008 R2 Express&amp;rdquo; from the menu on the left side of the page:&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/R2Downloads.aspx"&gt;http://www.microsoft.com/sqlserver/2008/en/us/R2Downloads.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;h2&gt;FAQ&lt;/h2&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Is the database size limit increased in all editions of SQL Server 2008 R2 Express?&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Yes, SQL Server 2008 R2 Express with Tools and SQL Server 2008 R2 Express with Advanced Services will allow 10GB databases as well.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;What about CPU and memory limits? Are any other limits changed in SQL Server 2008 R2 Express?&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;No, the database size limit is the only limit we updated in SQL Server 2008 R2 Express.&amp;nbsp; SQL Server 2008 R2 Express is still limited to 1 CPU and 1 GB or RAM.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Was the database size limit changed for previous versions of SQL Server Express?&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;No, the database size limit in previous versions of SQL Server Express (including SQL Server 2005 Express and SQL Server 2008 Express) stays unchanged at 4GB.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;- Krzysztof Kozielczyk, Program Manager for SQL Server Express&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10000286" width="1" height="1"&gt;</description></item><item><title>How to take ownership of your local SQL Server 2008 Express</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2010/02/23/how-to-take-ownership-of-your-local-sql-server-2008-express.aspx</link><pubDate>Wed, 24 Feb 2010 01:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9968406</guid><dc:creator>sqlexpress</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9968406</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2010/02/23/how-to-take-ownership-of-your-local-sql-server-2008-express.aspx#comments</comments><description>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" mce_href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" mce_href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"&gt;
&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" mce_href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;/style&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;p&gt;Ward Beattie, one of our developers, has published a nice &lt;a href="http://code.msdn.microsoft.com/addselftosqlsysadmin/" mce_href="http://code.msdn.microsoft.com/addselftosqlsysadmin/"&gt;script&lt;/a&gt; that
allows you to get sysadmin privilege to your local SQL Server Express instance.
Obviously, you need to have administrative rights on your machine or access to
an account that does. &lt;/p&gt;

&lt;p&gt;The script can be very useful in the following situation:&lt;/p&gt;

&lt;p&gt;When Visual Studio 2010 RC is installed by one user and
being used by another user, the second user is unable to create databases,
tables and other objects in SQL Server 2008 Express instance that is installed
by Visual Studio 2010 RC. This is because only the user who installed SQL
Server 2008 Express is granted sysadmin role in the SQL Server 2008 Express. So
even if the second user has administrative privileges to her machine, she will
not be able to manage the local SQL Server 2008 Express instance.&lt;/p&gt;

&lt;p&gt;If this is your problem, just run &lt;a href="http://code.msdn.microsoft.com/addselftosqlsysadmin/" mce_href="http://code.msdn.microsoft.com/addselftosqlsysadmin/"&gt;Ward's script&lt;/a&gt;
and become the master of your SQL Server 2008 Express!&lt;/p&gt;

&lt;h3&gt;Some Background&lt;/h3&gt;

&lt;p&gt;As surprising as it may seem at first, it all makes sense, when
we think about it a little bit deeper. The user who installs SQL Server 2008 Express
is granted sysadmin role during the installation. There is no way SQL Server
2008 Express could guess who else may be developing database applications and
we certainly wouldn't like to give administrative access to the SQL Server
instance to everyone J.&lt;/p&gt;

&lt;p&gt;In the past (SQL Server 2005 Express) we were also granting
sysadmin role to local Administrators group. But this doesn't help on Windows
Vista and above, because User Account Control (UAC) is hiding the
Administrators group from the security token assigned to the Visual Studio
process. In order to be able to create database objects every Windows Vista or
above user would have to run Visual Studio in elevated mode ("Run as
Administrator"), which is not recommended (and inconvenient).&lt;/p&gt;

&lt;p&gt;So the second user in our example has basically two options.
She can ask the first user - the one who installed SQL Server 2008 Express - to
grant sysadmin rights to her. Note that unless the first user is familiar with
managing SQL Server security via T-SQL scripts, the task is not straightforward
and may require installing SQL Server Management Studio Express on the target
machine. &lt;/p&gt;

&lt;p&gt;If the second user is a local administrator (or can get help
from one), she has one more option available. She could follow steps for SQL
Server administrator password recovery described by Raul Garcia &lt;a href="http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx" mce_href="http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx"&gt;here&lt;/a&gt;.
She could then automate those steps in a form of a command script that could be
reused next time she finds herself without access to her local SQL Server 2008
Express.&lt;/p&gt;

&lt;p&gt;Or even better, she could just use Ward's script that does
the automation of administrator account recovery steps for her&lt;/p&gt;

&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;


&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9968406" width="1" height="1"&gt;</description></item><item><title>Visual Studio 2010 Release Candidate is shipped!</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2010/02/11/visual-studio-2010-release-candidate-is-shipped.aspx</link><pubDate>Thu, 11 Feb 2010 23:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9962340</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9962340</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2010/02/11/visual-studio-2010-release-candidate-is-shipped.aspx#comments</comments><description>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"&gt;&lt;link href="file:///C:%5CUsers%5Ckrkozie%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val="Cambria Math"/&gt;
   &lt;m:brkBin m:val="before"/&gt;
   &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;
   &lt;m:smallFrac m:val="off"/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val="0"/&gt;
   &lt;m:rMargin m:val="0"/&gt;
   &lt;m:defJc m:val="centerGroup"/&gt;
   &lt;m:wrapIndent m:val="1440"/&gt;
   &lt;m:intLim m:val="subSup"/&gt;
   &lt;m:naryLim m:val="undOvr"/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267"&gt;
  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;
  &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;
  &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;
  &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;
  &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;
  &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;
  &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;
  &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;
  &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;
  &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;
  &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;
  &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;
  &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;
  &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:1;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:238;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:"";
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	mso-themecolor:hyperlink;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-noshow:yes;
	mso-style-priority:99;
	color:purple;
	mso-themecolor:followedhyperlink;
	text-decoration:underline;
	text-underline:single;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;p class="MsoNormal"&gt;Visual Studio 2010 Release Candidate is available for
download. Congratulations to the Visual Studio team! You can get it here:&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;a href="http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx"&gt;http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx&lt;/a&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;From SQL Server Express’ point of view, Visual Studio 2010
brings two changes:&lt;/p&gt;

&lt;p class="MsoNormal"&gt;First, .NET Framework 4 support I described in the previous &lt;a href="http://blogs.msdn.com/sqlexpress/archive/2009/12/09/sql-server-express-and-net-4.aspx"&gt;post&lt;/a&gt;,
which allows you to build .NET Framework 4 applications that use and install
SQL Server Express without forcing the end user to install two .NET Framework
versions.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;Second, ClickOnce bootstrapper now installs SQL Server 2008
Express with SP1. ClickOnce applications using SQL Server Express will no
longer result in a compatibility &lt;a href="http://blogs.msdn.com/sqlexpress/archive/2009/05/14/installing-sql-server-express-on-windows-7-release-candidate.aspx"&gt;warning&lt;/a&gt;.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;- Krzysztof Kozielczyk&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9962340" width="1" height="1"&gt;</description></item><item><title>SQL Server Express and .NET Framework 4</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/12/09/sql-server-express-and-net-4.aspx</link><pubDate>Wed, 09 Dec 2009 19:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934773</guid><dc:creator>sqlexpress</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9934773</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/12/09/sql-server-express-and-net-4.aspx#comments</comments><description>&lt;p&gt;[update 1/17/2012: Fixed formatting and clarified all&amp;nbsp;comments apply to all future Service Packs of SQL Server 2008 Express and SQL Server 2008 R2 Express]&lt;/p&gt;
&lt;p&gt;[update 4/28/2010: All comments in this post apply to .NET Framework 4 RTM and to SQL Server 2008 R2 Express]&lt;/p&gt;
&lt;p&gt;We have just shipped a new package of SQL Server 2008 Express SP1 that supports .NET Framework 4 Beta 2, extending the range of .NET Framework versions supported by SQL Server 2008 Express SP1 to .NET 2.0 SP2, 3.5 SP1 and 4 Beta 2.&lt;/p&gt;
&lt;p&gt;The reason for this change is that Visual Studio 2010 Beta 2 ships with .NET Framework 4 Beta 2. It also distributes SQL Server 2008 Express, which originally required .Net 2.0 SP2 or 3.5 SP1. As a result Visual Studio team had to include two versions of .NET Framework in Visual Studio 2010 Beta 2 because of SQL Server 2008 Express &amp;ndash; not the best user experience :-). Obviously that will also apply to any applications that will want to use the new .NET 4 Beta 2 and SQL Server 2008 Express; with the new package they will avoid having a dependency on two .NET versions!&lt;/p&gt;
&lt;p&gt;We decided to find a way to add .NET Framework 4 Beta 2 support in SP1 for SQL Server 2008 Express. The biggest challenge was that .NET 4 Beta 2 was still under development when we were shipping the SP1 for SQL Server 2008. So we added the code to support .NET Framework 4 in SP1, but blocked the code in the initial release. We waited for .NET Framework 4 Beta 2 bits to stabilize and then verified it again that SQL Server 2008 Express SP1 works well with .NET Framework 4 Beta 2. Only now do we feel we&amp;rsquo;re ready to release the package of SQL Server 2008 Express SP1 that has the .NET Framework 4 Beta 2 support unblocked.&lt;/p&gt;
&lt;p&gt;Another problem we realized was that SQL Server Engine can host only one version of .NET Framework (I mean SQL Server .NET Integration aka SQLCLR). So hosting .NET Framework 4 Beta 2 in SQL Server Engine means it cannot host .NET Framework 3.5 SP1. That would be breaking change, something we never do, especially in Service Packs. We want to make sure that our Service Packs never break any users&amp;rsquo; applications. So we looked at the SQL Server 2008 Express and concluded that even without SQLCLR-based features it provides tons of valuable functionality. Therefore, we decided that SQL Server 2008 Express SP1 will install with .NET Framework 4 Beta 2, but will only host .NET Framework versions based on CLR 2.0 &amp;ndash; .NET 2.0 SP2 and 3.5 SP1. The good part is that when SQL Server 2008 Express is installed with .NET Framework 4 Beta 2 only, nothing is lost. The user can just install .NET Framework 2.0 SP2 or 3.5 SP1 and all SQLCLR-based functionality will just start working.&lt;/p&gt;
&lt;h2&gt;Q &amp;amp; A&lt;/h2&gt;
&lt;p&gt;Here&amp;rsquo;s more information about this package, in the form of a Q&amp;amp;A list.&lt;/p&gt;
&lt;h3&gt;Does new SQL Server Express package install with old .NET Framework (2.0 SP2 or 3.5 SP1)?&lt;/h3&gt;
&lt;p&gt;Yes, the new package installs with .NET Framework 2.0 SP2 or 3.5 SP1 or 4 Beta 2. We added .NET Framework 4 Beta 2 as a new option without removing any of the existing options.&lt;/p&gt;
&lt;h3&gt;Will it work with .NET Framework 4 RTM?&lt;/h3&gt;
&lt;p&gt;Yes, the new package will work with .NET Framework 4 RTM once it ships.&lt;/p&gt;
&lt;h3&gt;Does all SQL Server Express functionality work with .NET Framework 4 Beta 2?&lt;/h3&gt;
&lt;p&gt;No, there are few features that still require .NET Framework 2.0 SP2 or 3.5 SP1. These features will be disabled if .NET Framework 4 Beta 2 is the only .NET Framework on the machine, but will start working the moment .NET Framework 2.0 SP2 or 3.5 SP1 is installed.&lt;/p&gt;
&lt;p&gt;The list of features that don&amp;rsquo;t work with .NET Framework 4 Beta 2:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The CLR data types &lt;b&gt;geometry&lt;/b&gt;, &lt;b&gt;geography&lt;/b&gt;, and &lt;b&gt;hierarchyid&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;The dynamic management views for assemblies and spatial objects.&lt;/li&gt;
&lt;li&gt;The CLR user-defined types, functions, aggregates, procedures, and triggers.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Why some features don&amp;rsquo;t work with .NET Framework 4?&lt;/h3&gt;
&lt;p&gt;SQL Server Engine can only host one version of .NET Framework. In SQL Server 2008 it is .NET Framework 3.5 SP1. So hosting .NET Framework 4 Beta 2 in SP1 would mean that we no longer host .NET Framework 3.5 SP1. We simply don&amp;rsquo;t do this kind of breaking changes, since we try very hard to make sure that our Service Packs do not break any applications.&lt;/p&gt;
&lt;h3&gt;Do all SQL Server editions support .NET Framework 4 Beta 2?&lt;/h3&gt;
&lt;p&gt;No, the .NET Framework 4 Beta 2 support is only available in the Express edition (in Runtime Only package).&lt;/p&gt;
&lt;h3&gt;Do all SQL Server Express editions support .NET Framework 4 Beta 2?&lt;/h3&gt;
&lt;p&gt;No, the .NET Framework 4 Beta 2 support is only available in the Express (Runtime Only) edition. SQL Server 2008 Express with Tools and SQL Server 2008 Express with Advanced Services still require .NET Framework 3.5 SP1.&lt;/p&gt;
&lt;h3&gt;What are the functional differences between original SP1 and the new one with .NET Framework 4 support?&lt;/h3&gt;
&lt;p&gt;There are no differences. We put all the code necessary to support .NET Framework 4 Beta 2 in the original release of SQL Server 2008 Express SP1, the code was just blocked. In this new package we just unblocked the code allowing for working with .NET Framework 4 Beta 2.&lt;/p&gt;
&lt;h3&gt;Are the any other changes to the prerequisites of this package?&lt;/h3&gt;
&lt;p&gt;No, all other prerequisites of this SQL Express 2008 SP1 package are the same as the original one. The only change in the prerequisites of this package is that it supports .NET 4 Framework Beta 2, in addition to .NET Framework 2.0 SP2 and 3.5 SP1 supported by the original and the new ones.&lt;/p&gt;
&lt;h3&gt;Is the original SQL Server 2008 Express SP1 replaced by the new one?&lt;/h3&gt;
&lt;p&gt;No, both SP1 packages are available and valid. Feel free to use any of them, as I said, apart from .NET Framework 4 Beta 2 support, they are identical.&lt;/p&gt;
&lt;h3&gt;Why didn&amp;rsquo;t we ship .NET Framework 4 support in the original SQL Server 2008 Express SP1?&lt;/h3&gt;
&lt;p&gt;When we shipped the SP1 for SQL Server 2008, .NET Framework 4 Beta 2 was still under development. We had to wait for the final version of .NET Framework 4 Beta 2 to test the Express SP1 with it and make sure they work well together.&lt;/p&gt;
&lt;p&gt;Example: Imagine we just shipped SP1 with .NET Framework 4 Beta 2 support. Then imagine a week later we discovered a security issue in .NET Framework 4 Beta 2. Say the fix to this bug breaks SQL Server Express Setup. Our policy is that security issues take precedence before any other problems, so we would have fixed the security bug and break the SQL Server Setup. That would put many people (including myself) in a really bad place! :-)&lt;/p&gt;
&lt;h3&gt;Is there something wrong with the original SQL Server 2008 Express SP1?&lt;/h3&gt;
&lt;p&gt;No, as I said, both packages are identical (apart from .NET Framework 4 support). And we&amp;rsquo;re keeping both packages available on Microsoft Download Center, so if some application already depends on the original package&lt;/p&gt;
&lt;h3&gt;Will future Service Packs of SQL Server Express have two versions as well (one with .NET Framework 4 support and one without it)?&lt;/h3&gt;
&lt;p&gt;No, going forward all Service Packs for SQL Server 2008 Express and SQL Server 2008 R2 Express wil support .NET Framework 4.&lt;/p&gt;
&lt;h3&gt;Is there a new package for the general Service pack 1 for SQL Server 2008 (the one that can patch SQL Server Standard edition and above)?&lt;/h3&gt;
&lt;p&gt;No, there will be no special package for the general SQL Server 2008 Service Pack 1. .NET Framework 4 Beta 2 support is only available in the Express edition of SQL Server 2008 SP1, so updating the general SP1 package wouldn&amp;rsquo;t make any sense.&lt;/p&gt;
&lt;h3&gt;How can I get the new SQL Server 2008 SP1 with .NET Framework 4 Beta 2 support package?&lt;/h3&gt;
&lt;p&gt;The most natural place to get SQL Server 2008 Express SP1 with .NET Framework 4 support is &amp;hellip; Visual Studio 2010 Beta 2. Just go &lt;a href="http://www.microsoft.com/visualstudio/en-us/products/2010/" mce_href="http://www.microsoft.com/visualstudio/en-us/products/2010/"&gt;here&lt;/a&gt; and install Visual Studio 2010 Beta 2 with SQL Server 2008 Express SP1.&lt;/p&gt;
&lt;p&gt;Obviously, we&amp;rsquo;re also planning to include it in the final release of Visual Studio 2010.&lt;/p&gt;
&lt;p&gt;You can also download it directly from Microsoft Download Center here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=01af61e6-2f63-4291-bcad-fd500f6027ff&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=01af61e6-2f63-4291-bcad-fd500f6027ff&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=01af61e6-2f63-4291-bcad-fd500f6027ff&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p&gt;- Krzysztof Kozielczyk&lt;/p&gt;
&lt;p mce_keep="true"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9934773" width="1" height="1"&gt;</description></item><item><title>SQL Server 2008 R2 November CTp Is released</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/11/13/sql-server-2008-r2-november-ctp-is-released.aspx</link><pubDate>Fri, 13 Nov 2009 05:28:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9921764</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9921764</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/11/13/sql-server-2008-r2-november-ctp-is-released.aspx#comments</comments><description>&lt;p&gt;With the release of the &lt;strong&gt;SQL Server 2008 R2 November CTP&lt;/strong&gt;, we have simplified the &lt;u&gt;SQL Server Express&lt;/u&gt; (all editions and package) installation process.&amp;#160; In this release, we have completed the following:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Reduced the number of clicks by 50% when performing an install. &lt;/li&gt;    &lt;li&gt;All inputs are defaulted on Vista and above operating systems.&amp;#160; (many inputs are defaults on Windows XP and Windows 2003, except for the service accounts) &lt;/li&gt;    &lt;li&gt;Skip (auto advance) through the UI, meaning non-essential dialogs will still be skipped. &lt;/li&gt;    &lt;li&gt;Reduced the size of the Express basic package &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;See &lt;a title="http://blogs.msdn.com/petersad/archive/2009/11/13/how-to-install-sql-server-2008-r2-express-edition-november-ctp.aspx" href="http://blogs.msdn.com/petersad/archive/2009/11/13/how-to-install-sql-server-2008-r2-express-edition-november-ctp.aspx"&gt;http://blogs.msdn.com/petersad/archive/2009/11/13/how-to-install-sql-server-2008-r2-express-edition-november-ctp.aspx&lt;/a&gt; for step-by-step instructions on how to install.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9921764" width="1" height="1"&gt;</description></item><item><title>Embedding SQL Server Express Survey</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/09/08/embedding-sql-server-express-survey.aspx</link><pubDate>Tue, 08 Sep 2009 22:03:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9892751</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9892751</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/09/08/embedding-sql-server-express-survey.aspx#comments</comments><description>&lt;p&gt;Microsoft is committed to making the SQL Server the best database in the industry for embedding with your application. For us to achieve this goal, we need your candid feedback on your experience with embedding SQL Server Express.&amp;#160; If you have used several different versions of SQL Server Express, focus on the latest version that you have used.&amp;#160; When SQL Server 2008 Customer Technical Preview 3 is released, feel free to complete this survey again since several installation improvements have been made.&amp;#160; This information will be used to improve our future releases including SQL Server 2008 R2 and SQL Server 11.&amp;#160; This survey will be available until the end of November.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Instructions:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;To register for the ISVs embedding SQL Express Survey, &lt;a href="http://connect.microsoft.com/InvitationUse.aspx?ProgramID=3770&amp;amp;SiteID=68&amp;amp;InvitationID=ISV-Y8PB-FDMG"&gt;follow this link&lt;/a&gt;.*&amp;#160;&amp;#160; Once your registration is complete, &lt;a href="https://sharepoint.connect.microsoft.com/SQLServer/Lists/ISVs%20embedding%20SQL%20Express/overview.aspx"&gt;click here&lt;/a&gt; and then click on “Respond to this Survey” to complete the profile.&lt;/p&gt;  &lt;p&gt;&lt;i&gt;*If you are already registered on Microsoft Connect, visiting the link will prompt you to login with the Windows Live ID e-mail address associated with your account (note that the email address we used to contact you regarding this invitation is not necessarily your account e-mail address). If you are not already registered on Microsoft Connect, visiting the link above will prompt you to register.&lt;/i&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9892751" width="1" height="1"&gt;</description></item><item><title>General SQL Server Express Survey</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/09/08/general-sql-server-express-survey.aspx</link><pubDate>Tue, 08 Sep 2009 21:58:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9892748</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9892748</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/09/08/general-sql-server-express-survey.aspx#comments</comments><description>&lt;p&gt;Microsoft is committed to making the SQL Server Express installation experience the best in industry. For us to achieve this goal, we need your candid feedback on your experience with installing SQL Server Express.&amp;#160; If you have used several different versions of SQL Server Express, focus on the latest version that you have used.&amp;#160; When SQL Server 2008 Customer Technical Preview 3 is released, feel free to complete this survey again since several installation improvements have been made.&amp;#160; This information will be used to improve our future releases including SQL Server 2008 R2 and SQL Server 11.&amp;#160; This survey will be available until the end of November.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Instructions:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;To register for the General Express Usage Survey, &lt;a href="http://connect.microsoft.com/InvitationUse.aspx?ProgramID=3769&amp;amp;SiteID=68&amp;amp;InvitationID=GEN-DH8H-QC8B"&gt;follow this link&lt;/a&gt;.*&amp;#160;&amp;#160; Once your registration is complete, &lt;a href="https://sharepoint.connect.microsoft.com/SQLServer/Lists/General%20Express%20Usage/overview.aspx"&gt;click here&lt;/a&gt; and then click on “Respond to this Survey” to complete the profile.&lt;/p&gt;  &lt;p&gt;&lt;i&gt;*If you are already registered on Microsoft Connect, visiting the link will prompt you to login with the Windows Live ID e-mail address associated with your account (note that the email address we used to contact you regarding this invitation is not necessarily your account e-mail address). If you are not already registered on Microsoft Connect, visiting the link above will prompt you to register.&lt;/i&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9892748" width="1" height="1"&gt;</description></item><item><title>ClickOnce bootstrapper for SQL Server 2008 Express with Tools</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/09/03/clickonce-bootstrapper-for-sql-server-2008-express-with-tools.aspx</link><pubDate>Thu, 03 Sep 2009 22:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891049</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9891049</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/09/03/clickonce-bootstrapper-for-sql-server-2008-express-with-tools.aspx#comments</comments><description>&lt;P style="LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt"&gt;I’d like to share the link to a blog post by Brock Weaver, where he explains how to add SQL Server 2008 Express with Tools to the list of prerequisites for ClickOnce packages:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt"&gt;&lt;A href="http://youarenotexpectedtounderstandthis.blogspot.com/2009/08/vsnet-2008-prerequisite-for-sql-server.html" mce_href="http://youarenotexpectedtounderstandthis.blogspot.com/2009/08/vsnet-2008-prerequisite-for-sql-server.html"&gt;http://youarenotexpectedtounderstandthis.blogspot.com/2009/08/vsnet-2008-prerequisite-for-sql-server.html&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt"&gt;It is great to see people from the community extend our platform! Thanks Brock! That’s what we always hope for and that’s why we always try to design our software in an open and extensible fashion.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt"&gt;Disclaimer – this ClickOnce bootstrapper package is not supported by Microsoft. You are using it at your own risk. Any comments, complaints or suggestions should be directed to the author.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt"&gt;-&amp;nbsp; Krzysztof Kozielczyk&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9891049" width="1" height="1"&gt;</description></item><item><title>Microsoft SQL Server 2008 R2 August CTP</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/08/14/microsoft-sql-server-2008-r2-august-ctp.aspx</link><pubDate>Fri, 14 Aug 2009 07:42:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9869339</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9869339</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/08/14/microsoft-sql-server-2008-r2-august-ctp.aspx#comments</comments><description>&lt;p&gt;The August CTP of Microsoft SQL Server 2008 R2 is now published: &lt;a title="http://technet.microsoft.com/en-us/evalcenter/ee315247.aspx" href="http://technet.microsoft.com/en-us/evalcenter/ee315247.aspx"&gt;http://technet.microsoft.com/en-us/evalcenter/ee315247.aspx&lt;/a&gt;. Give it a try and give us feedback!!!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This release does not have many changes around the Express when compared to SQL Server 2008.&amp;#160; But the &lt;em&gt;next CTP &lt;/em&gt;will contains several improvements as a result of your feedback. Here are some of the changes that will be in the SQL Server 2008 R2 Express product:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The Express runtime package is smaller &lt;/li&gt;    &lt;li&gt;Setup UI Changes      &lt;ul&gt;       &lt;li&gt;&lt;strong&gt;All user input defaulted (Vista and above):&lt;/strong&gt; Therefore you can just click Next through the Installation Wizard. Less choices means better chance for success. &lt;/li&gt;        &lt;li&gt;&lt;strong&gt;All features selected by default:&lt;/strong&gt; &lt;/li&gt;        &lt;li&gt;&lt;strong&gt;Number of clicks and screens:&lt;/strong&gt; The number of steps or clicks to install have been reduced by 50%. &lt;/li&gt;        &lt;li&gt;&lt;strong&gt;Pre-reqs:&lt;/strong&gt; Clearer messaging whether .NET or MSI needs to be installed before proceeding with the installation and a direct link to the download &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9869339" width="1" height="1"&gt;</description></item><item><title>Troubleshooting .NET 2.0/3.5 Installation errors</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/08/10/troubleshooting-net-2-0-3-5-installation-errors.aspx</link><pubDate>Tue, 11 Aug 2009 01:36:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9863587</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9863587</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/08/10/troubleshooting-net-2-0-3-5-installation-errors.aspx#comments</comments><description>&lt;p&gt;The installation of .NET 3.5 can fail for several reasons. Sometimes the .NET 3.5 install fails and sometime SQL Server Setup fails to detect .NET is already on the machine.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If you view the %temp%\sqlsetup.log you can determine whether the .NET 3.5 installation failed or SQL Server Setup incorrectly detected .NET was already installed.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here is an example were .NET 3.5 SP1 failed to install.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;05/21/2008 07:32:55.750 ======================================================================      &lt;br /&gt;05/21/2008 07:32:55.765 Setup launched       &lt;br /&gt;05/21/2008 07:32:55.765 Attempting to determine media source       &lt;br /&gt;05/21/2008 07:32:55.765 Media source value not specified on command line argument.       &lt;br /&gt;05/21/2008 07:32:55.765 Setup is launched from media directly so default the value to the current folder.       &lt;br /&gt;05/21/2008 07:32:55.765 Media source: \\sqlbuilds\Improvements\clusterRefresh\10.00.1441.12\retail\SQLFULL_ENU\       &lt;br /&gt;05/21/2008 07:32:55.765 Attempt to determine media layout based on file '\\sqlbuilds\Improvements\clusterRefresh\10.00.1441.12\retail\SQLFULL_ENU\mediainfo.xml'.       &lt;br /&gt;05/21/2008 07:32:55.796 Media layout is detected as: Full       &lt;br /&gt;05/21/2008 07:32:55.796 Local setup.exe not found, so continuing to run setup.exe from media.       &lt;br /&gt;05/21/2008 07:32:55.796 /? or /HELP or /ACTION=HELP specified: false       &lt;br /&gt;05/21/2008 07:32:55.796 Help display: false       &lt;br /&gt;05/21/2008 07:32:55.796 Checking to see if we need to install .Net version 3.5       &lt;br /&gt;05/21/2008 07:32:55.796 .Net version 3.5 needs to be installed from media: \\sqlbuilds\Improvements\clusterRefresh\10.00.1441.12\retail\SQLFULL_ENU\       &lt;br /&gt;05/21/2008 07:32:55.796 Attempting to find media for .Net version 3.5       &lt;br /&gt;05/21/2008 07:32:55.796 Attempting to install .Net version 3.5       &lt;br /&gt;&lt;strong&gt;05/21/2008 07:35:36.725 Received exit code -1073741818 from installing .Net version 3.5        &lt;br /&gt;05/21/2008 07:35:36.725 .Net version 3.5 installation failed, so setup will close. Error code: -1073741818&lt;/strong&gt;       &lt;br /&gt;05/21/2008 07:35:36.725 Setup closed with exit code: 0x84C40013       &lt;br /&gt;05/21/2008 07:35:36.725 ======================================================================&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;When .NET failed to install, your next step is to look at the .NET log files. The logs produced by the .NET Framework 3.5 setup wrapper:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;%temp%\dd_dotnetfx35install.txt &lt;/li&gt;    &lt;li&gt;%temp%\dd_dotnetfx35error.txt &lt;/li&gt;    &lt;li&gt;%temp%\dd_depcheck_netfx*.txt &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You should review these log to determine the cause for failure. If you still need help look at these resources:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/astebner/archive/2007/07/31/4156781.aspx"&gt;http://blogs.msdn.com/astebner/archive/2007/07/31/4156781.aspx&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Post the error to &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads"&gt;http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;How to: View SQL Server Setup Log Files: &lt;a href="http://msdn.microsoft.com/en-us/library/ms143702.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms143702.aspx&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Troubleshooting an Installation of SQL Server: &lt;a href="http://msdn.microsoft.com/en-us/library/ms143698.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms143698.aspx&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9863587" width="1" height="1"&gt;</description></item><item><title>Installing SQL Server Express through the Web Platform Installer</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/08/03/installing-sql-server-express-through-the-web-platform-installer.aspx</link><pubDate>Tue, 04 Aug 2009 01:07:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9856564</guid><dc:creator>sqlexpress</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9856564</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/08/03/installing-sql-server-express-through-the-web-platform-installer.aspx#comments</comments><description>&lt;p&gt;This topic will be expanded in the near future, but currently is a placeholder. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9856564" width="1" height="1"&gt;</description></item><item><title>SQL Server 2008 Express Edition will be updated through Automatic Update</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/07/30/sql-server-2008-express-edition-will-be-updated-through-automatic-update.aspx</link><pubDate>Fri, 31 Jul 2009 01:20:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9853816</guid><dc:creator>sqlexpress</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9853816</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/07/30/sql-server-2008-express-edition-will-be-updated-through-automatic-update.aspx#comments</comments><description>&lt;p&gt;Starting in September, we are considering automatically updating SQL Server 2008 including all Express Edition to Service Pack 1 (SP1). See &lt;a title="http://blogs.msdn.com/petersad/archive/2009/07/30/sql-server-2008-service-pack-sp-1-on-microsoft-update-as-a-required-automatic-update.aspx" href="http://blogs.msdn.com/petersad/archive/2009/07/30/sql-server-2008-service-pack-sp-1-on-microsoft-update-as-a-required-automatic-update.aspx"&gt;http://blogs.msdn.com/petersad/archive/2009/07/30/sql-server-2008-service-pack-sp-1-on-microsoft-update-as-a-required-automatic-update.aspx&lt;/a&gt; for details.&lt;/p&gt;  &lt;p&gt;Provide us feedback on this change.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9853816" width="1" height="1"&gt;</description></item><item><title>“Embedding SQL Server 2008 Express in an Application” technical Article</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/07/08/embedding-sql-server-2008-express-in-an-application-technical-article.aspx</link><pubDate>Thu, 09 Jul 2009 06:40:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9825511</guid><dc:creator>sqlexpress</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9825511</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/07/08/embedding-sql-server-2008-express-in-an-application-technical-article.aspx#comments</comments><description>&lt;p&gt;We recently published a technical article on how to embed and run SQL Server 2008 Express in unattended mode. The article is at &lt;a title="http://msdn.microsoft.com/en-us/library/dd981032.aspx" href="http://msdn.microsoft.com/en-us/library/dd981032.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd981032.aspx&lt;/a&gt;. We expect to revise this article at a later point in time. To ensure we continually improve the Express embedding experience, please provide us feedback. You can provide your feedback through this blog site or through the Microsoft connect site at &lt;a title="https://connect.microsoft.com/SQLServer/Feedback" href="https://connect.microsoft.com/SQLServer/Feedback"&gt;https://connect.microsoft.com/SQLServer/Feedback&lt;/a&gt;.&amp;#160; It is preferable to submit through &lt;a title="https://connect.microsoft.com/SQLServer/Feedback" href="https://connect.microsoft.com/SQLServer/Feedback"&gt;https://connect.microsoft.com/SQLServer/Feedback&lt;/a&gt; to ensure we capture and track the feedback.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9825511" width="1" height="1"&gt;</description></item><item><title>How should I Install SQL Server 2008</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/06/15/installing-sql-server-2008-guidance.aspx</link><pubDate>Mon, 15 Jun 2009 22:54:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9756202</guid><dc:creator>sqlexpress</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9756202</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/06/15/installing-sql-server-2008-guidance.aspx#comments</comments><description>&lt;p&gt;There are two options for installing SQL Server 2008 Express.&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;1. &lt;/font&gt;&lt;strong&gt;&lt;font size="4"&gt;Basic:&lt;/font&gt; &lt;/strong&gt;Choose this option to install SQL Server Express with minimal effort by using the Web Platform Installer and a pre-defined defaults. Visit &lt;a href="http://www.microsoft.com/express/sql/download/"&gt;SQL Server Express download page&lt;/a&gt; to perform a basic install.&amp;#160; &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;The Microsoft Web Platform Installer will only perform an installation will all features with an Instance Name called “SQLExpress”.&amp;#160; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font size="4"&gt;2. &lt;strong&gt;Customize&lt;/strong&gt;&lt;/font&gt;: If you need to customize the installation or install on a Domain Controller, you can obtain SQL Server Express from the Microsoft Download Center. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Here are the Express editions available for manual download:&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;table border="1" cellspacing="0" cellpadding="0" width="503"&gt;&lt;tbody&gt;       &lt;tr height="20"&gt;         &lt;td valign="top" width="271"&gt;           &lt;p align="center"&gt;&lt;strong&gt;&lt;font size="4"&gt;Express Package&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="76"&gt;&lt;strong&gt;&lt;font size="1"&gt;If your system is?&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;          &lt;td valign="top" width="87"&gt;&lt;strong&gt;&lt;font size="1"&gt;If your system is?&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;          &lt;td valign="top" width="67"&gt;&lt;strong&gt;&lt;font size="1"&gt;If your system is?&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="271"&gt;           &lt;p align="left"&gt;Microsoft® SQL Server® 2008 Express Edition with Service Pack 1&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="76"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/8/E/5/8E53FAA8-1129-4621-903F-3F8DB6D066AC/SQLEXPR32_x86_ENU.exe"&gt;X86&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="87"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/8/E/5/8E53FAA8-1129-4621-903F-3F8DB6D066AC/SQLEXPR_x64_ENU.exe"&gt;X64&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="67"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/8/E/5/8E53FAA8-1129-4621-903F-3F8DB6D066AC/SQLEXPR_x86_ENU.exe"&gt;WOW64&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="271"&gt;           &lt;p align="left"&gt;Microsoft® SQL Server® 2008 Express with Tools&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="76"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/7/9/4/794bfafa-aea7-45d4-a6ea-4e92f09918e3/SQLEXPRWT_x86_ENU.exe"&gt;X86&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="87"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/7/9/4/794bfafa-aea7-45d4-a6ea-4e92f09918e3/SQLEXPRWT_x64_ENU.exe"&gt;X64&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="67"&gt;           &lt;p align="center"&gt;.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="271"&gt;           &lt;p align="left"&gt;Microsoft® SQL Server® 2008 Express with Advanced Services&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="76"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/e/9/b/e9bcf5d7-2421-464f-94dc-0c694ba1b5a4/SQLEXPRADV_x86_ENU.exe"&gt;X86&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="87"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/e/9/b/e9bcf5d7-2421-464f-94dc-0c694ba1b5a4/SQLEXPRADV_x64_ENU.exe"&gt;X64&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="67"&gt;           &lt;p align="center"&gt;.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="271"&gt;           &lt;br /&gt;Microsoft® SQL Server® 2008 Management Studio Express&lt;/td&gt;          &lt;td valign="top" width="76"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/e/9/b/e9bcf5d7-2421-464f-94dc-0c694ba1b5a4/SQLEXPRADV_x86_ENU.exe"&gt;&lt;/a&gt;&lt;a href="http://download.microsoft.com/download/6/7/4/674A281B-84BF-4B49-848C-14873B22F977/SQLManagementStudio_x86_ENU.exe"&gt;X86&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="87"&gt;           &lt;p align="center"&gt;&lt;a href="http://download.microsoft.com/download/6/7/4/674A281B-84BF-4B49-848C-14873B22F977/SQLManagementStudio_x64_ENU.exe"&gt;X64&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="67"&gt;           &lt;p align="center"&gt;.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;&lt;font size="3"&gt;More details on when I need to perform a customized installation&lt;/font&gt;&lt;/h3&gt;  &lt;p&gt;It is only necessary to perform a customize install under the following scenarios:&lt;/p&gt;  &lt;h4&gt;What if I want to customize the installation:&lt;/h4&gt;  &lt;p&gt;If you need to install differently than the defaults provided in option #1, you will need to perform a custom install. Here are the defaults that are used in option #1.&lt;/p&gt;  &lt;blockquote&gt;   &lt;table border="1" cellspacing="0" cellpadding="2" width="857"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="241"&gt;&lt;strong&gt;Option&lt;/strong&gt;&lt;/td&gt;          &lt;td valign="top" width="614"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="241"&gt;Features&lt;/td&gt;          &lt;td valign="top" width="614"&gt;Installs the Database Engine, Reporting Services, and Management Tools if available&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="241"&gt;INSTANCE NAME&lt;/td&gt;          &lt;td valign="top" width="614"&gt;Installs a named instance called “SQLExpress”&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="241"&gt;Database Engine Service Account&lt;/td&gt;          &lt;td valign="top" width="614"&gt;Configures the Database engine Service account to run under Network Service. This account is not supported on a Domain Controller, therefore it is necessary to perform an custom install on a Domain Controller.&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="241"&gt;Reporting Services Service Account&lt;/td&gt;          &lt;td valign="top" width="614"&gt;Configures the Reporting Services Service account to run under Network Service, if available. This account is not supported on a Domain Controller, therefore it is necessary to perform an custom install on a Domain Controller.&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="241"&gt;SQL Server Database Admin Account&lt;/td&gt;          &lt;td valign="top" width="614"&gt;Gives the user that installed SQL Server the ability to connect to the database engine.&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="241"&gt;ENABLE RANU&lt;/td&gt;          &lt;td valign="top" width="614"&gt;Enabled User Instances&lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/blockquote&gt;  &lt;h4&gt;&lt;a name="_Toc232833420"&gt;Upgrading&lt;/a&gt;&lt;/h4&gt;  &lt;p&gt;If you are upgrading from SQL Server 2000 or SQL Server 2005 to SQL Server 2008 a custom/advanced installation is required.&lt;/p&gt;  &lt;p&gt;For more information, see “&lt;a href="http://support.microsoft.com/default.aspx/kb/321185"&gt;How to identify your SQL Server version and edition&lt;/a&gt;”.&lt;/p&gt;  &lt;h4&gt;&lt;a name="_Toc232833421"&gt;Specifying an Instance Name other than SQLEXPRESS&lt;/a&gt;&lt;/h4&gt;  &lt;p&gt;SQL Server 2008 Express uses the default instance name of “SQLEXPRESS”. Changing the instance name or installing additional instances requires a custom installation. You cannot change instance names once the installation is complete. There are several scenarios of when you would to provide your own instance name.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The default instance name has already been used (installing multiple instances) &lt;/li&gt;    &lt;li&gt;Your environment (application or standards) requires the use of an alternate instance name. For example, you may use instance names to segment groups or organizations within the company, i.e. Sales, Operation, Finance, etc. &lt;/li&gt;    &lt;li&gt;You want to provide a higher level of abstraction from the underlying database software. &lt;/li&gt; &lt;/ul&gt;  &lt;h4&gt;&lt;a name="_Toc232833422"&gt;Embedding&lt;/a&gt;&lt;/h4&gt;  &lt;p&gt;If you develop software applications that embed SQL Server 2008 Express, custom installations are typically required. For more information, see &lt;a href="http://msdn.microsoft.com/en-us/library/dd981032.aspx"&gt;Embedding SQL Server 2008 Express&amp;#160; in an Application&lt;/a&gt;.&lt;/p&gt;  &lt;h4&gt;&lt;a name="_Toc232833422"&gt;Installation&lt;/a&gt; on a Domain Controller&lt;/h4&gt;  &lt;p&gt;If you would like to install SQL Server Express on a Domain Controller, you need to perform an advanced installation since the default account&amp;#160; (Network Service) specified by the Web Platform Installer is not supported on a Domain Controller.&amp;#160; See &lt;a title="http://msdn.microsoft.com/en-us/library/ms143506.aspx#DC_Support" href="http://msdn.microsoft.com/en-us/library/ms143506.aspx#DC_Support"&gt;SQL Server support on a Domain Controller&lt;/a&gt; for more information.&lt;/p&gt;  &lt;h4&gt;&lt;a name="_Toc232833423"&gt;Further Setup Customization&lt;/a&gt; &lt;/h4&gt;  &lt;p&gt;Some SQL Server configuration settings can only be set during install. Once the installation is complete, you cannot change these settings. Any change to the configuration settings would require a new installation of the product. Some settings directly impact how data is stored and organized so changing the configuration setting would require significant data manipulation work in order to preserve the data. &lt;/p&gt;  &lt;h5&gt;&lt;a name="_Toc232833424"&gt;Setting the non-Default Collation&lt;/a&gt;&lt;/h5&gt;  &lt;p&gt;Collations effect how characters (data) for a language or alphabet are recognized and sorted. A majority of SQL Server installations use the default collation. There are some situations where the use of a collation other than the default collation setting would be required.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Select a BINARY2 collation if binary code point based ordering is acceptable. &lt;/li&gt;    &lt;li&gt;Select a Windows® collation for consistent comparison across data types. &lt;/li&gt;    &lt;li&gt;Use new 100 level collation for better linguistic sorting support. For more information, see &lt;a href="http://msdn.microsoft.com/en-us/library/ms143503.aspx"&gt;Collation and Unicode Support&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;If you plan to migrate a database to the upgraded instance of ssNoVersion, select the collation that matches your existing collation of the database. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;For more information, see &lt;a href="http://msdn.microsoft.com/en-us/library/ms143508.aspx"&gt;Collation Settings in Setup&lt;/a&gt;.&lt;/p&gt;  &lt;h5&gt;&lt;a name="_Toc232833425"&gt;Enabling Filestream&lt;/a&gt;&lt;/h5&gt;  &lt;p&gt;The Filestream configuration setting specifies where to store unstructured data such as text documents, images or videos. You can store this unstructured data inside the database or outside the database in the NTFS files system. The default setting is to store the data inside the database. Storing outside the database can cause data management complexities. You should consider enabling FILESTREAM if:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Objects being stored are, on average, larger than 1 MB. &lt;/li&gt;    &lt;li&gt;Fast read access is important. &lt;/li&gt;    &lt;li&gt;You are developing applications that use a middle tier for application logic. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;For smaller objects, storing unstructured data in the database often provides better streaming performance. &lt;/p&gt;  &lt;p&gt;For more information, see &lt;a href="http://technet.microsoft.com/en-us/library/bb933993.aspx"&gt;FILESTREAM Overview&lt;/a&gt; and &lt;a href="http://msdn.microsoft.com/en-us/library/cc949109.aspx"&gt;FILESTREAM Storage in SQL Server 2008&lt;/a&gt;.&lt;/p&gt;  &lt;h5&gt;&lt;a name="_Toc232833426"&gt;Enabling Error Reporting&lt;/a&gt;&lt;/h5&gt;  &lt;p&gt;Enabling the Error Reporting setting allows you to report Windows and SQL Server errors to Microsoft via the internet. Microsoft uses these error reports to improve future releases of SQL Server. Error reports contain only technical data. All error reports are confidential and anonymous.&lt;/p&gt;  &lt;h5&gt;&lt;a name="_Toc232833427"&gt;Customizing Installation Directories&lt;/a&gt;&lt;/h5&gt;  &lt;p&gt;Installation directories are unique folder locations used for placement of:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Program software &lt;/li&gt;    &lt;li&gt;System database &lt;/li&gt;    &lt;li&gt;User databases and logs &lt;/li&gt;    &lt;li&gt;Temp DB and log &lt;/li&gt;    &lt;li&gt;Backups &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;During installation, you have the option to changing the default directories for some or all of the folders. Business requirements or environmental factors may dictate specifying directories other than the default.&lt;/p&gt;  &lt;h5&gt;&lt;a name="_Toc232833428"&gt;Configuring SQL Server Service Accounts&lt;/a&gt;&lt;/h5&gt;  &lt;p&gt;SQL Server includes many services ranging from tools such as SQL Server Browser service to major product components such as Analysis services and Reporting services. During installation, you can specify which services to install and the account in which they run under. By default, most SQL Server services run under the Network Service account during initial setup. For better manageability and a more secure environment, it is recommended you:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Use separate accounts for each SQL Server service. &lt;/li&gt;    &lt;li&gt;Configure service accounts to use the lowest possible permissions. This can reduce surface area for attacks. &lt;/li&gt;    &lt;li&gt;Associate SQL Server services with low privileged Windows local user accounts, or domain user accounts. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;For more information, see &lt;a href="http://msdn.microsoft.com/en-us/library/ms143504.aspx"&gt;Setting Up Windows Service Accounts&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9756202" width="1" height="1"&gt;</description></item><item><title>We need your Express Setup FeedBack</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/06/10/we-need-your-express-setup-feedback.aspx</link><pubDate>Wed, 10 Jun 2009 09:32:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9723479</guid><dc:creator>sqlexpress</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9723479</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/06/10/we-need-your-express-setup-feedback.aspx#comments</comments><description>&lt;p&gt;In the next release of SQL Server, called &lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/R2.aspx"&gt;SQL Server 2008 R2&lt;/a&gt; we are working on addressing issues that complicated the installation of SQL Server Express.&amp;#160; As the timeframe to address these issues is tight for this release we won’t be able to address all issues. However, still take the time to file your issue at &lt;a title="http://connect.microsoft.com/" href="http://connect.microsoft.com/"&gt;http://connect.microsoft.com/&lt;/a&gt;. If we can’t address in SQL Server 2008 R2, we will consider addressing in the next major release.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Thanks,&lt;/p&gt;  &lt;p&gt;Peter Saddow&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;Program Manager&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;SQL Server Setup Team&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9723479" width="1" height="1"&gt;</description></item><item><title>SQL Server 2005 Express edition, SP3 update for Windows 7</title><link>http://blogs.msdn.com/b/sqlexpress/archive/2009/06/04/sql-server-2005-express-edition-sp3-update-on-windows-7.aspx</link><pubDate>Thu, 04 Jun 2009 22:04:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9700106</guid><dc:creator>sqlexpress</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlexpress/rsscomments.aspx?WeblogPostID=9700106</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlexpress/archive/2009/06/04/sql-server-2005-express-edition-sp3-update-on-windows-7.aspx#comments</comments><description>&lt;p&gt;On June 23rd, we will publish the Express SQL Server 2005 SP3 updates for Windows 7 through Microsoft Update.&amp;#160; This is just a change in the detection logic to offer to a Windows 7 system. The SQL Server 2005 SP3 packages that have already been released to Microsoft Update and the Microsoft download center are unchanged. &lt;/p&gt;  &lt;p&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;These Express updates are affected: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SQL Server 2005 Express Edition Service Pack 3 (KB955706) &lt;/li&gt;    &lt;li&gt;Microsoft SQL Server 2005 Express Edition with Advanced Services Service Pack 3 (KB955706) &lt;/li&gt;    &lt;li&gt;Microsoft SQL Server 2005 Express Edition Toolkit Service Pack 3 (KB955706)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;As usual, these updates will be available through Windows Automatic Update.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9700106" width="1" height="1"&gt;</description></item></channel></rss>
