Monday, November 5, 2012

Installing SqLite on Windows 7 Error ( Could not load file or assembly 'System.Data.SQLite,)



I got this error while installing SQLite on windows 7

Could not load file or assembly 'System.Data.SQLite, Version=1.0.80.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Solution :

Project -> <project_name>_properties -> Build -> Platform target (Change it from Any PC to x86)

This solve the issue