Problem
In my native development environment C # connection Sqlite3 no problem, but release version ported to other machines will prompt could not load file or assembly ' System.Data.SQLite.dll ' or one of the ITS Depedencies. The specified module could not be found.
Solution
Search to search to find a reliable answer, in fact, the final solution.
The official SQLite download page says: the Visual C + + SP1 Runtime for x86 and the. NET Framework 4.0 is required.
That is, in addition to installing the. Net Framework 4.0, install the Visual C + + SP1 runtime, a separate fix pack for Microsoft: http://www.microsoft.com/downloads/ Zh-cn/details.aspx?familyid=c32f406a-f8fc-4164-b6eb-5328b8578f03
Cloud Disk Address: Cloud disk > Common software >other>vcredist_x86.exe
After you have installed the patch pack, everything is OK. (premise: exe directory exists ' System.Data.SQLite.dll ' this DLL file)
Could not load file or assembly ' System appears after publishing in IIS. Data.SQLite.dll ' or one of its depedencies