If you are attempting to create an MVC Controller and you receive the following error:
"The provider did not return a ProviderManifestToken string"
The problem is with your Connection String in your web.config. Add the Integrated Security token.
Then go back and add your Controller.
For Example:
<add name="ArticleDBContext"
connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\MyCompanies.mdf;Integrated Security=True"
providerName="System.Data.SqlClient" />
Share This To :
0 comments:
Post a Comment