Good day,

 

I'm turning on you, since i have no general idea how to solve this. I
googled a lot of similar questions and tried them all, but without success.
I tried to compile to x86 only, prefer 32bit only, .

 

Let me explain my situation:

Application was built for Any CPU and is supposed to work on both x86 and
x64 OS windows. And in most of the cases it works like a charm. Application
is stored on a server and clients map drives and run applications from
mapped drives (processes are hosted locally on each OS). In some cases where
client is x86 application throws next error:

 

System.BadImageFormatException: An attempt was made to load a program with
an incorrect format. (Exception from HRESULT: 0x8007000B)

   at
System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEn
um op)

   at System.Data.SQLite.SQLite3.StaticIsInitialized()

   at System.Data.SQLite.SQLiteLog.Initialize()

   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString,
Boolean parseViaFramework)

   at System.Data.SQLite.SQLiteConnection..ctor()

   at
EArhiv.EArhivLocalStorageDataSetTableAdapters.FailedToSendTableAdapter.InitC
onnection()

   at
EArhiv.EArhivLocalStorageDataSetTableAdapters.FailedToSendTableAdapter.get_C
onnection()

   at
EArhiv.EArhivLocalStorageDataSetTableAdapters.FailedToSendTableAdapter.InitC
ommandCollection()

   at
EArhiv.EArhivLocalStorageDataSetTableAdapters.FailedToSendTableAdapter.get_C
ommandCollection()

   at
EArhiv.EArhivLocalStorageDataSetTableAdapters.FailedToSendTableAdapter.FillU
nsent(FailedToSendDataTable dataTable)

   at EArhiv.Form1.Osvezi()

 

But that happens only on some of the x86 systems. When i tried to run for
debugging purposes on PCs that have windows 7 x86 and windows 10 x86 it
works (It works if i copy files localy on those PC's, but if i try to open
application from mapped drive than it won't work).

 

Have you ever faced similar problems? Please help!

 

Looking forward to hearing from you!

 

Best regards,

 

Gregor

_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to