Today,I had a transaction timeout problem with the TransactionScope object.
I set up a performance monitoring system in a (heavy) .NET application. One of the tasks is extremely heavy and each call terminates by a TransactionInDoubtException with a timeout message in the InnerException.
After some requests on Google and my colleagues, I found the solution which is to modify the machine.config file.
Here is the code to add into the machine.config file. (C:\Windows\Microsoft.NET\Framework\YOUR_FRAMEWORK\Config).
<system.transactions>
<machineSettings maxTimeout="01:30:00" />
</system.transactions>
More information (MSDN)




