Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Enterprise
Expertise: Intermediate
Jul 14, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

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.
Deepak Pant
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date