SYMPTOMS
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
RESOLUTION
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:
|
||||||
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. |