现在的位置: 首页 > 综合 > 正文

Error code at the Distributed Transaction Coordinator service in XP

2012年08月07日 ⁄ 综合 ⁄ 共 2777字 ⁄ 字号 评论关闭

SYMPTOMS

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).

CAUSE

This problem occurs because the MS DTC service cannot access the %windir%\System32\Msdtc\Msdtc.log file.

RESOLUTION

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:

1. Click Start, click Run, type cmd, and then click OK.
2. 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.

3. 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:

1. Click Start, click Run, type cmd, and then click OK.
2. At the command prompt, type control admintools, and then press ENTER.
3. Double-click Services.
4. In the Services pane, locate Distributed Transaction Coordinator.
5. 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.

6. Start Windows Explorer, and then open the %windir%\System32\Msdtc folder.
7. Right-click the Msdtc.log file, and then click Properties.
8. Click the Security tab.
9. Click the logon account name that you noted in step 5. For example, click the NETWORK SERVICE account name.
10. In the Permissions pane, click to select the Allow check box for the following permissions:

Read & Execute
Read
Write
11. Click OK.
12. Click Yes to accept the security warning.
13. In the Services pane, right-click Distributed Transaction Coordinator, and then click Start.

抱歉!评论已关闭.