This article is a mirror article of machine translation, please click here to jump to the original article.

View: 18518|Reply: 0

[Solved] Entity framework provider not found for ADO.NET provider with fixed name System.Data.SqlClient...

[Copy link]
Posted on 11/16/2016 2:06:21 PM | | |
No entity framework provider found for ADO.NET provider with the fixed name "System.Data.SqlClient". Make sure the provider is registered in the "entityFramework" section of the application configuration file. For more information, see http://go.microsoft.com/fwlink/?LinkId=260882.


I ran into this problem when publishing on IIS, and there was no problem in the native test, I feel that there is something missing from the dll reference issue.

Baidu did a little, and the Internet was all written blindly and scribbled。。。。。



First, my web.config has these things。。。。。。

The problem is that my web layer does not reference the EF framework model, resulting in, generated, no, EntityFramework.SqlServer.dll this dll file。。。。。

Finally, copy the EntityFramework.SqlServer.dll file to the bin directory of the IIS website to solve the problem.




Previous:MVC view HTML property names with horizontal bars
Next:360 browser websites automatically select the speed mode
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com