웹 사이트 및 웹 응용 프로그램은 IIS(인터넷 정보 서비스) 응용 프로그램 풀의 가용성에 따라 달라집니다. 결과적으로 IIS 응용 프로그램 풀은 WAS(Windows Process Activation Service)에 종속됩니다. WAS가 실행되고 있지 않거나 응용 프로그램 풀을 시작 또는 종료하는 동안 오류가 발생하는 경우 웹 사이트 및 웹 응용 프로그램을 사용할 수 없습니다.
이 문제를 해결하려면 ApplicationHost.Config 파일의 globalModules 섹션에서 문제를 수정해야 합니다.
ApplicationHost.config에서 globalModules 섹션을 구성하려면:
권한이 상승된 명령 프롬프트 창을 엽니다. 시작을 클릭하고 모든 프로그램을 가리킨 후 보조프로그램을 클릭하고, 명령 프롬프트를 마우스 오른쪽 단추로 클릭하고 관리자 권한으로 실행을 클릭합니다.
cd %Windir%\system32\inetsrv\를 입력합니다.
appcmd add backup backupName을 입력하여 ApplicationHost.config 파일을 백업합니다. 지정한 백업 이름의 디렉터리가 %Windir%\system32\inetsrv\backup 디렉터리에 만들어집니다. 이름을 지정하지 않으면 appcmd가 현재 날짜 및 시간을 사용하여 디렉터리 이름을 자동으로 생성합니다.
cd %Windir%\system32\inetsrv\config를 입력합니다.
notepad ApplicationHost.config를 입력합니다.
메모장에서 system.webServer 섹션 아래 globalModules 섹션을 검색합니다.
IIS 10: globalModules Element (IIS Settings Schema)(IIS 10: globalModules 요소(IIS 설정 스키마)) 문서를 지침으로 사용하여 ApplicationHost.config 파일에서 globalModules 섹션 구성 오류를 수정합니다.
ApplicationHost.config 파일을 저장하고 닫습니다.
Target | Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.IIS.10.0.WarningAndErrorEventProvider | Default |
Filter | ConditionDetection | Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool.EventFilter | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.Worker.process.for.application.pool.encountered.an.error.while.trying.to.read.global.module.configuration" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.10.0.WarningAndErrorEventProvider">
<LogName>Application</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2297</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<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>
</And>
</Expression>
</ConditionDetection>
<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.Worker.process.for.application.pool.encountered.an.error.while.trying.to.read.global.module.configuration.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>