|Title:||ClickOnce installation unable to locate System.Data.SQLite.dll|
|Last Modified:||2018-01-24 16:51:09|
|Version Found In:||126.96.36.199|
anonymous added on 2018-01-16 19:21:39:
I am using ClickOnce as my packaging tool for my Windows application. we use VS 2015 and Sqlite DB. when I created a new build with click once & installed it on my computer it is working fine but when i installed it to client desktop it is giving me following error Application: MyApplication.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.DllNotFoundException at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(System.Data.SQLite.SQLiteConfigOpsEnum) at System.Data.SQLite.SQLite3.StaticIsInitialized() at System.Data.SQLite.SQLiteLog.Initialize() at System.Data.SQLite.SQLiteConnection..ctor(System.String, Boolean) at System.Data.SQLite.SQLiteConnection..ctor(System.String) this DLL is there in install package i also check the property on this reference in VS & copy local is set to true. it does get copied over to installation folder but somehow it is unable to locate. this is high priority issue so please help me out with it. if you have any question or concern please feel free to contact me Thanks
mistachkin added on 2018-01-24 16:51:09: (text/x-fossil-plain)
I think there are three possible causes of this issue: 1. The managed "System.Data.SQLite.dll" assembly cannot find the associated "SQLite.Interop.dll". 2. It does find the "SQLite.Interop.dll"; however, the necessary MSVC runtime library is not installed. 3. It does find the "SQLite.Interop.dll"; however, the processor architecture does not match (e.g. x86 versus x64). This is the least likely as it would generally produce a different error message.