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

在主工程(ASP.NET WEB/WCF等)的NuGet里引用 System.Data.SQLite.Core

不仅仅是Service需要引用,主工程即使不直接使用SQLite的库,也需要引用。

若使用IIS,保证应用程序池的ApplicationPoolIdentity对程序目录及其下的x64与x86文件内的SQLite.Interop.dll文件有以下权限:

Read
Read and Execute

原文地址:https://www.cnblogs.com/lionetchen/p/10184935.html