WAS에서 구성을 읽는 동안 오류가 발생했습니다.

Microsoft.Windows.InternetInformationServices.2008.WAS.encountered.an.error.trying.to.read.configuration (Rule)

Knowledge Base article:

요약

IIS(인터넷 정보 서비스) WAS(Windows Process Activation Service) 구성 관리자는 WAS가 유지 관리하는 응용 프로그램과 프로토콜 어댑터에 대한 구성을 관리합니다. WAS에서 구성을 읽거나 구성 변경 알림에 응답하는 동안 오류가 발생하는 경우 WAS가 관리하는 엔터티에 대한 구성 변경이 처리되지 않을 수도 있습니다.

해결 방법

손상된 구성 파일 수정

ApplicationHost.config 등의 구성 파일에 잘못된 문자가 포함되어 있으면 WAS(Windows Process Activation Service)가 파일에서 구성 데이터를 읽을 수 없습니다.

사용 가능한 해결 방법은 다음과 같습니다.

구성 파일에 있는 잘못된 문자 수정

구성 파일에 있는 잘못된 문자를 수정하려면

참고: 이전 버전의 구성 파일을 사용할 수 있는 경우 두 파일을 비교해 볼 수 있습니다.

백업에서 구성 파일 복원

백업에서 구성 파일을 복원하려면

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.WebServer
CategoryAlert
EnabledTrue
Event SourceMicrosoft-Windows-WAS
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
WAS에서 구성을 읽는 동안 오류가 발생했습니다.
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WA WriteAction Microsoft.Windows.Server.IIS.2008.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<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>