Have a weird problem
Posted by: Thavarajan Mathivanan
Date: July 18, 2015 02:38AM

This is my code

Private Sub btnTestConn_Click(sender As System.Object, e As System.EventArgs) Handles btnTestConn.Click
Using Mycon As New MySqlConnection
Try
Dim C As String = String.Format("Server={0};Database={1};Uid={2};Pwd={3};Port={4};Pooling=True;ConnectionReset=True;", Me.Server, Me.dDatabase, Me.USername, Me.password, Me.txtPort.Text)
Mycon.ConnectionString = C
Mycon.Open()
Catch ex As Exception
MsgBox(ex.Message)
Exit Sub
End Try
General.ShowSuccessMsg(FileResources.GetString("ECVerifyMe.ConnOK"))
End Using
End Sub

it make a crash to my application on the mycon.open()
previously the same connction open's perfectly,

what the weird this it is not even handled by the catch it crash my application

after some analysis i went to the event log viewer it show me the some info but error on mswsock.dll

any guidance will help me

Options: ReplyQuote


Subject
Written By
Posted
Have a weird problem
July 18, 2015 02:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.