Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

Have a weird problem (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 1447


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>