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