How to solve the. net program running error after mysql installation, mysql.net
Problems Found
An error occurred while running the. net program after installing mysql recently:
Error location: C: \ Windows \ Microsoft. NET \ Framework \ v4.0.30319 \ Config \ machine. config
Error message: failed to Load file or assembly "MySql. ConnectorInstaller, Version = 6.10.5.0, Culture = neutral, PublicKeyToken = c5687fc88969c44d" or one of its dependencies. The system cannot find the specified file.
Figure:
Cause:
When you install MySQL. NET ctor 6.9.4 (or other versions), this annoying error occurs because if you do not deselect "Web Providers" during installation ", it will write to your machine. in the config file, this will cause you to encounter this error.
Correct Solution:
Download Connector/Net 6.10.6 and then cancel the Wen Providers option and run it to finish.
The MySQLMembershipProvider node in the machine. config file disappears.
The program runs normally.