Recently I was working on a strange problem faced by a development team.They had used .NET 2.0 Lightweight Transaction Manager provided by the classes under System.Transaction namespace.Within the TransactionScope a long running database job was executing.They faced an intermittent TransactionAbortedException saying “Transaction has been aborted”. After taking a look into the code it was found [...]
Posts Tagged ‘Transactions’
Transaction Timeout in System.Transactions
Posted: February 1, 2009 in .NET, TransactionsTags: System.Transaction, Transactions
In this post I will discuss about the basics of implementing a transaction aware WCF Service.Like many other features of WCF a transaction aware service can be very easily implemented using the declarative programming model and configuration settings. The important attributes related to transaction are: TransactionFlow This attribute determines how a transaction should flow from [...]
Distributed Transactions,WS-COOR,WS-AT
Posted: August 10, 2008 in .NET, Transactions, WCFTags: .NET, Transactions, WCF
In my last post I had discussed about the Lightweight Transaction Manager(LTM) introduced with .NET 2.0.In this post we will take a look at MSDTC and how we can handle distributed transactions. Microsoft Distributed Transaction Coordinator(MSDTC) can handle transactions with 1) Multiple Durable Resource Managers 2) Transaction Flow crossing process and machine boundaries. As we [...]
Transaction By transaction we mean a group of tasks which are executed together.If anything goes wrong in any one of them then outcome of theĀ entire set is rolled back.After rollback the system returns to it’s original state i.e. the state before execution of transaction started.Changes are only committed if all the tasks are completed without [...]

