Sunlimi

出错:

The Entity Framework provider type \'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServerVersion=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\' for the \'System.Data.SqlClient\' ADO.NET provider could not be loaded. Make sure the provider assembly is available to the running application.

See http://go.microsoft.com/fwlink/?LinkId=260882 for more information..

 

找了好几个小时

找到这篇文章

http://stackoverflow.com/questions/14033193/entity-framework-provider-type-could-not-be-loaded

在EF上下文中添加

public void FixEfProviderServicesProblem()
{

var instance = System.Data.Entity.SqlServer.SqlProviderServices.Instance;
}

 

分类:

技术点:

相关文章:

  • 2021-09-22
  • 2021-06-27
  • 2021-06-06
  • 2021-06-04
  • 2021-06-30
  • 2021-07-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2022-03-11
  • 2021-10-10
  • 2021-09-17
  • 2022-12-23
相关资源
相似解决方案