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

MySql.data.cf.dll Hangs on open() (no replies)

$
0
0
MySql.data.cf.dll Hangs on the connection.open() no exception thrown it just stays on the open() method. I am developing in C# for Windows Mobile 6.

MySqlConnection conn = new MySqlConnection(
"server=IP; port=3306; User Id=USERID;password=password;Persist Security Info = True;database=test; pooling=false");
Cursor.Current = Cursors.WaitCursor;
try
{
conn.Open();
MessageBox.Show("open");
}
catch (System.Resources.MissingManifestResourceException ex)
{
MessageBox.Show(ex.Message);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
conn.Close();
}
Cursor.Current = Cursors.Default;

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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