前两天卸载一个软件的时候,发现总是失败,重新安装也失败。查了一下eventlog,发现有些4112的MSDTC错误"Could not start the MS DTC Transaction Manager",谷歌一下,找到了解决方案
Event ID 4112 Source MSDTC Event
http://www.eventid.net/display.asp?eventid=4112&eventno=2785&source=MSDTC%20Event&phase=1
This error may be a result of a missing or damaged MS DTC (Microsoft Distributed Transaction Coordinator). Make sure that all Resource Manager that are coordinated by MS DTC have no "in-doubt" transactions. To fix the problem:
1. Use Windows Explorer to expand the %SystemRoot%/System32/Dtclog folder.
2. If a Msdtc.log file exists, rename it to Msdtc.old.
3. Opens NOTEPAD and save an empty file as %SystemRoot%/System32/Dtclog/Msdtc.log.
4. Open a CMD prompt and type: msdtc -resetlog and press Enter.
这个错误是由MSDTC损坏引起的。要解决这个问题,根据下面这几个步骤就行了
1. 找到%SystemRoot%/System32/Dtclog文件夹,貌似没了,重新建一个
2. 如果Msdtc.log存在,将其改名为Msdtc.old,没有文件夹,也就没有这个问题
3. 在Dtclog文件夹下建一个名为Msdtc.log的文件
4. 打开CMD,输入msdtc -resetlog,执行。
OK了