Bug #99494 Unable to remove connector 8.0 .NET
Submitted: 8 May 21:53 Modified: 6 Jul 14:16
Reporter: Benoit Caron Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:8.0 OS:Microsoft Windows (10)
Assigned to: CPU Architecture:x86

[8 May 21:53] Benoit Caron
Description:
Instaleled everything with the community installer, when i start Visual Studio 2019 and try to create a connection to mysql in a .NET C# program get an error that for 2019 was not install correctly.

Had probleme removing everything, no connector 8.0 refuse to be removed.

get this error in the log

Beginning remove step: Removing product Connector/NET 8.0.20
1: Action 17:44:30: INSTALL. 
1: 1: MySQL Connector Net 8.0.20 2: {604BC814-D486-4C47-873F-118CF14F4F66} 
1: Action 17:44:30: FindRelatedProducts. Searching for related applications
1: Action 17:44:30: AppSearch. Searching for installed applications
1: Action 17:44:30: LaunchConditions. Evaluating launch conditions
1: Action 17:44:30: ValidateProductID. 
1: Action 17:44:30: CostInitialize. Computing space requirements
1: Action 17:44:30: FileCost. Computing space requirements
1: Action 17:44:30: CostFinalize. Computing space requirements
1: Action 17:44:30: InstallValidate. Validating install
1: Action 17:44:30: Setv45InstallUtil. 
1: Action 17:44:30: InstallInitialize. 
1: Action 17:44:30: GenerateScript. Generating script operations for action:
1: InstallInitialize
1: Action 17:44:30: RemoveExistingProducts. Removing applications
1: Action 17:44:30: ProcessComponents. Updating component registration
1: 
1: Action 17:44:30: MsiUnpublishAssemblies. Unpublishing assembly information
1: Application Context:Unpublishing assembly information, Assembly Name:
1: Action 17:44:31: UnpublishFeatures. Unpublishing Product Features
1: Feature: Unpublishing Product Features
1: Action 17:44:31: UninstallPerfCounterData. 
1: Action 17:44:31: RollbackUnregisterPerfCounterData. 
1: 
1: Action 17:44:31: UnregisterPerfCounterData. 
1: 
1: Action 17:44:31: RemoveRegistryValues. Removing system registry values
1: Key: Removing system registry values, Name: 
1: Action 17:44:31: RemoveShortcuts. Removing shortcuts
1: Shortcut: Removing shortcuts
1: Action 17:44:31: ManagedDataUnInstallSetup. 
1: Action 17:44:31: ManagedDataUnInstall. Unregistering data provider from machine.config
1: Action 17:44:31: ManagedWebUnInstallSetup. 
1: 
1: Action 17:44:31: RemoveFiles. Removing files
1: File: Removing files, Directory: 
1: Action 17:44:31: RemoveFolders. Removing folders
1: Folder: Removing folders
1: Action 17:44:31: CreateFolders. Creating folders
1: Action 17:44:31: InstallFiles. Copying new files
1: Action 17:44:31: CreateShortcuts. Creating shortcuts
1: Action 17:44:31: WriteRegistryValues. Writing system registry values
1: Action 17:44:31: InstallPerfCounterData. 
1: Action 17:44:31: RegisterUser. Registering user
1: Action 17:44:31: RegisterProduct. Registering product
1: Action 17:44:31: MsiPublishAssemblies. Publishing assembly information
1: Action 17:44:31: PublishFeatures. Publishing Product Features
1: Action 17:44:31: PublishProduct. Publishing product information
1: 
1: Action 17:44:31: InstallFinalize. 
1: Action 17:44:31: InstallInitialize. 
1: Action 17:44:31: ProcessComponents. Updating component registration
1: Action 17:44:31: MsiUnpublishAssemblies. Unpublishing assembly information
1: Application Context:Global, Assembly Name:MySql.Data,version="8.0.20.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:Google.Protobuf,version="3.6.1.0",culture="neutral",publicKeyToken="A7D26565BAC4D604",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:BouncyCastle.Crypto,version="1.8.3.0",culture="neutral",publicKeyToken="0E99375E54769942"
1: Application Context:Global, Assembly Name:Renci.SshNet,version="2016.1.0.0",culture="neutral",publicKeyToken="1CEE9F8BDE3DB106",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:SshNet.Security.Cryptography,version="1.2.0.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:Ubiety.Dns.Core,version="2.2.1.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:Zstandard.Net,version="1.1.7.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:K4os.Compression.LZ4,version="1.1.11.0",culture="neutral",publicKeyToken="2186FA9121EF231D",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:K4os.Compression.LZ4.Streams,version="1.1.11.0",culture="neutral",publicKeyToken="2186FA9121EF231D",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:K4os.Hash.xxHash,version="1.0.6.0",culture="neutral",publicKeyToken="32CD54395057CEC3",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:System.Buffers,version="4.0.3.0",culture="neutral",publicKeyToken="CC7B13FFCD2DDD51",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:System.Runtime.CompilerServices.Unsafe,version="4.0.4.1",culture="neutral",publicKeyToken="B03F5F7F11D50A3A",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:MySql.Web,version="8.0.20.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
1: Action 17:44:31: UnpublishFeatures. Unpublishing Product Features
1: Feature: EntityFramework
1: Feature: Core.Feature
1: Feature: WebProviders
1: Feature: Plugins
1: Action 17:44:31: RollbackUnregisterPerfCounterData. 
1: Action 17:44:31: UnregisterPerfCounterData. 
1: Action 17:44:31: RemoveRegistryValues. Removing system registry values
1: Key: \Software\MySQL AB, Name: Default
1: Key: \Software\MySQL AB\MySQL Connector/Net, Name: Version
1: Key: \Software\MySQL AB\MySQL Connector/Net, Name: Location
1: Key: \Software\MySQL AB\MySQL Connector/Net, Name: 
1: Key: \SOFTWARE\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx\MySQL Connector Net 8.0.20 v4.5.1, Name: 
1: Key: \SOFTWARE\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx\MySQL Connector Net 8.0.20 v4.5.1, Name: 
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Linkage, Name: Export
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: 
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: Library
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: Open
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: Collect
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: Close
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: IsMultiInstance
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: Counter Names
1: Key: \SYSTEM\CurrentControlSet\Services\.NET Data Provider for MySQL\Performance, Name: Counter Types
1: Action 17:44:32: RemoveShortcuts. Removing shortcuts
1: Shortcut: upfn1-0t|Documentation
1: Shortcut: vaitcdd6|ChangeLog
1: Shortcut: _rq6aex9|Release Notes
1: Action 17:44:33: ManagedDataUnInstall. Unregistering data provider from machine.config
1: Action 17:44:33: Rollback. Rolling back action:
1: Unregistering data provider from machine.config
1: Removing shortcuts
1: Removing system registry values
1: UnregisterPerfCounterData
1: RollbackUnregisterPerfCounterData
1: Unpublishing Product Features
1: Unpublishing assembly information
1: Updating component registration
1: InstallInitialize
1: 1: MySQL Connector Net 8.0.20 2: {604BC814-D486-4C47-873F-118CF14F4F66} 3: 3 
1: The action 'Remove' for product 'Connector/NET 8.0.20' failed.

Ended remove step: Removing product Connector/NET 8.0.20

How to repeat:
Try to uninstall the thing that it.  get the same problem using the msi installer you provided or the Add remove programm of windows.
[6 Jul 14:16] MySQL Verification Team
Thank you for the bug report. I was unable to repeat this issue on 3 different computer running Windows 10 Pro.