为应用程序池“Classic .NET AppPool"提供服务的进程与 Windows 进程激活服务发生了致命的通信错误

A process serving application pool #39;Classic .NET AppPool#39; suffered a fatal communication error with the Windows Process Activation Service(为应用程序池“Classic .NET AppPool提供服务的进程与 Windows 进程激活服务发生了致命的通信错误)
本文介绍了为应用程序池“Classic .NET AppPool"提供服务的进程与 Windows 进程激活服务发生了致命的通信错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 Windows Server 2008 上的 IIS 7 上运行 ASP.NET 3.5 Web 应用程序.

I am running an ASP.NET 3.5 web application on IIS 7 on Windows Server 2008.

今天下午早些时候我收到了以下错误:

I received the following error earlier this afternoon:

HTTP 错误 503.服务不可用.

我查看了事件日志并发现:

I looked in the Event logs and discovered that:

为应用程序池Classic .NET AppPool"提供服务的进程与 Windows 进程激活服务发生了致命的通信错误.进程 ID 为3328".数据字段包含错误号.

以下是该活动的全部详情:

Here is the full details of that event:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          18/09/2009 14:58:31
Event ID:      5011
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      computername
Description:
A process serving application pool 'Classic .NET AppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '3328'. The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-WAS" Guid="{5 .. 0}" EventSourceName="WAS" />
    <EventID Qualifiers="32768">5011</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2009-09-18T13:58:31.000Z" />
    <EventRecordID>23552</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>computername</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AppPoolID">Classic .NET AppPool</Data>
    <Data Name="ProcessID">3328</Data>
    <Binary>6D000780</Binary>
  </EventData>
</Event>

这导致:

应用程序池Classic .NET AppPool"由于服务于该应用程序池的进程中的一系列故障而被自动禁用.

以下是该活动的全部详情:

Here is the full details of that event:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          18/09/2009 15:03:05
Event ID:      5002
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      computername
Description:
Application pool 'Classic .NET AppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-WAS" Guid="{5 .. 0}" EventSourceName="WAS" />
    <EventID Qualifiers="49152">5002</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2009-09-18T14:03:05.000Z" />
    <EventRecordID>23557</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>computername</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AppPoolID">Classic .NET AppPool</Data>
    <Binary>
    </Binary>
  </EventData>
</Event>

结论:HTTP 错误 503.服务不可用.

Concluding in the: HTTP Error 503. The service is unavailable.

请有人帮我确定这是怎么发生的,以及我需要做些什么来防止它在未来发生.

Would someone please help me to identify how this happened and what I need to do to prevent it from happening in the future.

推荐答案

这是一个非常讨厌的一个.我建议获取 IIS 调试诊断 工具.您可以通过关闭应用程序池属性中的快速故障保护"来缓解症状,但这只会掩盖问题.发生的事情是您的应用程序经常/重复地遇到异常,以至于服务会自行关闭.您需要运行诊断工具来捕获进出的所有内容,以查找正在发生的异常.

This one is a pretty nasty one. I recommend getting the IIS Debug Diagnostics tools. You can probably alleviate the symptom by turning off "Rapid Fail Protection" in the properties of your application pool, but that will just mask the problem. What is going on is that your application is experiencing an exception so often/so repeatedly that the service shuts itself off. You'll need to run the diagnostic tool to capture everything going in and out to find the exception that's occuring.

这可能是一项非常费力的任务,因为该工具会收集千兆字节的垃圾进行筛选.如果幸运的话,关闭快速故障保护"可能会让异常继续通过浏览器,但我猜服务器最终会挂起.

This can be a very laborious task because the tool will gather gigabytes of junk to sift through. If you're lucky, the turning off of the "Rapid Fail Protection" might allow the exception to proceed through to the browser, but my guess is that the server will just end up hanging.

这篇关于为应用程序池“Classic .NET AppPool"提供服务的进程与 Windows 进程激活服务发生了致命的通信错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
how do i pass parameters to aspnet reportviewer(如何将参数传递给aspnet report查看器)
Bind multiple parameters from route and body to a model in ASP.NET Core(在ASP.NET Core中将路由和主体中的多个参数绑定到一个模型)
Custom model binding in AspNet Core WebApi?(AspNet Core WebApi中的自定义模型绑定?)
How to minify in .net core mvc view?(如何在.Net核心MVC视图中缩小?)