Entity Framework 6 – can’t connect to database server

May 7, 2014 in answer

0 votes, 0.00 avg. rating (0% score)


Have a look at this. If you are using localdb, you need to accordingly change your connection string. So, your connection string should be
Data Source=(localdb)v11.0;Integrated Security=true;AttachDbFileName=C:Path-to-your-database.mdf

Abdel Olakara from http://stackoverflow.com/questions/23513611