服务器应用程序在IIS中对于ASP.NET应用程序不可用 [英] Server Application Unavailable in IIS for ASP.NET application

查看:78
本文介绍了服务器应用程序在IIS中对于ASP.NET应用程序不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在服务器中托管应用程序后出现错误.

我可以访问一些页面.我在某些页面上收到此错误.

http://vivekthangaswamy.blogspot.in/2009/04/server-application- unavailable-in-iis.html
http://www.ironspeed.com/Designer/3.2.4/WebHelp/Part_VI/Server_Application_Unavailable.htm

我已经搜索并尝试了他们如何在这些站点中进行教学.但没有任何帮助.


我检查了事件日志,
这些是我遇到的错误,


Hi All,

I am getting the error after hosting application in server.

i can access some pages. i am getting this error for some pages.

http://vivekthangaswamy.blogspot.in/2009/04/server-application-unavailable-in-iis.html
http://www.ironspeed.com/Designer/3.2.4/WebHelp/Part_VI/Server_Application_Unavailable.htm

I have searched and tried how they instructed in these sites. but nothing helped me.


I checked in event log ,
these are the errors i am getting,


aspnet_wp.exe  (PID: 852) was recycled because it failed to respond to ping message.




Faulting application aspnet_wp.exe, version 2.0.50727.1433, stamp 471ebf4c, faulting module kernel32.dll, version 5.1.2600.5512, stamp 4802a12c, debug? 0, fault address 0x00012aeb.








为什么会发生此错误,我们该如何解决?


谢谢,
Pal








why this error occurs and how can we resolve this?


thanks,
Pal

推荐答案

尝试一下:-

1).收到此错误时,请确保检查服务器上的事件查看器.这可以在管理工具下找到.在应用程序事件日志下,您可能会发现一个错误,指出:不可能在同一个IIS进程中运行两个不同版本的ASP.NET.请使用IIS管理工具在单独的进程中运行该应用程序. "

应用程序池是在IIS下响应Web请求的过程.应用程序池没有设置将在其中运行哪种类型的ASP.Net应用程序的设置.而是在过程中加载ASP.Net应用程序时加载适当的库.因为ASP.Net 1.1和ASP.Net 2.0的库是相似的,但是不相同,所以应用程序池不能同时响应两种类型的应用程序的请求.如果您与另一位开发人员同时使用服务器,并且在同一应用程序池中有使用框架的不同版本的应用程序,则这可能会导致零星的行为.

确保服务器上有一个专用于ASP.Net 2.0应用程序的应用程序池,一个专用于ASP.Net 1.1应用程序的应用程序池.将ASP.Net应用程序添加到服务器时,请确保为其选择正确的应用程序池.

发生这种情况有几个原因.可以在Web服务器的应用程序事件日志中找到详细说明此特定请求失败的原因的错误消息.打开事件查看器,然后查看报告的错误消息.请查看此日志条目以查找导致此错误的原因.
如果报告的错误消息是:

无法启动Aspnet_wp.exe,因为配置文件的processModel部分中提供的用户名和/或密码无效.

1).停止IIS和ASP.NET状态服务

2).重新启动IIS服务

3). ASP.NET用户不再有权访问Microsoft .NET Framework文件夹,应用程序文件夹或临时文件文件夹.

请参阅以下链接:-
http://vivekthangaswamy.blogspot.in/2009/04/server-application- unavailable-in-iis.html [ ^ ]
try this:-

1). When you receive this error, make sure to check the event viewer on the server. This is found under administrative tools. Under the application event log, you will likely find an error that states: "It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration tool to run the application in a separate process."

An application pool is a process that responds to web requests under IIS. An application pool does not have a setting for what type of ASP.Net applications will be run in it. Instead, it loads the appropriate libraries when an ASP.Net application is loaded in the process. Because the libraries for ASP.Net 1.1 and ASP.Net 2.0 are similar, but not the same, the application pool cannot respond to requests for both types of applications at the same time. This can cause sporadic behaviour if you are using the server at the same time as another developer and you have applications using different versions of the framework in the same application pool.

Make sure that on your server there is an application pool dedicated to ASP.Net 2.0 applications and one for ASP.Net 1.1 applications. When you add an ASP.Net application to the server, make sure you select the right application pool for it.

This can happen for several reasons. An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Open the Event Viewer and see the error message reported. Please review this log entry to discover what caused this error.

If the error message reported is:

Aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.

1). Stops the IIS and ASP.NET state services

2). Restart the IIS service

3). The ASP.NET user no longer has access to the Microsoft .NET Framework folder, the application folder, or the Temporary Files folder.

Refer these links:-
http://vivekthangaswamy.blogspot.in/2009/04/server-application-unavailable-in-iis.html[^]


希望获得帮助
http://www.asp.net/whitepapers/ms03-32-issue [ ^ ]
Hope this help
http://www.asp.net/whitepapers/ms03-32-issue[^]


这篇关于服务器应用程序在IIS中对于ASP.NET应用程序不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆