无法加载DLL的'sqlite.interop.dll':找不到指定的模块。 (HRESULT的例外情况:0x8007007e) [英] Unable to load DLL 'sqlite.interop.dll': the specified module could not be found. (Exception from HRESULT: 0x8007007e)

查看:126
本文介绍了无法加载DLL的'sqlite.interop.dll':找不到指定的模块。 (HRESULT的例外情况:0x8007007e)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误#1:无法加载DLL'SQLite.Interop.dll':找不到指定的模块。 (HRESULT异常:0x8007007E)。





问题:导致此问题的原因是什么?如何解决这个问题请让我知道详细信息。



我尝试过:



我们正在尝试在C#Application中使用SQLite数据库来开发一个C#应用程序我正在使用Visual Studio 2015,System.Data.SQLite版本1.0.108。

构建之后该项目我面临以下问题。

解决方案

错误消息非常明确:找不到DLL程序集文件SQLite.Interop.dll,所以它无法加载,你的应用程序也失败了。



猜测 - 就是这样,我们无法看到你的屏幕,访问你的硬盘或者读懂你的想法 - 你已经构建了你的应用程序并将其复制到另一个地方,或者是另一台机器。并且该机器没有安装DLL。这就是我们使用安装程序的原因:确保所有应用程序依赖项文件与应用程序本身一起正确安装。



创建一个部署项目并使用它来安装应用

Error #1: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).


Question: What is causing this problem? And how to fix this issue please let me know the details.

What I have tried:

we are trying to use SQLite database in C# Application, to develop a C# application I am using Visual Studio 2015, System.Data.SQLite Version 1.0.108.
After building the project I am facing the following issue.

解决方案

The error message is pretty explicit: the DLL assembly file "SQLite.Interop.dll" can't be found, so it can't be loaded and your application fails.

At a guess - and that's all it can be, we can't see your screen, access your HDD, or read your mind - you've built your application and copied it to a different place, orr a different machine. And that machine doesn't have the DLL installed. This is why we use installation programs: to ensure that all the application dependency files are installed correctly alongside the app itself.

Create a Deployment project and use that to install your app.


这篇关于无法加载DLL的'sqlite.interop.dll':找不到指定的模块。 (HRESULT的例外情况:0x8007007e)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆