无法加载 DLL “ SQLite.Interop.dll”
来源:互联网 发布:春晓软件注册码 编辑:程序博客网 时间:2024/06/16 08:03
对SQLite数据库进行操作时,提示:无法加载 DLL“SQLite.Interop.dll”,找不到指定的模块;换了N个版本(包括32位、64位)还是不行…
System.Data.SQLite版本是Setups for 32-bit Windows (.NET Framework 4.5),这个版本提供了两个exe文件:
sqlite-netFx45-setup-bundle-x86-2012-1.0.98.0.exe
sqlite-netFx45-setup-x86-2012-1.0.98.0.exe
带bundle的表示动态库是按混合模式编译的,在使用的时候只需要System.Data.SQLite.dll就可以了,而不带bundle的则是将非托管部分和托管部分分别编译,System.Data.SQLite.dll不能独立使用,还需要有SQLite.Interop.dll才能使用。
在SQLite的下载页面看到了下面这句话:
This setup package features the mixed-mode assembly and will install all the necessary runtime components and dependencies for the x86 version of the System.Data.SQLite 1.0.98.0 (3.8.11.1) package. The Visual C++ 2012 Update 4 runtime for x86 is included. The .NET Framework 4.5 is required.
This is the only setup package that is capable of installing the design-time components for Visual Studio 2012.
However, if you do not require the design-time components, please consider downloading the associated "Precompiled Binaries" instead.
Using Entity Framework 6 design-time support may require installing the Visual Studio 2012 "flavor" of the Entity Framework 6 Tools for Visual Studio 2012 & 2013.
按上面的提示所述,使用SQLite时,需要有对应版本的.NET框架及VC++运行库支持。由于当前服务器是新装的系统,只安装了.Net的框架,所以按提示安装VC运行库解决问题。
附件:
VC运行库百度盘地址http://pan.baidu.com/s/1c2eIcIs
一般按照x86的库后,sqlite即可正常驱动。
- [解决]无法加载 DLL "SQLite.Interop.DLL"
- 无法加载 DLL "SQLite.Interop.DLL" 解决方案
- 无法加载 DLL “ SQLite.Interop.dll”
- [解决]System.DllNotFoundException: 无法加载 DLL“SQLite.Interop.DLL” -- 绿化System.Data.SQLite.dll
- SQLite 无法加载 DLL“SQLite.Interop.dll”: 找不到指定的模块
- 无法加载 DLL“SQLite.Interop.DLL”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
- 无法加载 DLL“SQLite.Interop.DLL”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
- 解决在log4net 中使用sqlite 无法加载“SQLite.Interop.066.DLL ”的问题
- 无法找到 PInvoke DLL“SQLite.Interop.063.DLL”。
- 无法找到 PInvoke DLL“SQLite.Interop.063.DLL”。
- SQLite.Interop.DLL与System.Data.SQLite.dll比较
- C#.winform使用sqlite发布时提示无法找到SQLite.Interop.dll的问题
- Unable to load DLL 'SQLite.Interop.dll' 问题的解决方案
- System.DllNotFoundException Unable to load DLL SQLite.Interop.dll解决办法
- 无法加载 DLL (HTTPEUCPComm.dll)。
- 无法加载oci.dll
- DLL模块无法加载
- WIN7 无法加载DLL
- org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
- 前端构建工具gulpjs的使用介绍及技巧
- QTextEidt添加图片 拖动图片
- Android Studio1.4 preview 3 环境下加载so
- spark连接cassandra配置说明
- 无法加载 DLL “ SQLite.Interop.dll”
- SQL中系统临时表的使用和禁忌 及 Exec(SQLScript) 的使用
- 别墅装修——环境同样需要优化
- DIV CSS3 text-shadow字体阴影
- java socket网络编程
- 收集资料
- Redis Sentinel初体验
- module_param()
- CentOS系统在桌面手动创建快捷方式的方法