Win7 64bit system Winfrom failed to load file or assembly "System.Data.SQLite" workaround

Source: Internet
Author: User

The following error occurred while debugging the program under the Win7 64bit system:

Failed to load file or assembly "System.Data.SQLite" or one of its dependencies. An attempt was made to load a program that is not properly formatted.

In fact, the System.Data.SQLite.dll control is 32bit by default, and another control is used under the 64bit system.

can go here http://sourceforge.net/projects/sqlite-dotnet2/files/download an installer package, after installation in D:\Program files (x86) \sqlite.net\bin\ x64 (my program is installed in the D-drive) This directory also has a System.Data.SQLite.DLL file, as long as the file is referenced in the program this can be.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.