How to configure ProviderManifestToken for EF Code First

后端 未结 10 1139
-上瘾入骨i
-上瘾入骨i 2020-11-27 05:49

I have a asp.net MVC3 project using EF code-first. For my unit testing I have been using SQL Server CE 4.0 and SQL Server 2008 Express. Both have worked perfectly with EF ge

10条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 06:35

    I found, when i provided explicit "User Id=abcUser; Password=somePwd;" in my connection string i am able to resolve the same error. Earlier i was using the "Trusted_Connection=true;", which allowed me to debug my web project, but started giving me error - {"The provider did not return a ProviderManifestToken string."} as soon as i added the Windows azure project and tried debugging the Azure project after adding my web project as a web role under it.

    Hope it helps some one experiencing a similar situation.

    Thanks, Vivek Bahl

提交回复
热议问题