安装SQL Server 2005 时报“-2146233087”错误的解决办法

虽然MS SQL Server2005推出很长一段时间了,但是因为本人的本本内存太小(和本人一样,属于淘汰品了,呵呵)所以一直没有安装SQL2005,但是今天有优化一个项目,别人用的就是SQL2005,没有办法只好安装了。安装的时候有一个坎一直过不去,错误编号为“-2146233087”,查看了系统日志,描述如下:
产品: Microsoft SQL Server 2005 Notification Services -- 错误 29549。无法在 COM+ 目录中安装和配置程序集 C:/Program Files/Microsoft SQL Server/90/NotificationServices/9.0.242/Bin/microsoft.sqlserver.notificationservices.dll。错误: -2146233087
错误消息: Unknown error 0x80131501
错误说明: 事务管理器可用。 (异常来自 HRESULT:0x8004D01B)

出现这个错误是因为 DTC服务没有启动。
 
查了微软的文档,他要你重新启动DTC服务
 
1. Click Start, click Run, type Services.msc, and then click OK.
2. In the Services window, double-click the Distributed Transaction Coordinator service.
3. In the Distributed Transaction Coordinator Properties dialog box, click the Log On tab.
4. On the Log On tab, specify the NT AUTHORITY/NetworkService account to be the logon account if the logon account is not the NT AUTHORITY/NetworkService account.

Note You are prompted to restart the Distributed Transaction Coordinator service if the following conditions are true:
You change the logon account of the Distributed Transaction Coordinator service.
The Distributed Transaction Coordinator service is running before you change the logon account.
5. Start the Distributed Transaction Coordinator service if it is not started.
 
 
但是,在服务管理页面启动DTC服务时,却又出错了
 

打开事件查看器:

在系统事件中有错误:Distributed Transaction Coordinator 服务因 3221229584 (0xC0001010) 服务性错误而停止。

在网上查找资料发现这主要是系统无法找到MS DTC 日志文件造成的,只要创建一下就可以了:

点开始→运行→输入命令"msdtc -resetlog",运行该命令即可.

之后,运行服务中的"Distributed Transaction Coordinator "服务

 

点重试,问题解决。

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

周公

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值