连接WCF报EntityFramework.SqlServer 错误的解决方法
2016-06-18 23:51
369 查看
现象:
原因:
在测试环境是有EntityFramework.SqlServer.dll 而部署的时候,这个dll没有被放到部署的bin文件夹中。
解决:
从测试环境的obj的文件夹下拷贝到部署所在的bin目录下。
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.
原因:
在测试环境是有EntityFramework.SqlServer.dll 而部署的时候,这个dll没有被放到部署的bin文件夹中。
解决:
从测试环境的obj的文件夹下拷贝到部署所在的bin目录下。
相关文章推荐
- MYSQL最新免密码安装
- oracle12C 创建用户
- mysql1607处理
- 数据库事务隔离级别
- MySQL5.7 ERROR 1142 (42000)问题
- oracle学习之bulk collect用法
- Mysql事务,并发问题,锁机制-- 幻读、不可重复读(转)
- Oracle11G 数据库导入导 4000 出(expdp,impdp)
- Oracle-同义词
- Oracle-序列
- Dogpile效应以及solution
- 用FireDAC连接oracle(接近直连)
- mysql(一)
- Oracle-自定义类型
- asp.net core 使用 Redis 和 Protobuf
- 关于oracle with as用法
- 微软原版SQLHelper类
- SQL Server 如何清空数据库所有表数据
- SQL Server 数据库备份与还原
- MySQL列类型总结