Here's the relevant part of my code:
adapter.Fill(table);
return;
}
catch(Exception ex)
{
SqlException sqlEx = ex as SqlException;
I have an exception that's being thrown by adapter.Fill(), and when I put a breakpoint on the first line in the exception handler, the Exception.Data property already contains a key that is unique to my application.
The thing is that it does not happen every time, but only when this exception is thrown within ~2 seconds of it last being thrown.
Explain that!!