W celu prawidłowego wykonywania zadań usługa publikowania w sieci World Wide Web (W3SVC) wchodząca w skład internetowych usług informacyjnych (IIS) nie może zawierać żadnych błędów wejścia/wyjścia dotyczących dostępu do plików, dostępności pamięci ani połączeń sieciowych. Dodatkowo wszystkie używane skrypty muszą być dostępne i uruchomione, a wszystkie pliki załączane muszą być prawidłowo skonfigurowane.
Sprawdź błąd połączenia
Aby rozwiązać problem z połączeniem, w komunikacie dziennika zdarzeń sprawdź 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.
Sprawdź numer konkretnego 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.
Dowiedz się więcej na temat konkretnego numeru błędu
Aby dowiedzieć się więcej o konkretnym numerze błędu:
Pobierz narzędzie Err.exe ze strony Microsoft Exchange Server Error Code Look-up (Wyszukiwanie kodów błędów programu Microsoft Exchange Server).
Kliknij kolejno pozycje Start, Wszystkie programy, Akcesoria i Wiersz polecenia.
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 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 ERROR_ACCESS_DENIED, tak więc następną czynnością powinno być sprawdzenie uprawnień.
Target | Microsoft.Windows.InternetInformationServices.10.0.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 2208 |
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.10.0.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.HTTP.Server.could.not.create.a.client.connection.object.for.user" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.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>2208</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.HTTP.Server.could.not.create.a.client.connection.object.for.user.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>