I\'m getting this error every few days. I won\'t see the error for a few days then I\'ll get a flurry of 20 or so all with in a minute or so.
I\'ve been very thorough go
changing the code to something like this makes it easier to read..
try
{
myConnection.Open();
mySqlDataAdapter.Fill(myDataTable);
}
Catch (Exception err)
{
throw err;
}
finally
{
myConnection.Close();
}
But it doesn't help your timeout..
It sound like the fill statement takes to long. Or that the problem actually is somewhere else, where you don't the connection. SQL Profiling could help figuring out if the select statement takes to long..