ASP.net Server Application Unavailable错误

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
解决方法如下:
1、找到安装Framework的文件夹的CONFIG文件夹,一般就是下面的路径:
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIG
2、在这个路径中找到machine.config这个文件打开,最好用UltraEdit-32或文本编辑器打开
3、查找<processModel autoConfig="true" />这一项
4、找到后修改成:
<processModel userName="machine" password="AutoGenerate" autoConfig="true" />
5、如果还不行则说明权限不够,可改成:
<processModel userName="SYSTEM" password="AutoGenerate" autoConfig="true" />6、创建ASPNET用户,设置好口令,并将ASPNET用户添加到Administrators组中;
7、启动cmd.exe,然后执行以下命令:
runas /profile /user:ASPNET cmd.exe
aspnet_regiis -i 执行以上命令时需要输入你创建用户的口令.
8、将ASPNET用户从Administrators组中删除;将其用户设为Guests用户组中。为了安全起见,最好将ASPNET用户从所有的用户组中删除,不赋予其任何权限。
9、重启IIS即可 。或者重启系统。

发表评论

邮箱地址不会被公开。 必填项已用*标注

click to changeSecurity Code