Bug #53931 Connection details dialog disappearing in Visual Studio when trying to Add Con
Submitted: 24 May 2010 3:40 Modified: 25 Jun 2010 19:28
Reporter: Dennis Schindler-Thomsen Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.3.1 OS:Windows
Assigned to: Reggie Burnett CPU Architecture:Any
Tags: Add connection, closes, dialog, disappearing, Visual Studio

[24 May 2010 3:40] Dennis Schindler-Thomsen
Description:
When trying to add a connection in Visual Studio 2010 having installed the 6.3.1 Connector/Net, the details dialog that pops up to enter user/password/server in, disappears as the first character is typed in either input field.

After having spent hours on researching this issue, this past bug sounds like a perfect match but should be fixed by now:

http://bugs.mysql.com/bug.php?id=31731

This should be the patch:

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

And that goes with an old version of the connector/Net.

My scenario is more or less the exact match:

Having MySQL server 5.1 running locally on my development machine, no issues what so ever on connecting from the MySQL workbench and so forth. ODBC connectivity to this server instance has also been established.

Then i installed Visual Studio 2010 and after that it gets a bit cloudy. I did several attempts on installing the connector/Net in several versions and none showed up in the dialog in Visual studio when even trying to add a connection. I then found this stream in the forums regarding renaming the config directories and so i did and suddenly i could see the connector/Net in Visual Studio:

http://forums.mysql.com/read.php?38,354259,354259#msg-354259

Is there a manual work around for defining a data connection in Visual studio so one does not have to use this "dialog"?

Thanks - Any help/input is greatly appreciated!

Dennis

How to repeat:
See desc above.
[25 Jun 2010 19:28] Reggie Burnett
This is caused by mysql.data.dll not being registered in the gac.  Please try with 6.3.2 and report back if it still fails.