Bug #13357 MySQLConnection.Open() show an error when .Net Framework 2.0 is installed
Submitted: 20 Sep 2005 20:20 Modified: 23 Oct 2005 15:40
Reporter: Abraham Echenique Carta Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:1.0 OS:Windows (Windows XP)
Assigned to: Assigned Account CPU Architecture:Any

[20 Sep 2005 20:20] Abraham Echenique Carta
Description:
When .Net Framework Beta 2 is installed in the machine, the MySQLConnections do not open. They show an error message "Unable to find any MySQL host".

How to repeat:
Install .Net Framework 1.1.
Install .Net Framework 2.0 Beta 2

Create a ASP.Net Web Form (.aspx), in the wwwroot.

Try to create a MySQL Conection In visual basic .Net, so that:

Private Sub Page_Load(ByVal sender As System.Object, _
  ByVal e As System.EventArgs) Handles MyBase.Load
  
  Dim oConn As New MySQLConnection("host=localhost;port=3306;username=root")
  oConn.Open()

  oConn.Close()
End Sub

Execute the web form.
 
The .Open() method generates an error.

Suggested fix:
???
[20 Sep 2005 21:37] Reggie Burnett
Abraham

THis is not true.  I have had beta 2 installed on my machine for some time.  I now have .NET 2.0 RC1 installed and everything still works ok.  However, what could be happening is that you are using the connector with a .NET 2.0 project.  It's entirely possible that the connector has some issue when run on the .NET 2.0 runtime.  Note that I plan to include a .NET 2.0 build of the connector in an upcoming release.
[23 Oct 2005 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".