Event ID 4126 — 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: 4126
Source: Microsoft-Windows-MSDTC
Version: 6.1
Symbolic Name: IDS_DTC_E_LOGINCORRECTATTRIBUTES
Message: The MS DTC log file attributes are invalid. The log file must not be read only.%0

Resolve

Remove the read-only attribute from the MSDTC log

The system indicates that the log file for the Microsoft Distributed Transaction Coordinator service (MSDTC) is read only. Find the log file. By default, the log file is located in the \windows\system32 folder. When you locate the log file, remove the read-only file attribute.

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

To open Component Services and find 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, find the path in Location to identify the current drive and location of the log file. By default, the log file is located in the \windows\system32 folder.

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