Thursday, August 30, 2012 12:57 AM
I'm trying to add an Existing Item (SQL Server file with .mdf file extension) to a Visual Studio project but the following error message appears:
When OK is clicked this message disappears but the "Data Source Configuration Wizard" does not appear. However, the .mdf file does show up in the Solution Explorer under the project folder to which it was added. Is there a way to tell VS to use SQL Server 2008 R2 instead of Express and if so, how it this done?
This machine is running Windows 7. Not sure if it matters but SQL Server was installed before VS on this particular machine.
Thursday, August 30, 2012 9:14 AMModerator
It seems the error was because your Existing Item was created by Sql Server Express.
If so, maybe the following links will help you:
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Knot Saturday, September 01, 2012 1:51 PM
Saturday, September 01, 2012 1:56 PMIndeed, the problem was due to SQL Server Express not being installed. Once it was installed, the services to Developer were stopped, the services to Express were restarted, SQLEXPRESS was entered into Visual Studio as the SQL Server Instance Name, then it worked! Thanks for the help.