Win7 MySQL connector/net loading problem

Source: Internet
Author: User

Issue 1: Uninstalling MySQL Connector Net 6.9.9 Uninstall program cannot be uninstalled

Method: Registry Search MySQL Connector Net 6.9.9 Delete all

*************************************************************************************************************** *

Issue 2: Unable to install MySQL Connector Net 8.0.10 installation is a direct rollback (this should not be a version-independent, I tried multiple versions can not be installed)

Method: Refer to Address https://stackoverflow.com/questions/28814244/ Cannot-uninstall-mysql-connector-net-6-9-3-failure-at-mysql-web-v20-dll

The workaround basically means that the MySQL installer has an error in configuring the operating system's machine.config, which can be verified by the following methods:

Console Run

c:\> C:\\me\downloads\< Span class= "PLN" >mysql-connector-net-6.9.3. MSI /lvx* C:\ users\me\downloads< Span class= "pun" >\mysql-connector-net-6.9.3- uninstall.

The. Log is available for viewing when the log files are installed, as follows:

System.NullReferenceException: Object reference not set to an instance of an object.
In MySql.ConnectorInstaller.WebCustomAction.AddRoleProvider (XmlDocument doc)
In MySql.ConnectorInstaller.WebCustomAction.AddProviderToMachineConfigInDir (String path)
In MySql.ConnectorInstaller.WebCustomAction.UpdateMachineConfigs (String rootpath, Boolean Add)
In MySql.ConnectorInstaller.WebCustomAction.AddProviderToMachineConfig ()
At MySql.ConnectorInstaller.WebCustomAction.WebInstall (Session session)

The explanation according to the reference address is that Machine.config has <clear/> This node, but the MySQL installation program is not recognized, the specific reason can see the reference address.

So it's convenient to empty the <clear/> in Machine.config and install and uninstall them. Note: Please back up before machine.config changes.

Spit Groove: This problem seems to be starting from 6.5 on the emergence of why the official will not be directly resolved, at least, is a big company Ah, pit Daddy, waste my two days

Win7 MySQL connector/net loading problem

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.