Click here to Skip to main content
15,441,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
We are working on the desktop based application (Getting build on .Net Framework 2.0 using VS 2005 IDE). The system is using “SQLite” DB to store used supplied data. To facilitate this - app is using 32-bit compatible “System.Data.SQLite” DLL.

While running this program in a Windows 7, 64 bit operating system am getting an error like "Could not load file or assembly "system.data.sqlite, version 1.0.48.0 ......."
I tried to change the dll with the 64 bit one .. but i was getting some other error.
Can any one help me on this
Thanks in advnace
Posted

1 solution

The easiest way around this, is to build your application so it's explicitly 32 bit. Then your app will run in 32 bit mode on a 64 bit machine, and thus be able to use your 32 bit dll. 'Some other error' is a meaningless statement, if you want to run it as 64 bit, you need to use the 64 bit dll and tell us the ACTUAL error message, so we can help with it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900