Los procesos de trabajo de Internet Information Services (IIS) dan servicio al grupo de aplicaciones y pueden estar en estado de inicio, ejecución, detención o desconocido. En IIS 8, WAS (Servicio de activación de procesos de Windows) administra los procesos de trabajo. Si un proceso de trabajo no responde, puede que WAS lo recicle.
Comprobar el error de inicialización del proceso de trabajo
Si el proceso de trabajo no puede inicial izarse, compruebe el mensaje de registro de eventos para consultar el número de error específico incluido en el mensaje. Este número de error será distinto del Id. de evento. Para ello, siga los siguientes pasos.
Consulte el número de error específico
Para consultar un número de error específico:
En el Visor de eventos, seleccione el evento recibido.
Haga clic en la pestaña Detalles, después en Vista descriptiva.
Si está disponible el número de error específico, aparecerán las palabras Datos binarios:
Anote debajo, en letra, el número seguido de los dos puntos.
Más información sobre un número de error específico
Para obtener más información sobre un número de error específico:
Descargue la utilidad Err.exe de la página Consulta de código de error del servidor Microsoft Exchange Server.
Abra una ventana Símbolo del sistema con permisos elevados. Haga clic en Inicio y seleccione Todos los programas, haga clic en Accesorios, haga clic con el botón secundario en Símbolo del sistema y, a continuación, elija Ejecutar como administrador.
En Símbolo del sistema, navegue hasta el directorio del que haya descargado Err.exe. Por ejemplo, si descargó Err.exe en C:\Err, escriba cd C:\Err.
Escriba err númeroerror para obtener más información sobre el error. Por ejemplo, si el número de error es 80070005, escriba err 80070005.
En el ejemplo del paso 4, el error se resuelve como ERROR_ACCESS_DENIED, por lo que su siguiente paso sería comprobar los permisos relacionados con el proceso de trabajo.
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 2281 |
Event Source | Microsoft-Windows-IIS-W3SVC-WP |
Alert Generate | False |
Remotable | True |
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.Worker.process.failed.to.initialize.communication.with.the.W3SVC.and.therefore.could.not.be.started" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC-WP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2281</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.Worker.process.failed.to.initialize.communication.with.the.W3SVC.and.therefore.could.not.be.started.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>