Issue using in-memory SQL Express database with in Visual Studio

Posted at: 1/18/2010 at 2:14 PM by saravana

This post is for my own reference, just to avoid this in the future. It happened to  my twice already.

I was trying to add a new in-memory databse (Add New Item ? SQL Server Database) within visual studio to quickly knock some prototype and was constantly greeted with this error message.

"Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance"

After a bit of digging and binging, the solution is to delete the SQL express folder completely founder under the user directory

C:\Documents and Settings\<<your login>>\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS

Then, you may be greeted with Timeout error, but try again. It will be ok second time.

Nandri

Saravana

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
 
Actions: Email this article Email | Kick it! | DZone it! | Save to del.icio.us | Technorati Links
Post Information: Permanent LinkPermalink | CommentsComments(0) | Comments RSS

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading