国语自产精品视频在线看:您身边最放心的安全下载站! 最新软件|热门排行|软件分类|软件专题|厂商大全

国语自产精品视频在线看

技术教程
您的位置:首页数据库类SQL Server → 无法在com+ 目录中安装和配置程序集 错误:-2146233087的解决方法[已测]

无法在com+ 目录中安装和配置程序集 错误:-2146233087的解决方法[已测]

我要评论 2013/08/22 20:42:30 来源:国语自产精品视频在线看 编辑:zbbingyang.com [ ] 评论:0 点击:1734次

最近从🤽国语自💇产精品⏺视频在【shì pín zài】线看下【xià】载♏sql2005的部分【de bù fèn】朋友反应无法【yīng wú fǎ】🛎安装🙌sql2005,今天在🌱安装🙌SQL Server2005时碰到了这个【le zhè gè】🥡错误,到网上搜了一下【xià】,找到了【zhǎo dào le】解决办法🛎,特记在【tè jì zài】这里,以备以后需要【hòu xū yào】。

1、sql2005下载地【xià zǎi dì】🎐址🤜  注【zhù】意🌕了,要下【xià】载947M的那个【de nà gè】文件【wén jiàn】🌍,不【bú】对的注【zhù】意🌕下【xià】
一般情【yī bān qíng】况下【kuàng xià】😐安装【ān zhuāng】🚒的时候【de shí hòu】如果【rú guǒ】🌃提示【tí shì】💢com+有问题就事先解决【jué】下【xià】,不要等【bú yào děng】安装【ān zhuāng】🚒到最后了,再来【zài lái】🐕,我是通💦过第二【guò dì èr】种【zhǒng】🛥方法【fǎ】🔘解决【jué】的,而且是【ér qiě shì】😆中止以【zhōng zhǐ yǐ】后重新安【chóng xīn ān】🉑装【zhuāng】的,一切正【yī qiē zhèng】🕟常【cháng】。

第一种【zhǒng】🍸错误【cuò wù】🛡显示【xiǎn shì】💢:

无法在【wú fǎ zài】🛍com+目录中【mù lù zhōng】🔘安装【ān zhuāng】和💽配置程【pèi zhì chéng】🔦序集【xù jí】😲 错误【cuò wù】🛡:-2146233087
无法在【wú fǎ zài】🛍com+目录中【mù lù zhōng】🔘安装【ān zhuāng】和💽配置程【pèi zhì chéng】🔦序集【xù jí】😲c:\program files\Microsoft SQL Server\90\DTS\tasks\microsoft.sqlserver.MSMQTASK.DLL.
错误【cuò wù】🛡:-2146233087
sql server 安装【ān zhuāng】🚒时"无法在【wú fǎ zài】🛍COM+目录中【mù lù zhōng】🔘安装【ān zhuāng】和💽配置程【pèi zhì chéng】🔦序【xù】🔱"的解决【jué】✝办法【fǎ】🏦:
无法在【wú fǎ zài】🛍COM+目录中【mù lù zhōng】🔘安装【ān zhuāng】和💽配置程【pèi zhì chéng】🔦序集【xù jí】😲,C:\program files\microsoft SQL Server\90
\NotificationServices\9.0.242\Bin\microsoft.sqlserver,notificationservices.dll。
错误【cuò wù】🛡:-2146233087
错误【cuò wù】消🍈息:Unknown error 0x80131501
错误【cuò wù】🛡说明:事务管🎍理【lǐ】器【qì】可用【kě yòng】。(异常来【yì cháng lái】自HRESULT:0x8004D01B)

【解决【jué】办🔏法【fǎ】🔘】

这时候可以暂停安装【ān zhuāng】🚒,不【bú】要点击【jī】中【zhōng】止、忽略,也不【bú】要点击【jī】取消

按以下【xià】步骤
1.删除注【zhù】📪册表中【zhōng】🍰的键:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC
HKEY_CLASSES_ROOT\CID
2、使用【shǐ yòng】🥀cmd执行【zhí háng】🛣 停止【tíng zhǐ】MSDTC服务【fú wù】🔖:net stop msdtc
3、使用【shǐ yòng】🥀cmd执行【zhí háng】🛣 卸载MSDTC服务【fú wù】🔖:msdtc -uninstall
4、使用【shǐ yòng】🥀cmd执行【zhí háng】🛣 重新安【chóng xīn ān】🉑装【zhuāng】MSDTC服务【fú wù】🔖:msdtc -install
点击重【diǎn jī chóng】试就可【shì jiù kě】以继续【yǐ jì xù】安装了【ān zhuāng le】👩。
如何处【rú hé chù】理【lǐ】 SQL Server 安装过【ān zhuāng guò】🏯程中【zhōng】的 COM+ 检查【chá】失🚆败问题🏘

第二种【dì èr zhǒng】🛥错误【cuò wù】🛡显示【xiǎn shì】💢:

COM+ 目录要【mù lù yào】🏗求【qiú】🍬 (警告【jǐng gào】)
消息【xiāo xī】: COM+ 目录要【mù lù yào】🏗求【qiú】🍬 如果【rú guǒ】🌃 SQL Server 安装程【ān zhuāng chéng】🚽序【xù】🔱失败【shī bài】,安装程【ān zhuāng chéng】🚽序【xù】将【jiāng】回🗨滚所安【gǔn suǒ ān】装【zhuāng】🚒的系统【de xì tǒng】⬅,但可能💲不会删【bú huì shān】除⏮所有【suǒ yǒu】 .manifest 文件【wén jiàn】🌍。解决方【jiě jué fāng】法【fǎ】是重📬命名这🥫些文件【wén jiàn】🥡,然后重新运行【xīn yùn háng】安装程【ān zhuāng chéng】🚽序【xù】🔱。有关详细信息📋,请参阅【qǐng cān yuè】🏊“如何处【rú hé chù】理【lǐ】 SQL Server 安装过【ān zhuāng guò】🏯程中【zhōng】的 COM+ 检查【chá】失🚆败问题🏘”。
在【zài】装【zhuāng】🆗SQL Server 2005到系统【dào xì tǒng】🈚检查【chá】配【pèi】置时遇【zhì shí yù】🚇到上面【dào shàng miàn】🈴的问题,我的解决【jué】✝思路是:
先把【xiān bǎ】❤以COM+开头的【kāi tóu de】🏰服务【fú wù】🔖全部启【quán bù qǐ】用🏕,接着是【jiē zhe shì】把【bǎ】❤DTC这个服【zhè gè fú】👕务启动🍉(注【zhù】意🌕:这个服【zhè gè fú】👕务🏝是一定要启动【yào qǐ dòng】的哦,如果【rú guǒ】🌃有启动不【bú】😆了的可参考:Distributed Transaction Coordinator 服务【fú wù】🔖不【bú】能启动⛎解决【jué】办🔏法【fǎ】🔘。之后再重新安【chóng xīn ān】🉑装【zhuāng】,这个错【zhè gè cuò】就解决【jiù jiě jué】掉了【diào le】。其实可以略过【yǐ luè guò】🚸第一步(以COM+开头的【kāi tóu de】🏰服务【fú wù】🔖全部启【quán bù qǐ】用🏕)的,只要能把【bǎ】❤DTC这个服【zhè gè fú】👕务启动🍉就没什🐄么问题的。
以下是【yǐ xià shì】🌎微软官🔧方提供【fāng tí gòng】的解决【jué】✝方案【fāng àn】:<如何解决【jué】 SQL Server 安装程【ān zhuāng chéng】🚽序【xù】中【zhōng】的🤒 COM+ 系统【xì tǒng】⬅配【pèi】置检查【chá】🙍失败【shī bài】问题🏘>:
Microsoft SQL Server 2005 安装程【ān zhuāng chéng】🚽序【xù】🔱检查【chá】 COM+ 是否已【shì fǒu yǐ】正确配【zhèng què pèi】👚置。如果【rú guǒ】🌃发现配【fā xiàn pèi】置错误【cuò wù】🛡,安装程【ān zhuāng chéng】🚽序【xù】🔱仍将【jiāng】继续,但是在【dàn shì zài】🛃系统【xì tǒng】⬅配【pèi】置检查【chá】🙍 (SCC) 报告中【bào gào zhōng】显示【xiǎn shì】💢以下【xià】警告【jǐng gào】👂:
“如果【rú guǒ】🌃 SQL Server 安装程【ān zhuāng chéng】🚽序【xù】🔱失败【shī bài】,安装程【ān zhuāng chéng】🚽序【xù】将【jiāng】回🗨滚所进【gǔn suǒ jìn】行的安【háng de ān】🏼装【zhuāng】,但可能💲不会删【bú huì shān】除⏮所有【suǒ yǒu】的 .manifest 文件【wén jiàn】🌍。解决方【jiě jué fāng】法【fǎ】是重📬命名这🥫些文件【wén jiàn】🥡,然后重新运行【xīn yùn háng】安装程【ān zhuāng chéng】🚽序【xù】🔱。”
如果【rú guǒ】🌃未运行 Microsoft 分布式事务处😧理协调【lǐ xié diào】器【qì】 (MS DTC),或者,在【zài】🛃使用【shǐ yòng】🥀 Microsoft 群集服务【fú wù】🔖器的情【qì de qíng】况下【kuàng xià】😐,如果【rú guǒ】🌃 MS DTC 不是群【bú shì qún】💱集资源,则可能【zé kě néng】会发生 COM+ 错误【cuò wù】🛡。COM+ 依赖于 MS DTC,而 Integration Services 中【zhōng】的消息【xiāo xī】队列任务依🍩赖于 COM +。如果出【rú guǒ chū】🕶现 COM+ 错误【cuò wù】🛡,则只有😎将【jiāng】 COM+ 系统【xì tǒng】⬅正确配【zhèng què pèi】👚置后【zhì hòu】,Integration Services 中【zhōng】的消息【xiāo xī】队列任务才🎬可用【kě yòng】。
若要使用【shǐ yòng】🥀消息【xiāo xī】队列(亦称【yì chēng】🍃 MSMQ),请确保 MS DTC 正在【zài】🛃运行并且🎮已正确配【zhèng què pèi】👚置。如果【rú guǒ】🌃 SQL Server 安装【ān zhuāng】🚒在【zài】🛃群集上🛐,则 MS DTC 必须是群集资🛩源。

按照下【xià】列过程重新安【chóng xīn ān】🉑装【zhuāng】 COM+ :

一:安装【ān zhuāng】组😲件服务【fú wù】🔖管理单【guǎn lǐ dān】元🔥

1>在【zài】🛃 Windows 桌面上,单击【dān jī】🙏“开始”,然后单【rán hòu dān】🐅击【jī】“运行”。
2>在【zài】🛃“打开【dǎ kāi】😿”框中【zhōng】,键入 MMC,然后单【rán hòu dān】🐅击【jī】“确定📋”。
3>在【zài】🛃“控制台【kòng zhì tái】🕐”窗口【chuāng kǒu】🗜中【zhōng】,单击【dān jī】🙏菜单栏【cài dān lán】上的“文件【wén jiàn】🌍”,然后单【rán hòu dān】🐅击【jī】“添加【tiān jiā】📒/删除管【shān chú guǎn】💃理单元【lǐ dān yuán】🔥”。
4>在【zài】🛃“添加【tiān jiā】📒/删除管【shān chú guǎn】💃理单元【lǐ dān yuán】🔥”窗口【chuāng kǒu】🗜,单击【dān jī】🙏“添加【tiān jiā】📒”。
5>在【zài】🛃“添加【tiān jiā】独🕟立管理单【guǎn lǐ dān】元🔥”窗口【chuāng kǒu】🗜,从管理单【guǎn lǐ dān】元🔥列表中【zhōng】选🐈择📶“组件【zǔ jiàn】服🤵务🏝”,然后单【rán hòu dān】🐅击【jī】“添加【tiān jiā】📒”。
6>单击【dān jī】🙏“关闭🌔”以关闭🧠“添加【tiān jiā】独🕟立管理单【guǎn lǐ dān】元🔥”窗口【chuāng kǒu】🗜,然后单【rán hòu dān】🐅击【jī】“确定📋”以关闭🧠“添加【tiān jiā】📒/删除管【shān chú guǎn】💃理单元【lǐ dān yuán】🔥”窗口【chuāng kǒu】🗜。
在【zài】🛃“控制台【kòng zhì tái】🕐根节点\组件【zǔ jiàn】服🤵务🏝”窗口【chuāng kǒu】🗜,展开💾“组件【zǔ jiàn】服🤵务🏝”树。这就是【zhè jiù shì】当 COM+ 出现问题时,错误【cuò wù】消🍈息可能⛴发生的地方【dì fāng】。
再次运【zài cì yùn】🕦行 SQL Server 2005 安装程【ān zhuāng chéng】🚽序【xù】🔱。如果【rú guǒ】🌃收到错【shōu dào cuò】误🕊消息【xiāo xī】,请重新安【chóng xīn ān】🉑装【zhuāng】 COM+。

二:重新安【chóng xīn ān】🉑装【zhuāng】 COM+

1>从控制【cóng kòng zhì】面板的“添加【tiān jiā】📒或删除【huò shān chú】⏮程序【xù】🔱”中【zhōng】,单击【dān jī】🙏“添加【tiān jiā】📒/删除⏮ Windows 组件【zǔ jiàn】🍝”。
2>在【zài】🛃“Windows 组件【zǔ jiàn】🍝向导”中【zhōng】,不【bú】对选择📶做任何更改,单击【dān jī】🙏“下【xià】一步”。
3>一直单击【dān jī】🙏以完成向导📩,然后再次运【zài cì yùn】🕦行 SQL Server 2005 安装程【ān zhuāng chéng】🚽序【xù】🔱。

无法在【wú fǎ zài】🛍 COM+ 目录中【mù lù zhōng】🔘安装【ān zhuāng】和💽配置程【pèi zhì chéng】🔦序集【xù jí】😲 microsoft.sqlserver.notificationservices.dll

安装【ān zhuāng】🚒SQL Server 2005的时候【de shí hòu】,出现错误【cuò wù】🛡,错误【cuò wù】🛡对话框的内容没🏨有记录【yǒu jì lù】下【xià】来,不【bú】过🆕Summary.txt(Summary.txt 位于【wèi yú】%ProgramFiles%\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix)文件【wén jiàn】🌍中【zhōng】有如下【rú xià】🚰信息。
Machine : ServerName
Product : Client Components
Error : Failed to install and configure assemblies C:\Program Files\Microsoft SQL Server\90\NotificationServices\9.0.242\Bin\microsoft.sqlserver.notificationservices.dll in the COM+ catalog.
Error: -2146233087
Error message: Unknown error 0x80131501
Error description: The Transaction Manager is not available. (Exception from HRESULT: 0x8004D01B)

微软提【wēi ruǎn tí】供的解决【jué】✝办法【fǎ】🏦如下【rú xià】🚰:
To work around this problem, make sure that the Distributed Transaction Coordinator service runs under the NT AUTHORITY\NetworkService account. To do this, follow these steps: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.

但是在【dàn shì zài】🛃启动时🚬如果出【rú guǒ chū】🕶错,错误【cuò wù】代📢码为1073337669 的话【de huà】👿,在【zài】🛃命令提【mìng lìng tí】示符🤨里输入
msdtc -resetlog

注【zhù】🔛:这种错【zhè zhǒng cuò】误🛡我只有【wǒ zhī yǒu】在【zài】🛃安装【ān zhuāng】🚒VS2005时不【bú】选择📶SQL Server组件【zǔ jiàn】🍝,后来再安装【ān zhuāng】🚒SQL Server时才出现。

关键词:SQL2005,解决方法

阅读本文后您有什么感想? 已有 人给出评价!

  • 0 欢迎喜欢
  • 0 白痴
  • 0 拜托
  • 0 哇
  • 0 加油
  • 0 鄙视