The Entity Framework provider for the ADO. System.Data.SqlClient provider with the fixed name "" was not found. Make sure that the provider is registered in the "EntityFramework" section of the application configuration file. For more information, see http://go.microsoft.com/fwlink/?LinkId=260882.
Ensure that pasting is introduced into the project
EntityFramework.dll, and then configure the install package in the configuration file (if you use NuGet), you can ignore the essay
<configuration>
<configSections> <!--For more information on Entity Framework configuration, visit http://go.microsoft.com/fw link/? linkid=237468--<section name= "EntityFramework" type= " System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, version=6.0.0.0, Culture=neutral, publickeytoken=b77a5c561934e089 "requirepermission=" false "/> </configSections>
.........................
...........................
.........................
<entityFramework> <defaultconnectionfactory type= " System.Data.Entity.Infrastructure.SqlConnectionFactory, entityframework "/> <providers> <provider Inva Riantname= "System.Data.SqlClient" type= "System.Data.Entity.SqlServer.SqlProviderServices, Entityframework.sqlserver "/> </providers> </entityFramework>
</configuration>
EntityFramework configuration settings in the root directory Web. config