Microsoft KB Archive/232533

= FIX: DTC Log Notification Problem Leaves Transactions Incomplete =

Article ID: 232533

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft Transaction Services 2.0, when used with:
 * Microsoft Windows NT 4.0

-



This article was previously published under Q232533



SYMPTOMS
When using Microsoft SQL Server, Microsoft Transaction Server, or the Distributed Transaction Coordinator (DTC) directly, distributed transactions sometimes do not complete for no apparent reason.

Because the transaction stops responding, you do not receive an error nor is an error logged anywhere. However, you can use the Transactions tab of the MS DTC Admin Console to look for transactions that are "not moving," in the "only failed to notify" state, or in the "preparing" state for an extended period of time to get an indication of this problem. The MS DTC Admin Console is located in the system32 directory on your computer:

c:\winnt\system32\dac.exe



CAUSE
The DTC uses a log file to record the current state of a transaction. During the logging of the status for a transaction, the log notification is lost and never received. This causes the transaction manager to wait indefinitely and the transaction is never completed.



SQL Server
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:


 * http://www.microsoft.com/windows/servicepacks/ -or-


 * 152734how to obtain the latest windows nt 4.0 service pack

For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://support.microsoft.com/directory/overview.asp

Windows NT Server or Workstation 4.0
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:


 * http://www.microsoft.com/windows/servicepacks/ -or-


 * 152734how to obtain the latest windows nt 4.0 service pack

For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://support.microsoft.com/directory/overview.asp

Windows NT Server 4.0, Terminal Server Edition
To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

152734 How to Obtain the Latest Windows NT 4.0 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.



Hotfix Installation
This hotfix should only be installed on systems running Microsoft Windows NT version 4.0 (Service Pack 5 or later is recommended). It should not be installed on systems running Microsoft Windows NT version 3.51 or Microsoft Windows 2000.

Note that this hotfix is based on the version of Microsoft DTC included with the Windows NT 4.0 Service Pack 5 release. By installing this hotfix, you are upgrading Microsoft DTC to the Windows NT 4.0 Service Pack 5 release level in addition to correcting the problems described here.

How to Install on a Nonclustered System
 Create an empty temporary directory on your system. Run the self-extracting executable file (I051099c.exe [i386] or A051099c.exe [Alpha]) and type the name of the temporary directory when you are prompted to do so. The program will decompress the following files into the temporary directory:

Dtcsetup.exe

Qfe051099c.txt

 Stop the Microsoft DTC service, if it is running. Stop all services that depend on Microsoft DTC (including Microsoft Transaction Server, Microsoft SQL Server, Microsoft Message Queue, and Microsoft COM Transaction Integrator [COMTI]). Close Control Panel, if it is open. Run Dtcsetup.exe.</li> Restart the system.</li> Restart all services that depend on DTC.</li></ol>

How to Install on a Cluster with an Already Clustered Microsoft DTC
<ol> Create an empty temporary directory on both nodes of the cluster.</li> Run the self-extracting executable file (I051099c.exe [i386] or A051099c.exe [Alpha]) on both nodes of the cluster and type the name of the temporary directory when you are prompted to do so. The program will decompress the following files into the temporary directory:

Dtcsetup.exe

Qfe051099c.txt

</li> Use the Microsoft Cluster Server (MSCS) Cluster Administrator to stop the Microsoft DTC cluster resource, if it is running. Stop all services that depend on Microsoft DTC (including Microsoft Transaction Server, Microsoft SQL Server, Microsoft Message Queue, and Microsoft COMTI).</li> Close Control Panel on all systems in the cluster.</li> Run Dtcsetup.exe on the node that controls the Microsoft DTC cluster resource. When you are prompted to install Microsoft DTC on the other nodes in the cluster, run Dtcsetup.exe on those nodes.</li> Restart all systems.</li> Restart all services that depend on Microsoft DTC.</li></ol>

How to Install on a Cluster with a Non-clustered Microsoft DTC
<ol> Create an empty temporary directory on both nodes of the cluster.</li> Run the self-extracting executable file (I051099c.exe [i386] or A051099c.exe [alpha]) on both nodes of the cluster and type the name of the temporary directory when you are prompted to do so. The program will decompress the following files into the temporary directory:

Dtcsetup.exe

Qfe051099c.txt

</li> Stop the Microsoft DTC Service on all systems in the cluster. Stop all services that depend on Microsoft DTC (including Microsoft Transaction Server, Microsoft SQL Server, Microsoft Message Queue, and Microsoft COMTI).</li> Close Control Panel on all systems in the cluster.</li> When you install this release on a clustered system, Setup automatically installs a clustered version of Microsoft DTC. The clustered version of Microsoft DTC requires an MSCS resource group that contains both a network name resource and a shared disk resource. Before installing this release, ensure that at least one such MSCS resource group exists. Dtcsetup.exe will assign Microsoft DTC to the first MSCS resource group that it finds that contains both a network name resource and a shared disk resource. After ensuring that the necessary resource group exists, run Dtcsetup.exe on the node controlling that resource group.</li> When you are prompted to install Microsoft DTC on the other nodes in the cluster, run Dtcsetup.exe on those nodes.</li> Restart all the computers.</li> <li>Restart all services that depend on Microsoft DTC.</li></ol>

Additional query words: mts dtc SQL Server WinDNA transaction distributed

Keywords: kbbug kbfix kbqfe kbdtc kbhotfixserver KB232533

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.