寒假在家,要调试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. |