EF 4.1 exception “The provider did not return a ProviderManifestToken string”

后端 未结 15 1129
闹比i
闹比i 2020-11-30 05:02

I am trying to replicate an example found on MSDN. I am using ASP.NET and EF 4.1 (CTP?). I\'ve used NuGet to install the EntityFramework package.

I am getting this e

15条回答
  •  误落风尘
    2020-11-30 05:45

    I have multiple projects in a solution and added EF to each project in different times. On some machines it was working and on some it failed with aforementioned error. It took me a while to notice that some of my project's app.config had this:

        
      
        
      
    
    

    This is ok if you use LocalDb (new "sql express" like), but completely wrong if you don't have that specific server installed and use a regular SQL.

    Solution: Remove the above code.

提交回复
热议问题