今天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 D:/Inetpub/AdminScripts(我的系统在D盘),
然后cscript.exe adsutil.vbs set w3svc/wamuserpass 你的密码,
然后cscript.exe adsutil.vbs set w3svc/anonymoususerpass 你的密码
最后
cscript.exe synciwam.vbs -v,
然后iisreset。
博客讲述了IIS遇到Server Application Error错误的解决过程。先给IUSR_机器名和IWAM_机器名两个用户设置相同密码,接着通过cmd命令,在指定目录下执行一系列cscript.exe命令,最后执行synciwam.vbs -v和iisreset解决问题。
1503

被折叠的 条评论
为什么被折叠?



