When you try to start the Microsoft Distributed Transaction Coordinator (MS DTC) service in Microsoft Windows XP or in Microsoft Windows Server 2003, you may receive the following error message:
Windows could not start the Distributed Transaction Coordinator on Local Computer. For more information, review the System Event Log. If
this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code -1073737712.
When this problem occurs, the following Error events are logged in the Application log:
Event Type: Error
Event Source: MSDTC
Event Category: LOG
Event ID: 4163
Description:
MS DTC log file not found. After ensuring that all Resource Managers coordinated by MS DTC have no indoubt transactions, please run msdtc -resetlog to create the log file.
Event Type: Error
Event Source: MSDTC
Event Category: TM
Event ID: 4185
Description:
MS DTC Transaction Manager start failed. LogInit returned error 0x5.
Additionally, the following Error event may be logged in the System log:
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7024
Description:
The Distributed Transaction Coordinator service terminated with service-specific error 3221229584 (0xC0001010).
This problem occurs because the MS DTC service cannot access the %windir%\System32\Msdtc\Msdtc.log file.
To resolve this problem, use the following methods as required in the order in which they are shown.
Method 1: Re-create the MS DTC log
Re-create the MS DTC log, and then restart the service. To do this, follow these steps:
- Click Start, click Run, type cmd, and then click OK.
- At the command prompt, type the following command, and then press ENTER:
msdtc -resetlog
Warning The msdtc -resetlog command can cause data corruption if it is used incorrectly. Make sure that you do not have any pending transactions when you run this command. - Type the following command, and then press ENTER:
net start msdtc
Method 2: Set the logon account permissions for the MS DTC service
If Method 1 does not resolve the problem, set the logon account for the MS DTC service to have read and write permissions for the Msdtc.log file. To do this, follow these steps:
- Click Start, click Run, type cmd, and then click OK.
- At the command prompt, type control admintools, and then press ENTER.
- Double-click Services.
- In the Services pane, locate Distributed Transaction Coordinator.
- In the Log On As column, note the account name.
Note The default logon account for the MS DTC service is
the NETWORK SERVICE account. - Start Windows Explorer, and then open the %windir%\System32\Msdtc folder.
- Right-click the Msdtc.log file, and then click Properties.
- Click the Security tab.
- Click the logon account name that you noted in step 5. For example, click the NETWORK SERVICE account name.
- In the Permissions pane, click to select the Allow check box for the following permissions:
- Click OK.
- Click Yes to accept the security warning.
- In the Services pane, right-click Distributed Transaction Coordinator, and then click Start.