找回密码

碧海潮声大学生网

查看: 1123|回复: 1
打印 上一主题 下一主题

解决IIS的COM+造成的500问题

[复制链接]
跳转到指定楼层
1#
发表于 2006-1-22 00:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

寒假在家,要调试asp,刚把家里电脑上装了IIS,发现却不能用。全部显示500错误,查看事件记录,显示
服务器无法加载应用程序 '/LM/W3SVC/1/ROOT'。错误是 '没有注册类别

打开组件服务,显示 COM+ 80080005错误。无法链接服务器

在网上搜了好半天,终于找到解决方法,因为要restart,我自己还没照做完,先把文章贴上:

1. Rename the %WinDir%\System32\Clbcatq.dll file to %WinDir%\System32\~Clbcatq.dll. Make sure that you include the tilde (~) at the start of the file name.
2. Restart the computer.
3. Start Registry Editor (Regedt32.exe).
4. Locate and delete the following key in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3
5. At a command prompt, type cd %windir%, and then press ENTER.
6. At a command prompt, type rmdir /s Registration, and then press ENTER. This is the location folder of the registration database.

Note If you have MS04-012 installed, you must now re-install MS04-012. For additional information about security update MS04-012, click the following article number to view the article in the Microsoft Knowledge Base:
828741 MS04-012: Cumulative Update for Microsoft RPC/DCOM
7. Click the Start button, point to Settings, and then click Control Panel.
8. Double-click Add/Remove Programs, and then click Add/Remove Windows Components.
9. Click Next to go through the reinstallation process, to reinstall COM+.

As a last resort, you can re-create the IIS packages. To do this, follow these steps:
Browse to Component Services and delete the following packages:NOTE: To delete the packages, you must first open the properties of the package, click the Advanced tab, and then click to clear the Disable Deletion check box.


IIS In-Process Applications
IIS Out-of-Process Pooled Applications
IIS Utilities
Open a command prompt, and then use the following command to switch directories:
cd %windir%\system32\inetsrv

Run the following commands:
rundll32 wamreg.dll, CreateIISPackage

NOTE: "CreateIISPackage" must be typed exactly; it is case-sensitive.
regsvr32 asptxn.dll

Close and reopen Component Services. You should see all three IIS COM+ applications that have been recreated.
Run IISRESET from a command line and test any ASP page that previously did not load correctly.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 顶 踩
2#
发表于 2006-1-23 15:36 | 只看该作者
你人还真好啊。。。。。自己没做完,就先贴到这里来了。。 [s:1]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋| 碧海潮声大学生网  

Copyright © 2001-2013 Comsenz Inc.   All Rights Reserved.

Powered by Discuz! X3.2( 浙ICP备11026473号 )

快速回复 返回顶部 返回列表