I am having this same problem, and it seems that this forum is close to helping everyone find an answer.
I am working on VISTA .x64 Ultimate SP2, with Visual Studio 2008 SP1 and I also have SQL Server (Express) 2008 installed. I upgraded from SQL Server Express 2005. In the SS Management Studio I can access all of the databases as required, including the problematic one called BOI_DB (BOI_DB.mdf), without any issues. I can also see all tables, sp etc., and edit any of them as desired, again without issues.
In Visual Studio however, I cannot create new database files. When I right-click on my app's App_Data folder and choose "Add New Item...", then select Sql Server Database, I get an error message:
"Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL: ..."
In addition to the above, when my ASP.NET 3.5 web app tries to add a record to this database, I get this 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."
and the app fails.
I have tried many of the solutions displayed in this thread, but nothing seems to be working. Can someone please help me to find a solution to this frustrating problem. I've been on it for days and I am just not getting anywhere. Thanks for your help in advance.
Best Regards,
OpCode901
You can
sell your own property with a FREE For Sale By Owner Ad