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
I had the same problem but what worked for me was removing this from the Connection String:
persist security info=True