Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7850925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:01:24+00:00 2026-06-02T19:01:24+00:00

using (TransactionScope transaction = TransactionScopeManager.GetTransactionScope(Settings.Import.TimeOut)) { Logger.Trace.DebugFormat(Import Deduction timeout: <{0}>, Settings.Import.TimeOut); //Logger shows Import

  • 0
using (TransactionScope transaction = TransactionScopeManager.GetTransactionScope(Settings.Import.TimeOut))
{
    Logger.Trace.DebugFormat("Import Deduction timeout: <{0}>", Settings.Import.TimeOut);
    //Logger shows "Import Deduction timeout: <30>"
    //more code
}

But transaction always run only 10 minutes.
I have changed section :

 <system.transactions>
     <machineSettings maxTimeout=″01:30:00″/>
 </system.transactions>

But it still continues failing after 10 minutes.
Why?

Kindly help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:01:27+00:00Added an answer on June 2, 2026 at 7:01 pm

    As per http://msdn.microsoft.com/en-us/library/ms149852(v=vs.90).aspx:

    In machine config, there is a value that caps the timeouts. By
    default, it is 10 minutes. So, if you set a timeout greater than 10
    mins, in System.Transactions, your value will be ignored and the
    system will act as if the timeout is 10 minutes.

    See
    http://msdn.microsoft.com/en-us/library/system.transactions.configuration.machinesettingssection.maxtimeout.aspx
    and

    http://social.msdn.microsoft.com/Forums/en-US/windowstransactionsprogramming/thread/ba508c2b-af91-490c-a05c-e4bf92f81cc6
    and

    http://blogs.msdn.com/ajit/archive/2008/06/18/override-the-system-transactions-default-timeout-of-10-minutes-in-the-code.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code in Transaction.cs using (TransactionScope scope = new TransactionScope()) { //
In my code I'm attempting to use a transaction using TransactionScope with Entity Framework.
I have some code using a System.Transactions.TransactionScope , that creating a new instance of
In my C# code I am using TransactionScope because I was told not to
I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I
I am using the below code to apply the transaction scope TransactionOptions transOption =
Code double timeout_in_hours = 6.0; MyDataContext db = new MyDataContext(); using (TransactionScope tran =
In my application I have the following pattern: using (TransactionScope transaction = new TransactionScope(TransactionScopeOption.Required))
Is it worth using System.Transactions.TransactionScope on Linq to Entities? On the MS documentation ,
I'm using System.Transactions and Transaction scope for my transaction handling in conjunction with the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.