码迷,mamicode.com
首页 > Windows程序 > 详细

Reinstall msdtc on Windows

时间:2014-07-16 16:12:06      阅读:303      评论:0      收藏:0      [点我收藏+]

标签:os   art   for   io   cti   re   

Reinstall MSDTC

The system reported an unexpected error condition. You can resolve this condition by uninstalling and then reinstalling the Microsoft Distributed Transaction Coordinator service (MSDTC).

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To uninstall and then reinstall MSDTC:

Click Start, and then click Command Prompt.
At the command prompt, type msdtc -uninstall, and then press ENTER.
At the command prompt, type msdtc -install, and then press ENTER.
Verify

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify that the Microsoft Distributed Transaction Coordinator service (MSDTC) is running:

Click Start, and then click Command Prompt.
At the command prompt, type sc query msdtc, and then press ENTER.
The system responds with information about the service. Confirm that these two items appear: SERVICE_NAME: msdtc and STATE : 4 RUNNING.
--------------------------------------------------------------------------------------------------------------
C:\Users\Administrator>sc query msdtc

SERVICE_NAME: msdtc
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

C:\Users\Administrator>net stop msdtc
The Distributed Transaction Coordinator service is stopping.
The Distributed Transaction Coordinator service was stopped successfully.


C:\Users\Administrator>sc query msdtc

SERVICE_NAME: msdtc
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

C:\Users\Administrator>msdtc -uninstall

C:\Users\Administrator>sc query msdtc
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.


C:\Users\Administrator>msdtc -install

C:\Users\Administrator>net start msdtc
The Distributed Transaction Coordinator service is starting.
The Distributed Transaction Coordinator service was started successfully.


C:\Users\Administrator>sc query msdtc

SERVICE_NAME: msdtc
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

C:\Users\Administrator>

Reinstall msdtc on Windows,布布扣,bubuko.com

Reinstall msdtc on Windows

标签:os   art   for   io   cti   re   

原文地址:http://www.cnblogs.com/oskb/p/3848600.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!