in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

X64 Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format

Last post 02-16-2010 3:26 AM by Knch. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-15-2010 2:30 AM

    • rajesh
    • Not Ranked
    • Joined on 02-15-2010
    • Posts 1

    X64 Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format

    " Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format."

     The above error i m getting on the runtime. application with same dll is working fine on 32 bit version of OS. but when i got 64 bit version of OS and configured app. and instalole don iis, then i got this error on 64 bit version of os.

    Please help me to resolve ti.

    Thanks in advance.

    Rajesh

  • 02-16-2010 3:26 AM In reply to

    • Knch
    • Top 50 Contributor
    • Joined on 02-10-2009
    • Posts 30

    Re: X64 Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format

    Either set the platform target of your application to x86 or reference the 64bit library under /bin/x64.
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems