mercredi 2 décembre 2015

Elmah can't find SQLite.Interop.dll

I have ELMAH in an MVC project installed via Nuget and it can't find SQLite.Interop.dll.

[DllNotFoundException: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op) +0 System.Data.SQLite.SQLite3.StaticIsInitialized() +111
System.Data.SQLite.SQLiteLog.Initialize() +48
System.Data.SQLite.SQLiteConnection..ctor(String connectionString) +55 Elmah.SQLiteErrorLog.GetErrors(Int32 pageIndex, Int32 pageSize, IList errorEntryList) +338 Elmah.ErrorLogPage.OnLoad(EventArgs e) +455
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

My output directory has the appropriate x86 and x64 directories with the assembly included.

enter image description here

If I copy one of these into bin, ELMAH works fine.

None of the other devs working on this project are having any issues. We're all using IIS Express locally, VS 2013, and No SQLite binaries in anyone's GAC.

Aucun commentaire:

Enregistrer un commentaire