Even more information. I used fuslogvw.exe to see the binding errors.  It
seems that the assembly of System.SQLite.Data.dll was loaded fine:

LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program
Files/N1MMLogger+/System.Data.SQLite.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Program
Files\N1MMLogger+\System.Data.SQLite.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: System.Data.SQLite, Version=1.0.86.0,
Culture=neutral, PublicKeyToken=db937bc2d44ff139
LOG: Binding succeeds. Returns assembly from C:\Program
Files\N1MMLogger+\System.Data.SQLite.dll.
LOG: Assembly is loaded in default load context.

 But the native image was not:

OG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = N1MMLogger.net.exe
Calling assembly : N1MMLogger.net, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null.
===
LOG: Start binding of native image System.Data.SQLite, Version=1.0.86.0,
Culture=neutral, PublicKeyToken=db937bc2d44ff139.
WRN: No matching native image found.
LOG: IL assembly loaded from C:\Program
Files\N1MMLogger+\System.Data.SQLite.dll.


Anyone know why this is happening?

Thanks
Andreas


-----Original Message-----
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Andreas Hofmann
Sent: Wednesday, November 13, 2013 7:59 PM
To: 'General Discussion of SQLite Database'
Subject: Re: [sqlite] Could not load file or assembly
'System.Data.SQLite.dll' or one of its dependencies on Windows XP. Ideas?

As a followup question:

Should Windows XP be supported?  Is there anything special that is needed?
As I understand it, the dll is supposed to have .net interop and sqlite all
inside. It works fine in W7, but not in XP... Any way to troubleshoot what
is missing?  Would ildasm tell me?

Thanks
Andreas


-----Original Message-----
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Andreas Hofmann
Sent: Wednesday, November 13, 2013 5:19 PM
To: sqlite-users@sqlite.org
Subject: [sqlite] Could not load file or assembly 'System.Data.SQLite.dll'
or one of its dependencies on Windows XP. Ideas?

Deploying the same app on W7 32, W7 64, and XP 32.  Using XCOPY deployment.
W7 are fine, in XP it complains about this:

 

System.IO.FileNotFoundException: Could not load file or assembly
'System.Data.SQLite.dll' or one of its dependencies. The specified module
could not be found.

File name: 'System.Data.SQLite.dll'

   at N1MMLogger.Net.DBInterface..ctor()

   at N1MMLogger.Net.AdminDatabase..ctor(Boolean IsReorganize) in
C:\Users\andreash\Downloads\N1MMSource\N1MM Logger on .NET\N1MM
Logger.Net\Classes\DBInterface.vb:line 270

 

 

However the file is there. 

 

907,264 System.Data.SQLite.dll,  verion 1.0.86.0, SQLite version: 3.7.17. I
assume this is the interop file that also has the native sqlite inside.

 

 

As I mentioned, I deployed the same folder (also after deploying .NET 4.0).

 

Any ideas?

 

Thanks

Andreas

 

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to