View Single Post
  #1 (permalink)  
Old February 6th, 2012, 08:56 AM
prisma prisma is offline
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Failed to generate a user instance of SQL Server due to a failure starting the proces

I unzipped the project for chapter 4 and tried to run it using vs2010. In BlogController class at line
Post[] posts = Post.FindAll(); I get the error msg:

Error:
Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.

Do I need sqlExpress Installed ? If i can use my current sqlserver install how do i modify the code?

This is the version of Visual studio i have :
Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel

and sql server :
Microsoft SQL Server Management Studio 10.0.4000.0

Last edited by prisma; February 6th, 2012 at 09:05 AM..
Reply With Quote