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

View: 22332|Reply: 1

[Source] Asp.Net Appears in EF6.0 not found with fixed name "System.Data.SqlClient"...

[Copy link]
Posted on 11/12/2017 4:59:12 PM | | |
Development environment: VS2017, Framework4.5, SqlServer2008R2, MVC4, EF6.0.

The error message that appears looks like this:
The specified schema is invalid. Error:
DataModel.ssdl(2,2): Error 0152: Entity Framework provider not found for ADO.NET provider with 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.

To solve the problem, add the following code to the web.config configuration file:






Previous:VS2017 Unable to Connect to the Internet Workaround
Next:Understand the /etc/init.d directory and /etc/rc.local scripts on Linux systems
 Landlord| Posted on 12/27/2021 10:10:14 PM |
Microsoft introduces Microsoft.Data.SqlClient as an alternative to System.Data.SqlClient
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