Error code at the Distributed Transaction Coordinator service in XP

SYMPTOMS

<script type="text/javascript">loadTOCNode(1, 'symptoms');</script>
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

<script type="text/javascript">loadTOCNode(1, 'cause');</script>
This problem occurs because the MS DTC service cannot access the %windir%/System32/Msdtc/Msdtc.log file.

RESOLUTION

<script type="text/javascript">loadTOCNode(1, 'resolution');</script>
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
<script type="text/javascript">loadTOCNode(3, 'resolution');</script>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
<script type="text/javascript">loadTOCNode(3, 'resolution');</script>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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值