https://bugzilla.novell.com/show_bug.cgi?id=381151
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=381151#c21 --- Comment #21 from Veerapuram Varadhan <[EMAIL PROTECTED]> 2008-04-29 12:07:36 MST --- While working on the fix, found out that this will still hang - even after the fix, when you close/open the connection in the catch block of Mark's sample program. --- snip code ---- try { SqlDataReader datr = cmd.ExecuteReader(); Console.WriteLine("Records Affected: "+datr.RecordsAffected.ToString()); Console.ReadLine(); while (datr.Read()) { Console.WriteLine(datr.GetValue(1)); } //Works OK datr.Close(); } catch(Exception exc) { Console.WriteLine(exc.ToString()); //Console.ReadLine(); Console.WriteLine("--DataReader threw exception--"); cnn1.Close(); Console.WriteLine("--Closed Connection--"); cnn1.Open(); Console.WriteLine("--Reopened Connection--"); } --- snip code --- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
