vendredi 29 janvier 2016

C# unable to create object of sql-lite class "SQLiteConnection"

I am trying to create the object of SQLiteConnection which is giving an error

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

Its working fine I check Prefer 32 bit as shown in the following screenshot

enter image description here

The problem is that I can not check the Prefer 32 bit because the live project is quite huge and if I check it up then some other issues may occur.

Many thanks for any help.

Aucun commentaire:

Enregistrer un commentaire