IIS(인터넷 정보 서비스) WAS(Windows Process Activation Service) 구성 관리자는 WAS가 유지 관리하는 응용 프로그램과 프로토콜 어댑터에 대한 구성을 관리합니다. 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 7 구성 기록 기능을 사용할 수 있는 경우 구성 기록 저장소에서 자동 저장된 백업을 복원할 수 있습니다. 이전 버전의 ApplicationHost.config 파일은 기본적으로 %SystemDrive%\inetpub\history folder 아래의 하위 폴더에 저장됩니다.
Target | Microsoft.Windows.InternetInformationServices.2008.WebServer | ||
Category | Alert | ||
Enabled | True | ||
Event Source | Microsoft-Windows-WAS | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.2008.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.2008.WAS.encountered.an.error.trying.to.read.configuration" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.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.2008.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.WAS.encountered.an.error.trying.to.read.configuration.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>