[Mono-bugs] [Bug 75904][Maj] New - Can't begin new transaction if previous was rolled back

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 25 07:39:11 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by krylovbv at mail.ru.


--- shadow/75904	2005-08-25 07:39:11.000000000 -0400
+++ shadow/75904.tmp.32612	2005-08-25 07:39:11.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 75904
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: Sys.Data.SqlClient
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: krylovbv at mail.ru               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Can't  begin new transaction if previous was rolled back
+Description of Problem:
+Can't open new transaction jn same connection if previous was rollback
+Steps to reproduce the problem:
+1. Complie foolling code
+SqlConnection con = new SqlConnection("server=localhost;user id=sa;password=");
+using(SqlTransaction tran = con.BeginTransaction()) {
+	tran.Rollback();
+Actual Results:
+Throws Exception
+Unhandled Exception: System.InvalidOperationException: SqlConnection does
+not support parallel transactions.
+in [0x000d2] System.Data.SqlClient.SqlConnection:BeginTransaction
+(IsolationLevel iso, System.String transactionName)
+in (wrapper remoting-invoke-with-check)
+in [0x0000b] (at
+Client.SqlConnection:BeginTransaction ()
+in (wrapper remoting-invoke-with-check)
+System.Data.SqlClient.SqlConnection:BeginTransaction ()
+in <0x000a6> TestMono.Class1:Main (System.String[] args)
+Expected Results:
+No exception expected

More information about the mono-bugs mailing list