I was using an .mdf for connecting to a database and entityClient. Now I want to change the connection string so that there will be no
.mdf
database
entityClient
Make sure that each element value in the connection string being supplied is correct. In my case, I was getting the same error because the name of the catalog (database name) specified in the connection string was incorrect.