Запрос о настройке для веб-сайта с ошибкой

Microsoft.Windows.InternetInformationServices.6.2.WebSite.WAS.Failed.To.Process.ConfigurationRequest.For.WebSite.Monitor (UnitMonitor)

Knowledge Base article:

Сводка

Доступность веб-сайтов IIS, использующих протокол HTTP, зависит от нескольких важных компонентов IIS. Необходима корректная работа все перечисленных ниже служб: служба активации Windows (WAS), служба веб-публикаций (W3SVC) и служба HTTP. Кроме того, для приложений веб-сайта должен быть доступен правильно работающий пул приложений. Если один из этих компонентов не работает, веб-сайт будет недоступен.

Решения

Остановка и перезапуск сайта

При запуске служба WAS считывает информацию из файла конфигурации ApplicationHost.config. Часть информации, которую считывает WAS — это конфигурация приложений, например включенные протоколы приложения и пулы приложений. Для правильной конфигурации приложения между службой WAS и протоколом приложения должно быть четкое сообщение. Остановка и запуск сайта могут восстановить это сообщение.

Остановка и перезапуск сайта

Это также можно сделать при помощи ссылок, приведенных ниже:

Остановка веб-сайта

Запуск веб-сайта

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebSite
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Запрос о настройке для веб-сайта с ошибкой
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.WAS.Failed.To.Process.ConfigurationRequest.For.WebSite.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.WebSite.WAS.Failed.To.Process.ConfigurationRequest.For.WebSite.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5150</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>