ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded
2015-10-30 15:41
513 查看
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 的引用即可相关文章推荐
- Navicat for mysql 导出sql文件 导入sql文件
- 数据库表横表变纵表
- oracle bitmap join index
- 简单的省市区级联SQL脚本
- 数据库链接池
- MySQLite
- mysql 修改max_allowed_packet
- sql server 2008 怎么导出insert语句
- ORACLE查看存储过程
- Oracle 日志归档 自动清理
- MongoDB学习笔记(查询)
- spring boot 通过配置文件连接mongodb
- 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
- Mongodb数据导出工具mongoexport和导入工具mongoimport介绍
- SQL Server 海量数据查询代码优化以及建议
- Spring与Redis整合
- MYSQL: Cannot delete or update a parent row: a foreign key constraint fails
- 基于MYCAT的MYSQL主从与读写分离配置详解与示例
- ORACLE存储过程的创建(1)
- 源码安装mysql-5.5.22