Thanks for the reply, Joe. I truly appreciate it.
On 1/23/2014 13:47, Joe Mistachkin wrote:
Bo Gusman wrote:
System.MissingMethodException was unhandled
Message="Could not load type 'System.Data.SQLite.SQLiteConnection'
from assembly 'System.Data.SQLite, Version=1.0.90.0, Culture=neutral,
PublicKeyToken=1FDB50B1B62B4C84'."
What method is it trying to call at that point?
In my simple test project, it is failing when attempting to open the
connection. The same is true in the larger project with the 0.87 version
that has been working for months (and is now failing).
testce works however, and I've looked over code and see nothing there
that is in any significant way different than what I'm doing in my test
code.
Also, that is NOT the correct public key token for the assembly. The
correct one is "db937bc2d44ff139".
Hmmm, I've got both the released 0.87 and 0.90 versions from the
download site and they both report the same public key token -
1fdb50b1b62b4c84 (sn -T system.data.sqlite.dll)
There are a couple things to double check:
1. Make sure that you are using the .NET Compact Framework build of
System.Data.SQLite corresponding to the version actually installed
on the target device (e.g. 2.0, 3.5, or 3.9).
I do note that the 0.90 release says "The .NET Compact Framework 3.5 is
required." This won't work for me as I must compile/deploy on a 2.0 CF
only device. I've not found an official release that specifically
targets 2.0. Have I missed it somewhere?
2. Make sure that the application has been compiled (or recompiled)
while referencing the correct version of the System.Data.SQLite
managed assembly.
3. Make sure the public key token in use matches the one expected by
the application (see above).
I'm leaning strongly toward this being an issue, although it won't
explain why my original code is no longer working.
Thanks again for your help. I'm really up against a wall.
Bo
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users