Visual Studio Website: Can't create an SQL Database!

Posted by Andreas on Stack Overflow See other posts from Stack Overflow or by Andreas
Published on 2010-02-16T20:55:19Z Indexed on 2010/03/24 6:03 UTC
Read the original article Hit count: 279

Hi,

I'm using Visual Studio 2008 SP1 with SQL Server 2008.

I'am trying to add an SQL Server File (MDF) in my Website project. Then I get the following error:

Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify...

I've been using Google without any results, and I'm in deep need for help..

I've tried the following things to fix it, without succes:

  • Changing instance names so they should fit

  • Attaching the database in the management studio

  • Uninstall/Install Visual Studio

  • Uinstall/Install SQL Server 2005 AND 2008

All in all, this is a REALLY annoying error and it just should work..

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about sql-server-2008