无法启动 MS DTC 事务管理器的解决方案
无法打开com+应用程序,在事件查看器显示以下错误:
事件类型:错误
事件来源:Service Control Manager
事件类别:无
事件ID:7024
事件描述:Distributed Transaction Coordinator 服务因 3221229584 (0xC0001010) 服务性错误而停止。
解决方法:
删除关联的注册表项及重新安装msdtc组件
把下面保存为 msdtc.bat
@echo offsetlocal@echo %WINDIR%\System32\msdtc.exe -uninstall%WINDIR%\System32\msdtc.exe -uninstallcall :delkey "HKCR\CID"call :delkey "HKLM\SYSTEM\CurrentControlSet\Services\MSDTC"call :delkey "HKLM\SYSTEM\ControlSet001\Services\MSDTC"call :delkey "HKLM\SYSTEM\ControlSet002\Services\MSDTC"call :delkey "HKLM\Software\Microsoft\MSDTC"@echo %WINDIR%\System32\msdtc.exe -install%WINDIR%\System32\msdtc.exe -installendlocalgoto :EOF:delkeyset key=%1call :delkeyq %key% >nul 2>&1@echo. goto :EOF:delkeyqREG Delete %key% /F
运行完,看看日志
已成功安装 Microsoft Distributed Transaction Coordinator 服务。