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

后端 未结 15 1071
闹比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:43

    I had the same problem, and I add the below code just after the instance of my context (onload by exemple)

    context.Database.Connection.ConnectionString = @"Data Source=.\SQLExpress;Initial Catalog=Test;Integrated Security=True";
    

提交回复
热议问题