在使用subsonic 3时,如果不完整安装SQLite的SDK包,直接在项目中使用System.Data.SQLite将引发上述错误。

原因是:是 DBproviderfacotories 没有导致

解决的办法是手动在配制文件中指定 ,代码如下 :

<system.data>

    <DbProviderFactories>
      <remove invariant="System.Data.SQLite"/>
      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
    </DbProviderFactories>
  </system.data>

ref: http://www.cnblogs.com/leleroyn/archive/2011/03/24/1993627.html

最新文章

  1. MyEclipse部署web项目到Tomcat出现An internal error occurred during: &quot;Launching on Tomcat 7.x&quot;的问题
  2. 移动H5前端性能优化指南
  3. js数组的队栈操作
  4. 如何在SharePoint2010中创建自定义电子邮件警报处理程序
  5. 使用javascript打开链接的多种方法
  6. 【原创】Quartz代码详解
  7. (转)c#多线程 Invoke方法的使用
  8. 在word中做复选框打对勾钩
  9. ajax后台return,js判断方法
  10. 开涛spring3(12.2) - 零配置 之 12.2 注解实现Bean依赖注入
  11. viewer.js的简单练习
  12. python循环for,range,xrange;while
  13. day71 菜单的排序 点击被选中
  14. webdriver +浏览器驱动
  15. 人人开源框架使用 renren fast
  16. 状态机学习(六)解析JSON2
  17. 【转】CentOS 7部署ASP.NET Core应用程序
  18. 求FIRST集和FOLLOW集
  19. 谈谈node(1)
  20. halcon控制显示精度(精确到小数点后6位,精度足够了)

热门文章

  1. maven 项目 pom.xml文件中配置的jar包下载报错
  2. rune is alias of int32
  3. 优秀代码要求(转自http://www.cnblogs.com/brishenzhou/p/6284188.html)
  4. C#多线程:深入了解线程同步lock,Monitor,Mutex,同步事件和等待句柄(中)
  5. C# 常用接口学习 IComparable 和 IComparer
  6. poi做Excel数据驱动,支持.xls和.xlsx格式的excel文档,比起jxl强大不少
  7. Hadoop-2.6.0安装文档
  8. 通用mapper的使用
  9. 老司机的奇怪noip模拟T2-huangyueying
  10. jquery 里 $(this)的用法