How to solve an error in codesmith 4.1 connection to MySQL (MySQL 5.0.7)

Source: Internet
Author: User
Always use codesmith to generate Oracle CodeRecently, you have to perform operations on MySQL,

Codesmith connection to MySQL error found,

Prompt "failed to Load file orProgramSet "mysql. Data, version = 5.0.7.0, culture = neutral, publickeytoken = c5687fc88969c44d" or one of its dependencies. The Assembly list definition found does not match the Assembly reference. (Exception from hresult: 0x80131040 )"
Copy mysql. Data. DLL to the bin directory under codesmith. The call is still incorrect,
Later, we can see that the mysql. Data. dll file version is 5.2.1.0, which is larger than the error message. It seems that we need to try the next 5.0.7.0,
Is http://ftp.ntu.edu.tw/pub/MySQL/Downloads/Connector-Net/mysql-connector-net-5.0.7-noinstall.zip,
Copy the mysql. Data. dll file to the bin directory under codesmith again, and then configure the test. OK.
It seems that codesmith has killed the database program calling and should be set to a configuration file to allow users to define their own versions so that they can be more flexible.

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.