From: MartinT <mar...@ya...> - 2009-09-23 07:21:19
|
Hi, sorry for double posting but I am under bit of pressure. Is the TransactionScope not fully supported by Firebird, or am I doign something wrong in my method calls to generate this problem, thanks MartinT wrote: > > im trying to utilise the transactionscope in .net with the latest driver > v2.5.1. when i use a TransactionScope object and execute operations within > the same FbConnection, it works OK. however when i execute operations on > separate FbConnections (with the same connection strings) then i am > receiving the following exception: > > System.ArgumentException was unhandled > Message="Unable to enlist in transaction, a local transaction already > exists" > Source="FirebirdSql.Data.FirebirdClient" > StackTrace: > at > FirebirdSql.Data.FirebirdClient.FbConnectionInternal.EnlistTransaction(Transaction > transaction) > at FirebirdSql.Data.FirebirdClient.FbConnection.Open() > at ... bla bla bla ... > > help much appreciated as the usage of TransactionScope will save us heaps > of work rewriting data access layer code. thanks. > -- View this message in context: http://www.nabble.com/TransactionScope-%22Unable-to-enlist-in-transaction%2C-a-local-transaction-already-exists%22-tp25530564p25531008.html Sent from the firebird-net-provider mailing list archive at Nabble.com. |