Setting the Transaction Time-Out

You can manually set the time-out for transactions by using the Component Services administrative tool, or you can programmatically configure the time-out by using the COM+ administration interfaces. The time-out can be configured at the local computer level and also for individual components.

To set the transaction time-out for the local computer by using the Component Services administrative tool

  1. In the console tree, right-click the local computer you want to configure and then click Properties.

  2. In the computer properties dialog box, click the Options tab.

  3. Under Transaction Timeout, enter the transaction time-out in seconds. The default time-out is 60 seconds.

  4. Click OK.

To set the transaction time-out for a component by using the Component Services administrative tool

  1. In the console tree, right-click the component you want to configure and then click Properties.

  2. In the component properties dialog box, click the Transactions tab.

  3. Check the box labeled Override global transaction timeout value.

    Note

    You cannot check the box to override the global transaction time-out value if the Transaction support is set to Disabled, Not Supported, or Supported.

     

  4. Under Transaction Timeout, enter the transaction time-out in seconds. The default time-out is 0 seconds, which means that the component will never cause the transaction to time out.

  5. Click OK.

Managing Automatic Transactions in COM+