Server Application ErrorThe 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.
重装IIS一样不能用 刚才在看asp.dll文件提升到SYSTEM权限的时侯 突发奇
想就看看能成功不 没有想到解决了
步骤如下
一下命令都是在cmd下运行的 用以下命令
cscript adsutil.vbs set /W3SVC/InProcessIsapiApps "C:/WINNT/system32/idq.dll" "C:/WINNT/system32/inetsrv/httpext.dll" "C:/WINNT/system32/inetsrv/httpodbc.dll" "C:/WINNT/system32/inetsrv/ssinc.dll" "C:/WINNT/system32/msw3prt.dll" "C:/WINNT/system32/inetsrv/asp.dll"
把ASP.DLL加入system权限 然后最好关闭w3svc服务 在重新启动下 命令如下:
关闭iis命令 net stop w3svc 停止完毕后 在输入 net start w3svc 等成功启动后就OK了 你就会
发现你的IIS可以正常使用了!
不过此时你的ASP.DLL是在system权限下运行也就是说所有用ASP.DLL文件解析的文件都是以system权限运
行的 你可以运行个CMD.ASP 然后在添
加个用户 回显示“命令成功完成。”
网上有文章说是 IWAM账号所用密码不统一 而造成的。 我按着他们的做法做了相爱没有成功。
2.
解决IIS的Server Application Error不知道为啥,我的IIS访问asp就这样了。
------------------------------------
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。