Bug #52352 .net connector install fails due to missing machine.config bug fix
Submitted: 25 Mar 2010 6:54 Modified: 28 Jun 2010 15:43
Reporter: Nick Rellion Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:6.3.1 OS:Microsoft Windows
Assigned to: Reggie Burnett CPU Architecture:Any

[25 Mar 2010 6:54] Nick Rellion
Description:
The connector assumes a machine.config file if the CONFIG directory exists, it should just skip over that version if there is no machine.config.

How to repeat:
Have a config folder in a .net version without a machine.config inside (seems this can occur with older versions of .net)

Suggested fix:
ensure machine.config exists before trying to do edits on it.
[6 Apr 2010 7:53] Tonci Grgin
Hi Nick and thanks for your catch.

I do not believe .NET FW is of much use without machine.config but we should check anyways.
[6 Apr 2010 8:05] Nick Rellion
Definitely is of no use, problem is old versions of .net may exist in this situation (basically uninstalled but a few folders remaining) so when the connector goes to install itself into every .net version setup fails and rolls back because it can't properly handle the situation of a missing machine.config in older version.
[27 May 2010 13:58] Will Witte
have you heard of this error also affecting the unistall/ repair from running on a  machine.  I currently have a situation where I am needing to reinstall the connector, but i get an error when trying to repair or unistall it.
[25 Jun 2010 17:04] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/112239

884 Reggie Burnett	2010-06-25
      - changed installer code to skip over config folders that do not contain a machine.config (bug #52352)
[25 Jun 2010 17:16] Reggie Burnett
Fixed in 6.3.3
[28 Jun 2010 15:43] Tony Bedford
An entry has been added to the 6.3.3 changelog:

The MySQL Connector/NET installation failed due to machine.config files not being present in configuration folders.

MySQL Connector/NET has been changed to skip over configuration folders that do not contain a machine.config file.