Rank: Member
Joined: 10/1/2008 Posts: 18 Location: Germany
|
Hi,
I got an error running gsweb after compiling:
running the already compiled version everything is o.k. (application is running, db is fine).
Exchanging the dll's with my compiled ones (nothing changed) results in an Assembly System.Data.SQLite assembly load failure (same .config files). Application error is: Assembly...SQLite not found, tried to load an assembly with wrong format, SystemBadImageFormatException).
the compiled project also shows that error. (using the .net 3.5 sqlserver web.config).
Ralf.
|
Rank: Administration
Joined: 8/3/2007 Posts: 847 Location: Fort Atkinson, WI
|
My guess is you are compiling it on a 32-bit operating system. Go into the assembly\x64 folder of the SQLite project and delete System.Data.SQLite.dll. That will force Visual Studio to use the 32-bit version in the x86 directory.
As best I can tell, this is a problem with Visual Studio. My dev PC is x64, but I changed the project reference to use the 32-bit version in the code you downloaded. However, Visual Studio *still* tries to use the 64-bit version.
Roger Martin Lead Developer for Gallery Server Pro
|
Rank: Member
Joined: 10/1/2008 Posts: 18 Location: Germany
|
WOW! THX!
so simple. and it worked :-)
Ralf.
|