[不指定 2007/07/23 16:49 | by 孤城浪子 ]
| |

问题:浏览网页时,所有asp与aspx的页面访问时都报以下Server Application Error错误:
错误提示:
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
查看日志,日志中W3SVC出现警告错误:
服务器无法加载应用程序 ’/LM/W3SVC/1/ROOT’。错误是 ’没有注册类别’。 
有关此消息的详细信息,请访问 Microsoft 联机支持站点: http://www.microsoft.com/contentredirect.asp

有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。
解决:
1、开始--运行--输入cmd,依次运行发下命令:


cd %windir%\system32\inetsrv 

rundll32 wamreg.dll, CreateIISPackage 

regsvr32 asptxn.dll
(注意,CreateIISPackage 区分大小写。)
2、如果运行regsvr32 asptxn.dll时出现8004e00f错误,则是msdtc服务没有正常启动。按以下方法操作:
(1)删除注册表中的键:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC
HKEY_CLASSES_ROOT\CID
(2)停止MSDTC服务:net stop msdtc
(3)卸载MSDTC服务:msdtc -uninstall
(4)重新安装MSDTC服务:msdtc -install
然后再按照上述1、的方法解决Server Application Error的方法就可以了。
参考:http://www.microsoft.com/china/technet/community/columns/insider/iisi0305.mspx

Tags:
服务器设置 | 评论(0) | 引用(0) | 阅读(7365)
 
发表评论
   
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]