Bug #27097 Issue in the MySql Connector 5.0.3 with Visual Studio.net 2.0
Submitted: 13 Mar 2007 17:26 Modified: 13 Mar 2007 20:18
Reporter: Yogesh Dhend Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:5.0.3 OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: Connection, Mysql Connector issues, Object reference not set to an instance

[13 Mar 2007 17:26] Yogesh Dhend
Description:
I Have a visual studio 2005 running on an xp machine with connector 5.0.3. Some time when i try to connect to Mysql server,I am getting the error with the message "Object reference not set to an instance of an object". After that i am not able to connect till I restart My machine.  

How to repeat:
the code i use to connection the MYSQl server with in a function.

Dim con as MySqlConnection 
try
con = New MySqlConnection()
with con
.ConnectionString = AppSettings("ConnectionString")
.Open()           
end with
Catch ex As Exception
Throw ex
End Try
[13 Mar 2007 20:18] Tonci Grgin
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.

Explanation: This is a duplicate of Bug#23920. Please post your findings there.