现象:

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目录下。

更多相关文章

  1. 怎样在办公网络通过跳板机获取生产环境的MySQL数据
  2. mysql行级锁测试
  3. 在进行性能测试时如何避免SQL Server的“重建统计”?
  4. Ubuntu10.10安装Drupal7及其环境(apache,mysql,php)
  5. spark sql scala 开发环境搭建 以及必要jar包导入
  6. 测试Android真机访问电脑主机web项目服务器的问题
  7. Android Studio 和 SDK 下载、安装和环境变量配置
  8. Android Studio 2.2 Espresso Test Recorder-----解放双手,通过录
  9. "AndroidStudio 单元测试"-最简单最快的方法-ApplicationTest

随机推荐

  1. 善用Android预定义样式
  2. android 页面显示不下时怎么办?
  3. 如何在多个LinearLayout中添加分隔线?
  4. Android五岁了
  5. android 快速启动相关
  6. android LinearLayout 相关知识
  7. ImageView的属性android:scaleType
  8. Android 之 自定义控件用法介绍
  9. android一些小技巧
  10. 周记:Class4