ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded

前端之家收集整理的这篇文章主要介绍了ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

The Entity Framework provider type 'System.Data.Entity.sqlServer.sqlProviderServices,EntityFramework.sqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.sqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

 

  出现问题的原因:缺少dll的引用,在引用EF类库时,如果只引用EntityFramework不引用EntityFramework.sqlServer的话就会遇到这样的错误,所以这个问题的解决方案就是:添加对 EntityFramework.sqlServer.dll 的引用即可

 

猜你在找的程序笔记相关文章