Procesy robocze internetowych usług informacyjnych (IIS) obsługują pulę aplikacji i mogą być w stanie uruchamiania, działania, zatrzymywania lub nieznanym. Procesy robocze w usługach IIS 8 są zarządzane przez usługę aktywacji procesów systemu Windows (WAS). Jeżeli proces roboczy nie odpowiada, może być odtwarzany przez usługę WAS.
Sprawdzenie błędu inicjowania procesu roboczego
Jeżeli nie udało się zainicjować procesu roboczego, znajdź w komunikacie dziennika zdarzeń numer konkretnego błędu. Ten numer błędu będzie inny niż numer znajdujący się w identyfikatorze zdarzenia. W tym celu należy wykonać następujące czynności.
Sprawdzenie numeru błędu
Aby znaleźć numer konkretnego błędu:
W Podglądzie zdarzeń wybierz otrzymane zdarzenie.
Kliknij kartę Szczegóły, a następnie wybierz opcję Widok przyjazny.
W przypadku dostępności konkretnego numeru błędu powinny być widoczne wyrazy Dane binarne.
Zanotuj liczbę znajdującą się po dwukropku poniżej pozycji W wyrazach.
Wyświetlanie dalszych informacji o konkretnym numerze błędu
Aby dowiedzieć się więcej o konkretnym numerze błędu:
Pobierz program narzędziowy Err.exe ze strony narzędzia do wyszukiwania kodów błędów programu Microsoft Exchange Server.
Otwórz wiersz polecenia z podwyższonym poziomem uprawnień. Kliknij przycisk Start, wskaż polecenie Wszystkie programy, kliknij opcję Akcesoria, prawym przyciskiem myszy kliknij opcję Wiersz polecenia, a następnie kliknij polecenie Uruchom jako administrator.
W wierszu polecenia przejdź do katalogu, do którego pobrano plik Err.exe. Jeśli na przykład plik Err.exe pobrano to katalogu C:\Err, wpisz cd C:\Err.
Wpisz err numer_błędu, aby otrzymać więcej informacji o danym błędzie. Jeśli na przykład numerem konkretnego błędu jest 80070005, wpisz err 80070005.
W przykładzie zawartym w kroku 4 błąd zostanie rozpoznany jako brak dostępu (ERROR_ACCESS_DENIED), więc następną czynnością powinno być sprawdzenie uprawnień związanych z procesem roboczym.
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>