无法加载DLL“SQLite.Interop.dll” [英] Unable to load DLL 'SQLite.Interop.dll'

查看:2052
本文介绍了无法加载DLL“SQLite.Interop.dll”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

周期性我收到以下异常:

Periodically I am getting the following exception:

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

我使用1.0.82.0。版本,与在的NuGet VS2010,OS 64的Win7安装它。

I am using 1.0.82.0. version, installing it with nuget in VS2010, OS Win7 64.

在例外情况开始出现,它不断地出现 - 在调试和发布和VS之内或之外运行的应用程序

Once exception starts to appear, it appears constantly - in debug and release and running application within or outside VS.

要停止它的唯一方法是注销和登录。在不引发异常和dll被加载。
它可连续工作几天,但随后可能再次突破。

The only way to stop it is logoff and logon. The exception is not thrown and dll is loaded. It can work for days, but then it can break again.

有没有人见过这样的事情,是有它的解决方案?

Has anyone seen something like this and is there a solution for it?

推荐答案

我知道我迟到了,但我有这个问题的最新的x86 / x64的今天(版本1.0.88.0)之后我扯了下来。我在VS2012本地IIS默认运行32位,有没有简单的方法来切换到64位。我的生产服务器上运行64位。

I know I'm late to the party but I had this issue right after I pulled down latest x86/x64 today (version 1.0.88.0). My local IIS in VS2012 runs 32bit by default and there's no easy way to switch to x64. My production server runs 64bit.

无论如何,我安装的NuGet一个DLL项目,我得到这个错误。我不得不这样做,以得到它的工作,我不得不将其安装到主网站的项目了。事件如果它根本不碰源码的类。

Anyway I installed Nuget to a DLL project and I got this error. What I had to do to get it working I had to install it to the main site project, too. Event if it doesn't touch sqlite classes at all.

我的猜测是,SQLite的使用入门组装,检测要加载的互操作的版本。

My guess is that SQLite uses the entry assembly to detect which version of Interop to load.

这篇关于无法加载DLL“SQLite.Interop.dll”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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