SQLite deployment-Unable to load DLL "SQLite.Interop.dll": The specified module could not be found
Recently just using SQLite, the main reference is System.Data.SQLite.dll this DLL, in the deployment to the test environment times cannot load DLL "SQLite.Interop.dll": The specified module cannot be found. (Exception from hresult:0x8007007e).
After the officer net looked under, Sqlite-netfx40-binary-win32-2010-1.0.94.0.zip The System.Data.SQLite.dll in this package is required to SQLite.Interop.dll, but this DLL is not a direct reference to the. NET version, it can only be copied to the file execution directory, but when it is bad, it cannot completely avoid the error.
Can only search again, found Sqlite-netfx40-binary-bundle-win32-2010-1.0.94.0.zip This package of System.Data.SQLite.dll is not need to SQLite.Interop.dll, decisive replacement, the machine running without error, upload to test environment, the result and sad, the software started to run in a rout out, this is noisy like that?
The description of the Xia Guan Network is studied:
This binary package features the Mixed-mode assembly and contains all the binaries for the x86 version of the System.Data. SQLite 1.0.94.0 (3.8.6) package. The Visual C + + SP1 Runtime for x86 and the. NET Framework 4.0 is required
Compared to the next native and test environment, but also really lack of "Visual C + + SP1 Runtime for x86" This patch, Microsoft Official found, download and install to test environment, finally no more error.
Unable to load DLL "SQLite.Interop.dll": The specified module could not be found. (Exception from hresult:0x8007007e)