Bug #33636 MySQL.data.dll registration failure
Submitted: 2 Jan 2008 21:16 Modified: 4 Nov 2011 19:55
Reporter: Mark Sesler Email Updates:
Status: Unsupported Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:1.0.10.1 OS:Windows (XP Pro SP2)
Assigned to: CPU Architecture:Any

[2 Jan 2008 21:16] Mark Sesler
Description:
When I install version 1.0.10.1 of Connector/Net I get the error
"Registration of the Connector/NET core components failed".

When I try to register the dll using regsvr32 I get the following error
"...MySQL.data.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered."

Additional information:
"MySQL Connector/Net 1.0.10.1" is listed in the Add/Remove Programs from the Control Panel, but is not listed in the "Windows Install Clean Up" program.
The VB sample TableEditor connectors to MySQL. New applications using VB.Net 2003 will not connect to the database. Some of my older applications which used version  
1.0.9 will connect to the database using this new version.

How to repeat:
Uninstall version 1.0.10.1
Install version 1.0.10.1

Suggested fix:
None
[7 Jan 2008 14:47] Reggie Burnett
Mark

regsvr32 is for COM components which mysql.data is not.  The message that the registration failed is from a failure to register the assembly in the GAC.  Can you run the following from the command line and send me the resulting file?

<setup.exe> /LOG=setup.log
[7 Jan 2008 18:48] Mark Sesler
Requested log file

Attachment: setup.log (application/octet-stream, text), 9.77 KiB.

[9 Jan 2008 1:52] Reggie Burnett
Mark

Don't worry about it.  It appears that there is indeed a problem.  Your setup.log shows that the GAC registration failed so I'll setup a win98 VM and see if I can verify it.
[17 Jun 2008 19:33] Rick Chen
I'm also having this problem in Windows Server 2003 Web Edition. My website has been having the connection pool problem in 1.0.9. and I desperately need this version. Please help.
[29 Jul 2008 11:10] Tonci Grgin
Rick, please check that your firewall(s) are not blocking the setup. Also, do check GAC assembly.
[29 Aug 2008 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[31 Mar 2009 15:16] Jim H
I specified the installer in my firewall exception list and still received this error.  Has no further research been done on the issue?
[2 Apr 2009 16:04] Reggie Burnett
Mark

This is not a com library so you should not use regsvr32.  Also, are you really using .net 1.1?  If you are using .net 2.0 or higher please try our 5.x products.
[14 May 2009 2:13] Edmond Hassett
I too am having the same problem and I have seen many places that others are have the same or similar problems! WHAT are you doing about the problem other then ignoring it. Please let us know.
[21 Jul 2009 9:51] Tonci Grgin
Edmond, I truly don't know. As for myself, I have various MS OS on my boxes and was never able to repeat the problem persistently... It must have something to do with your particular configuration and/or UAC or something.
[20 Feb 2010 8:14] sushil kumar
i was getting same error with file mysql-connector-net-1.0.10.1.exe. But after trying with mysql-connector-odbc-5.1.6-win32.msi, i am able to successfully able to create odbc connection, and also did face the error.
[3 Nov 2011 23:16] Kevin Reeves
For some reason the assembly is not being registered in the GAC through the 1.0.10.1 installer.  But it is simple to do manually (assuming .Net Framework 1.1):

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>gacutil.exe /i "C:\Program Files\My
SQL\MySQL Connector Net 1.0.10.1\Binaries\.NET 1.1\MySql.Data.dll"

Microsoft (R) .NET Global Assembly Cache Utility.  Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Assembly successfully added to the cache
[4 Nov 2011 19:55] Reggie Burnett
Thank you for taking the time to report a problem.  Unfortunately you are not using a current version of the product you reported a problem with -- the problem might already be fixed. Please download a new version from http://www.mysql.com/downloads/

If you are able to reproduce the bug with one of the latest versions, please change the version on this bug report to the version you tested and change the status back to "Open".  Again, thank you for your continued support of MySQL.