Доступность веб-сайтов IIS, использующих протокол HTTP, зависит от нескольких важных компонентов IIS. Необходима корректная работа все перечисленных ниже служб: служба активации Windows (WAS), служба веб-публикаций (W3SVC) и служба HTTP. Кроме того, для приложений веб-сайта должен быть доступен правильно работающий пул приложений. Если один из этих компонентов не работает, веб-сайт будет недоступен.
Укажите действительный пул приложений
Настройка действительного пула приложений для веб-сайта:
В меню "Пуск" выберите "Панель управления", а затем выберите "Администрирование".
Щелкнув правой кнопкой мыши на приложении "Диспетчер служб IIS", выберите "Запуск от имени администратора".
В области "Подключения" выберите веб-сайт, который требуется настроить.
В области "Действия" щелкните "Дополнительные настройки...". Появится диалоговое окно "Изменение сайта".
Справа от области "Пул приложений:", нажмите кнопку "Выбрать...". Отобразится диалоговое окно "Выбрать пул приложений".
В раскрывающемся списке пулов приложений выберите действительный пул приложений для веб-сайта.
Нажмите "ОК", чтобы закрыть диалоговое окно "Выбрать пул приложений".
Нажмите "ОК", чтобы закрыть диалоговое окно "Изменение сайта".
Если сайт еще не запущен, в области "Действия" нажмите "Запустить", чтобы запустить веб-сайт.
Запустить сайт можно также, используя ссылку ниже:
Запуск веб-сайта
Target | Microsoft.Windows.InternetInformationServices.6.2.WebSite | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.InvalidApplicationPool.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.InvalidApplicationPool.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>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5055</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>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1044</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</Configuration>
</UnitMonitor>