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 cocould 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. 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. |
ClickStart, ClickRun, TypeCMD, And then clickOK. |
2. |
At the command prompt, type the following command, and then press Enter:MSDTC-resetlog WarningTheMSDTC-resetlogCommand can cause data upload uption 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. |
ClickStart, ClickRun, TypeCMD, And then clickOK. |
2. |
At the command prompt, typeControl admintools, And then press Enter. |
3. |
Double-clickServices. |
4. |
InServicesPane, locateDistributed Transaction Coordinator. |
5. |
InLog OnColumn, note the account name. NoteThe 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-clickMSDTC. LogFile, and then clickProperties. |
8. |
ClickSecurityTab. |
9. |
Click the Logon account name that you noted in step 5. For example, clickNETWORK SERVICEAccount name. |
10. |
InPermissionsPane, click to selectAllowCheck box for the following permissions:
• |
Read & Execute |
• |
Read |
• |
Write |
|
11. |
ClickOK. |
12. |
ClickYesTo accept the security warning. |
13. |
InServicesPane, right-clickDistributed Transaction Coordinator, And then clickStart. |