Platform SDK: Transaction Server

Monitoring MTS Transactions

[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]

You can administer transactions in MTS applications by using the transaction windows in the MTS Explorer. The Trace Message, Transaction Statistics, and Transaction List windows provide valuable information about the status of transactions managed by the Microsoft Distributed Transaction Coordinator (MS DTC).

Note Transactions are automatically aborted if the transaction does not complete within the default timeout of 60 seconds. You can modify the transaction timeout by modifying the Options tab for My Computer.

You can use the Transaction List window to resolve transaction states. For more information, see the Resolving MTS Transactions topic.

To monitor transactions using the Transaction List

  1. In the left pane of the MTS Explorer, select the computer that is hosting the transactions.
  2. Double-click the Transaction List icon.
  3. Right-click anywhere in the right pane, and point to the View command on the shortcut menu.
  4. On the View submenu, click one of the following:

Displays transactions as large icons.

Displays transactions as small icons.

Note The Small Icon and List commands display the most transactions at any one time. Properties provides the most information about the transactions, and Large Icon displays transactions in the most readable format.

To view transaction statistics

  1. In the left pane of the MTS Explorer, select the computer where you want to view transaction statistics.
  2. Double-click the Transaction Statistics icon.

To view trace messages

  1. In the left pane of the MTS Explorer, select the computer that is hosting the transactions.
  2. Double-click the Trace Messages icon.

The MS DTC Transaction Statistics window is displayed in the right pane.

Transaction Properties

You can view transaction properties by selecting the Properties command after right-clicking a selected transaction. The Properties command lists all transaction managers that are involved in the transaction. For a child transaction, the Properties command lists the immediate parent of transactions. If the transaction is a parent transaction, then the immediate child transaction(s) are listed.

See Also

Understanding MTS Transactions, Monitoring MTS Transactions with Windows 98, Understanding MTS Transaction States, Resolving MTS Transactions, Transaction List, Transaction Statistics, Transaction Icons, Trace Messages