Vista Visual Studio and SQLExpress Intergration

28 sec read

It seems that the way visual studio understands the SQLExpress server name has changed or that security settings have disabled the .SQLExpress syntax (which obviously meant local computer SQLExpress instance) on Vista. So if you try to create a new database from the AddItem menu item of visual studio 2005 or connect to an existing one that uses the above syntax in the connection string you will most probably get an error saying that “failed to generate a user instance of sql server”.
What you’ll have to do (this took me a while to figure out, so you should thank me 🙂 ) is modify the server name/instance to the fully qualified one. If you want to create a new database you should first create it from the management studio, then add it to your project and modify the connection string.

Microsoft Visual Studio 2012 is here customize it to…

With the virtual launch of Microsoft Visual Studio 2012 coming up in a few days at September 12, 2012 9:30 AM PDT (UTC -8:00)...
kpantos
35 sec read

Debugging Web Sites using IIS Express

Microsoft recently released a new flavor of IIS 7.x that is optimized for developer scenarios called “IIS Express” as part of WebMatrix. IIS Express...
kpantos
56 sec read

Visual Studio 2010 Launch Event

On May 14 Microsoft Hellas is going to celebrate the release of Visual Studio 2010 in an event different from the other, in a...
kpantos
19 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *