[Mono-dev] Transaction was not open

APS dev.malst at apsystems.it
Wed Nov 28 12:01:56 EST 2007


I forgot to say that I'm using SQLConnection, with Oracle e MySQL 
everything works well.

At 16.53 28/11/2007, APS wrote:
>Hi, I have a simple method that
>
>-Open a connection
>-start a transaction
>-execute a query
>-commit the transaction
>
>When the commit is called I receive
>
>
>
>System.InvalidOperationException: The Transaction was not open.
>   at System.Data.SqlClient.SqlTransaction.Commit () [0x00000]
>
>I've found this bug but it should be fixed year ago 
>https://bugzilla.novell.com/show_bug.cgi?id=MONO66754
>Please ask if you need full source code.
>
>I use mono 1.2.4
>Thanks in advance.
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071128/4b7ad9aa/attachment.html 


More information about the Mono-devel-list mailing list