SQLite.dll在xp中部署时的报错处理

简介: 错误信息: System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite.dll' or one of its dependencies. 找不到指定的模块。

错误信息:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite.dll' or one of its dependencies. 找不到指定的模块。

解决办法:

sqlite官方的下载页面里面说了:The Visual C++ 2010 SP1 runtime for x86 and the .NET Framework 4.0 are required.
也就是说,除了要安装.Net Framework 4.0之外,还要安装The Visual C++ 2010 SP1 runtime,这是微软的一个单独补丁包,下载地址:http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=c32f406a-f8fc-4164-b6eb-5328b8578f03
装好该补丁包之后,就一切OK了。

补充:
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) (针对3.5) 或者
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) (针对4.0)
http://www.microsoft.com/en-us/download/details.aspx?id=8328

相关文章
|
7月前
|
开发者 C++ Windows
Windows平台如何查看一个dll依赖的其他dll
好多开发者在做windows开发的时候,容易遇到dll依赖的问题,VS自带一个小工具dumpbin, 这个工具挺好用,可以查看dll相关依赖库,还可以看dll导出接口。
167 0
|
9月前
|
关系型数据库 MySQL
安装MySQL找不到MSVCR120.dll【已解决】
安装MySQL找不到MSVCR120.dll【已解决】
186 0
|
关系型数据库 MySQL Windows
Windows部署Mysql8.0,安装VC++报错处理
Windows部署Mysql8.0,安装VC++报错处理
386 0
Windows部署Mysql8.0,安装VC++报错处理
|
SQL 数据库管理 Windows
Windows环境VS2017,如何编译得到SQLite的sqlite3.lib文件?已知dll文件,求lib文件
Windows环境VS2017,如何编译得到SQLite的sqlite3.lib文件?已知dll文件,求lib文件
327 0
|
测试技术 C++ 数据库管理
SQLite部署-无法加载 DLL“SQLite.Interop.dll”: 找不到指定的模块
 近期刚使用SQLite,主要引用的是System.Data.SQLite.dll这个dll,在部署到测试环境时报无法加载 DLL“SQLite.Interop.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
4201 0
|
Windows
“inno setup打包,win7下安装没有桌面快捷方式,xp下安装正常”
修改桌面的快捷键为选中就行了:Flags: checkablealone;在[Tasks]下面修改代码如下:Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIco...
993 0