SQLite : 解决“找不到请求的 .Net Framework 数据提供程序。可能没有安装”的问题
2024-10-12 10:47:22
在使用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
最新文章
- MyEclipse部署web项目到Tomcat出现An internal error occurred during: ";Launching on Tomcat 7.x";的问题
- 移动H5前端性能优化指南
- js数组的队栈操作
- 如何在SharePoint2010中创建自定义电子邮件警报处理程序
- 使用javascript打开链接的多种方法
- 【原创】Quartz代码详解
- (转)c#多线程 Invoke方法的使用
- 在word中做复选框打对勾钩
- ajax后台return,js判断方法
- 开涛spring3(12.2) - 零配置 之 12.2 注解实现Bean依赖注入
- viewer.js的简单练习
- python循环for,range,xrange;while
- day71 菜单的排序 点击被选中
- webdriver +浏览器驱动
- 人人开源框架使用 renren fast
- 状态机学习(六)解析JSON2
- 【转】CentOS 7部署ASP.NET Core应用程序
- 求FIRST集和FOLLOW集
- 谈谈node(1)
- halcon控制显示精度(精确到小数点后6位,精度足够了)
热门文章
- maven 项目 pom.xml文件中配置的jar包下载报错
- rune is alias of int32
- 优秀代码要求(转自http://www.cnblogs.com/brishenzhou/p/6284188.html)
- C#多线程:深入了解线程同步lock,Monitor,Mutex,同步事件和等待句柄(中)
- C# 常用接口学习 IComparable 和 IComparer
- poi做Excel数据驱动,支持.xls和.xlsx格式的excel文档,比起jxl强大不少
- Hadoop-2.6.0安装文档
- 通用mapper的使用
- 老司机的奇怪noip模拟T2-huangyueying
- jquery 里 $(this)的用法