Solution to IIS Server Application Unavailable

I have seen this problem several times . Enter aspnet_regiis -r at the  Microsoft visual 2005->visual studio tools->visual studio 2005 command prompt under .net , and you can just re-register it. This is because you installed .net first and then installed This is the case for me because the permissions of the iis user are not added to the transport. I installed the .net environment first, and then installed it. IIS . _  
Solution summary:
The first failure description: The server application is unavailable The  web  application you are trying to access on this  web  server is currently unavailable. Please click the " Refresh " button in your  web  browser to retry your request. Note for administrators An error message detailing why this particular request failed can be found in the  web  server's system event log. Check this log entry to find out what caused the error.  
 
Resolution process:
Microsoft Framework1.1 SP1  security update program  (KB886903) supplementary fix may cause web application " server application unavailable " and "aspnet_wp.exe  unexpectedly stopped
cowbird 
2005.02.15 
is very annoyed, and suddenly found that the application in IIS cannot be browsed page, tried any aspx page can not open. Re- created a new web application with vs.net , the phenomenon remains the same. Computer environment: win2003, vs.net2003  Problem phenomenon: 1 ) When you want to browse a page, it will display " Server application unavailable "  The  Web  application you are trying to access on this  Web  server is currently unavailable. Please click " Refresh " in your  web  browser  
 

 
button to retry your request.   Note for administrators : An error message detailing why this particular request failed can be found in the  web  server's system event log. Go to the log to check and find: "aspnet_wp.exe (PID: 356) stopped unexpectedly. 2 ) If you choose to debug, the following picture will be displayed:  

 

Attempt: After thinking about it, the problem appeared suddenly, no software was installed, and there was no virus, which is strange. If the result found on google according to "ExecutionEngineException" is " incurable " , prepare for "the worst " and reinstall! . :) According to "aspnet_wp.exe (PID: 356) stopped unexpectedly " , I checked on google and found that the solution on the Internet is nothing more than reinstalling IIS , reinstalling the system, reinstalling the framework or vs.net . In this case, first choose the simplest IIS reinstallation, and find that the problem remains. Next, choose to repair and install win2003 . After the installation is completed, it is found that the problem is solved. Everyone knows that after repairing the installed operating system, the patch will be gone. I just update the patches one by one , after all the updates are done, and then run again, the problem reappears. Reason positioning:  
 
 
 
 
 
 
 
显而易见,问题的原因就是补丁。不断的尝试,定位到 Microsoft .NET Framework  版本  1.1 Service Pack 1  安全更新程序  (KB886903) 把它删除后,问题解决。郁闷啊!花了我一整天时间,强烈要求微软 赔偿 。再网上一查,发现老外也遇到过同样这个问题 http://www.mcse.ms/message1412685.html ,也同样待解决。
第二种
文框架下出现:
服务器应用程序不可用  
您试图在此  Web  服务器上访问的  Web  应用程序当前不可用。请点击  Web  浏览器中的 刷新 按钮重试您的请求。  
管理员注意事项 详述此特定请求失败原因的错误信息可在  Web  服务器的系统事件日志中找到。请检查此日志项以查明导致该错误发生的原因。
英文框架下出现:
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.
重新开一个应用程序池,然后为这个目录单独指定这个池
2.
访问权限的设置问题
3.
重新装 iis, 再装 framework
我的问题是属于第二个,访问权限的问题。做如下设置即可解决该问题:
在该 web sites virtual directory , Permissions 设置一下 , 里面应包含
ASP.NET
IIs_WPG
Internet
来宾帐户
System
而且 ASP.NET 权限要设置为  write & read.
设置后 , 一切运行正常。
第三种
服务器应用程序不可用
您试图在此 Web 服务器上访问的 Web 应用程序当前不可用。请点击 Web 浏览器中的 刷新 按钮重试您的请求。

管理员注意事项 : 详述此特定请求失败原因的错误信息可在 Web 服务器的系统事件日志中找到。请检查此日志项以查明导致该错误发生的原因。

情况是这样的,我机器装有 .NETFramework1.1 2.0 ,首先是我打开的 2.0 程序出现这个错误,发现这个错误以后,我打 1.1 的程序也不能运行。我选择了最传统的办法,重新启动我的系统。结果问题还是那样没有什么改变,只好重装我的 IIS 了,把 1.1 2.0 两个框架都配置好,结果是 2.0 的程序可以运行, 1.1 的程序还是那个错误。
没有办法,上网看看有没有什么相关的资料,看到了这篇文章:
http://www.cnblogs.com/cowbird/archive/2005/02/16/104546.html
但是我想问题不可能是那个样子,想来想去,想到了查看应用程序日志:改下一虚拟目录的应用程序池 . ASP.NET1.1 ASP.NET2.0 的虚拟目录使用不同的应用程序池 .
结果问题解决,好了搞定!
楼上是高手,确实是应用程序池的问题,给 ASP.NET2.0 的站点用新的池问题就解决了。
新建应用程序池的步骤
1.
单击 开始 ,指向 程序 ,然后单击 控制面板
2.
双击 管理工具 ,然后双击 “Internet 信息服务 (IIS)”
3.
右键单击 应用程序池 ,指向 新建 ,然后单击 应用程序池
4.
应用程序池 ID” 文本框中键入 AppPool1
5.
单击 确定
将应用程序分配到应用程序池
1.
单击 开始 ,指向 程序 ,然后单击 控制面板
2.
双击 管理工具 ,然后双击 “Internet 信息服务 (IIS)”
3.
双击 “Web 站点
4.
双击 默认 Web 站点
5.
右键单击 “DebugApp1” ,然后单击 属性
6.
主目录 标签中的 应用程序池 列表框中选择 “AppPool1” ,然后单击 确定 。还有最重要的一点是设置应用程序池 --> 属性 --> 标识 --> 预定义帐户为本地系统
第四
故障描述:服务器应用程序不可用  
您试图在此  Web  服务器上访问的  Web  应用程序当前不可用。请点击  Web  浏览器中的 刷新 按钮重试您的请求。


这个问题见了好几次 , .net Microsoft visual 2005->visual studio tools->visual studio 2005命令提示下输入aspnet_regiis -r, 就可以只是重新注册一下而已这是因为你先装了 .net 而后装了 iis 用户的权限没加进运引起我的就是这种情况,先安装了 .net 环境,然后才安装 IIS

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325996350&siteId=291194637