No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'


运行Web应用程序报错:

No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

 

No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'

 

解决方案

  • 在Project项目以及Web站点都要安装 EntityFramework!
  • Nuget, 安装 EntityFramework和EntityFramework.SqlServer

 

版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
C/S框架网
上一篇:C#/.NET 基础学习
下一篇:.NET 5.0运行环境安装包下载
评论列表

发表评论

评论内容
昵称:
关联文章

No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'
No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'
找不到请求的.Net Framework Data Provider。可能没有安装
C#.NET 实体框架EF(Entity Framework)详解
EF异步查询报错:The provider for the source 'IQueryable' doesn't implement 'IAsyncQueryProvider'
The object cannot be deleted because it was not found in the ObjectStateManager
System.NotSupportedException:“The entity or complex type 'CSFramework.EF.tb_MyUser' cannot be constructed in a LINQ to Entities query.”
the pre-login handshake. (provider: SSL Provider, error: 0
Entity Framework(EF):测试DbContext.Remove方法,对象状态管理器(Object State Manager)
Entity Framework(EF):DbContextConfiguration属性详解
Microsoft.Data.SqlClient.SqlException:“快照隔离事务访问数据库“ IsolationLevel.Snapshot
FastReport for.Net开发指南-单表报表设计详解
HTTP状态码大全-System.Net.HttpStatusCode
Entity Framework(EF):测试DbContext的Add,Remove相同对象是否执行两次SQL
Entity Framework(EF)测试DbContext.Database.ExecuteSqlCommand方法删除记录
CSFramework开发框架ADO.NET学习要点
How to changing the asp.net development server port?
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the s
NET开发框架,基于ADO.NET数据持久化快速开发框架平台-C/S框架网原创产品
FastReport for.Net开发指南-主从表(Master/Detail)报表设计详解