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
This is common issue only. Even I have faced this issue. On the development machine, configured with Windows authentication, it is worked perfectly:
Once hosted in IIS with the same configuration, I got this error:
The underlying provider failed on Open
It was solved changing connectionString in the configuration file:
Other common mistakes could be: