I am using Windows 8.1 64 bit, Visual Studio 2012 and SQL Server 2012. When I try to add a SQL Server database to the mvc solution in Visual Studio, it gives me following error:
Connection to sql server database files require sql server 2005 express or sql server 2008 asp net
Any thoughts?
.mdf
that you connect to usingAttachDbFileName=......
in your connection string in an Express-only feature. The proper solution is to create the database on the SQL Server and reference it only using it's logical name and stop fiddling around with.mdf
files - let SQL SErver handle that .... – marc_s