R
Ranjith T Rajan
Guest
Hello All,
I am getting a transaction time out exception from my application whenever my transaction is going beyond 10 minutes.
When I searched in the internet, i found some solutions to set MaxTimeOut = "02:00:00 property for machine settings in <system.transations> tag in machine.config file.But this isn't help me to solve this issue.
So I was very worried about this issue.This scenario is given below.Please
using (TransactionScope ts = new TransactionScope(TransactionScopeOption.Required, new TimeSpan(0, 15, 0)))
{
// Do something on DB (minimum 10 mnts or put Thread.Sleep(new TimeSpan(0,10,0)))
ts.Complete(); //not called because of error, timeout, if transaction time exceeds 10 mnts.
}
Please help me to solve this big issue.I am very thankful if you could provide me some solution for this issue.
Regards, Ranjith T Rajan Acty System India Pvt Ltd.
Continue reading...
I am getting a transaction time out exception from my application whenever my transaction is going beyond 10 minutes.
When I searched in the internet, i found some solutions to set MaxTimeOut = "02:00:00 property for machine settings in <system.transations> tag in machine.config file.But this isn't help me to solve this issue.
So I was very worried about this issue.This scenario is given below.Please
using (TransactionScope ts = new TransactionScope(TransactionScopeOption.Required, new TimeSpan(0, 15, 0)))
{
// Do something on DB (minimum 10 mnts or put Thread.Sleep(new TimeSpan(0,10,0)))
ts.Complete(); //not called because of error, timeout, if transaction time exceeds 10 mnts.
}
Please help me to solve this big issue.I am very thankful if you could provide me some solution for this issue.
Regards, Ranjith T Rajan Acty System India Pvt Ltd.
Continue reading...