Avoid Automatic Transaction Aborts Under MTS

Avoid Automatic Transaction Aborts Under MTS

If you are developing COM components that run under MTS (Microsoft Transaction Server), you will notice that many times your transaction automatically gets aborted. You can easily avoid this situation by modifying the transaction time-out value. Select the “My Computer” icon in MTS and click on the File | Properties menu or do a right mouse click on “My Computer” and select Properties. You can use the Options tab in this dialog window to set the computer’s transaction time-out property. The transaction time-out value is measured in seconds and indicates the maximum time period that transactions started on this computer can remain active. The system automatically aborts transactions that remain active beyond the specified time. The default value is 60 seconds. You can disable transaction timeouts by specifying the value 0; this setting is particularly useful when debugging MTS applications.

See also  How to Create and Deploy QR Codes Online: A Comprehensive Guide

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist