IIS(인터넷 정보 서비스) WAS(Windows Process Activation Service) 구성 관리자는 유지 관리되는 응용 프로그램 풀 및 프로토콜 어댑터에 대한 구성을 관리합니다. WAS가 구성을 읽거나 구성 변경 알림을 적용할 때 문제가 발생하면 WAS에서 관리되는 엔터티의 구성 변경이 처리되지 않을 수 있습니다.
손상된 구성 파일 수정
ApplicationHost.config와 같은 구성 파일에 잘못된 문자가 포함된 경우 WAS(Windows Process Activation Service)가 파일의 구성 데이터를 읽을 수 없습니다.
가능한 해결 방법은 다음과 같습니다.
이벤트 로그 메시지에 지정된 파일 내 위치에서 잘못된 문자를 수정합니다.
백업에서 구성 파일의 최신 복사본을 복원합니다.
구성 파일에서 잘못된 문자 수정
구성 파일에서 잘못된 문자를 수정하려면:
Windows 탐색기를 사용하여 구성 파일 위치를 찾습니다. ApplicationHost.config의 경우 기본 위치는 %Windir%\system32\inetsrv\config입니다.
텍스트 편집기를 사용하여 파일을 열어 이벤트 로그 메시지에 표시된 줄 번호로 이동합니다.
찾은 잘못된 문자를 수정합니다.
참고: 사용 가능한 이전 버전의 구성 파일이 있는 경우 비교하는 데 유용하게 사용할 수 있습니다.
파일을 저장하고 닫습니다.
파일 수정으로 문제가 해결되지 않는 경우 사용 가능한 백업에서 구성 파일을 복원할 수 있습니다. 이렇게 하려면 다음 절차를 참조하십시오.
백업에서 구성 파일 복원
백업에서 구성 파일을 복원하려면:
유효한 것으로 알려진 구성 파일 복사본이 있는 경우 유효한 파일을 구성 파일 위치로 복사하여 현재 파일을 유효한 복사본으로 대체할 수 있습니다. ApplicationHost.config의 경우 기본 파일 위치는 %Windir%\system32\inetsrv\config입니다.
영향 받는 파일이 ApplicationHost.config이고 IIS 10 구성 기록 기능을 사용하도록 설정한 경우 구성 기록 저장소에서 자동으로 저장된 백업을 복원할 수 있습니다. 이전 버전의 ApplicationHost.config 파일을 기본적으로 the %SystemDrive%\inetpub\history 폴더 아래의 하위 폴더에 저장됩니다.
Target | Microsoft.Windows.InternetInformationServices.10.0.WebServer |
Category | Alert |
Enabled | True |
Event Source | Microsoft-Windows-WAS |
Alert Generate | False |
Remotable | True |
Event Log | System |
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.WAS.encountered.an.error.trying.to.read.configuration" 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>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5172|5173)$</Pattern>
</RegExExpression>
</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.WAS.encountered.an.error.trying.to.read.configuration.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>