岁月留声QtAsp

Qt in Linux , Asp Asp.net Jsp Php in Web

« 牛年继续写博客举报诈骗网站 »

IIS的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.

解决方法如下:

1。右键我的电脑--管理--本地用户和组,给IUSR_机器名和IWAM_机器名两个用户设置密码,要一样。

2。开始--运行--输入cmd,
然后cd c:\Inetpub\AdminScripts
然后cscript.exe adsutil.vbs set w3svc/wamuserpass 你的密码,
然后cscript.exe adsutil.vbs set w3svc/anonymoususerpass 你的密码

看一下,行了没有?如果还不行,那么
cscript.exe synciwam.vbs -v,
然后iisreset

Server Application Error续,8004EOOF错误

发现运行C:\Inetpub\AdminScripts\synciwam.vbs时报8004EOOF错误,晕死,网上搜索了下,发现是

MSDTC的问题: msdtc服务没有正常启动。 找到原因就好办啦^_^

Step1 删除注册表中的键:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC

HKEY_CLASSES_ROOT\CID

Step2 :

停止MSDTC服务:net stop msdtc

Step3 卸载MSDTC服务:

msdtc -uninstall

Step4 重新安装MSDTC服务:

msdtc -install

然后再按照原来的解决Server Application Error的方法就可以了
如果还不行,我的做法是卸载iis服务,再从新安装。结果结果故障排除。

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

Search

  •  

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80722 Code detection by Codefense

Copyright 2008-2011 京公网安备 110115000655 京ICP备09005635号 www.qtasp.cn WebSite. All Rights Reserved.