Event ID 4171 — Microsoft Distributed Transaction Coordinator Service Log Availability

Applies To: Windows Server 2008 R2

The Microsoft Distributed Transaction Coordinator service (MSDTC) is running on a clustered server for increased reliability, based on the failover capabilities of the clustered servers.

Event Details

Product: Windows Operating System
ID: 4171
Source: Microsoft-Windows-MSDTC
Version: 6.1
Symbolic Name: IDS_DTC_E_TMLOGWRITEFAILED
Message: MS DTC Transaction Manager log write failed with error %1.%0

Resolve

Restore Msdtclog.dll, and restart MSDTC

The system indicates that there is a problem with the Msdtclog.dll file, which is located in the \windows\system32 folder. Check this folder to see if the Msdtclog.dll file is there. If the Msdtclog.dll file is present in the \windows\system32 folder, stop and then restart the Microsoft Distributed Transaction Coordinator service (MSDTC). If the file is not there, restore it from a backup (or other means) to this location, and then restart MSDTC.

To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To open Component Services and restart MSDTC:

  1. Click Start, and then click Run.

  2. Type comexp.msc, and then click OK. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

  3. Click Services.

  4. In the Services pane, right-click Distributed Transaction Coordinator, and then click Restart.

    The system stops and then restarts the MSDTC.

To stop and then restart MSDTC if the Msdtclog.dll file is not present in the default location:

  1. Click Start, and then click Command Prompt.
  2. At the command prompt, type net stop msdtc, and then press ENTER.
  3. At the command prompt, type net start msdtc, and then press ENTER.

If you continue to get this error, note the details in the event message, and then contact Microsoft Customer Service and Support (CSS). For information about how to contact CSS, see Enterprise Support (https://go.microsoft.com/fwlink/?LinkId=52267).

Verify

Use the Component Services administrative tool to verify that the log file for the Microsoft Distributed Transaction Coordinator service (MSDTC) is created in the appropriate location.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To open Component Services and verify the location of the MSDTC log file:

  1. Click Start, and then click Run.
  2. Type comexp.msc, and then click OK. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Click Component Services, click Computers, click My Computer, click Distributed Transaction Coordinator, and then click Local DTC.
  4. Right-click the Local DTC, and then click Properties.
  5. In the Local DTC properties dialog box, click the Logging tab. Under Log Information, verify that the location of the log file is appropriate for the MSDTC.

Microsoft Distributed Transaction Coordinator Service Log Availability

Application Server