XML: 클래스를 인스턴스화하지 못했습니다. 설치된 SQL Server에 Msxml2.dll이 있는지 확인하세요.

Microsoft.SQLServer.2008.XML___Failed_to_instantiate_class._Make_sure_Msxml2.dll_exists_in_the_SQL_Server_installation_1_5_Rule (Rule)

Knowledge Base article:

요약

SQL Server가 설치된 컴퓨터에 Msxml2.dll 파일이 없거나 sp_xml_preparedocument 같은 XML 기능을 처리하는 동안 시스템 디렉터리에서 Msxml2.dll 파일을 로드할 수 없습니다. 파일이 있는 경우 제대로 등록되지 않았을 수 있으며 종속 관계 중 하나가 없을 수 있습니다.

이전 버전의 MSDE가 설치되지 않은 컴퓨터에 MSDE SP3a를 설치한 경우 Msxml2.dll 파일이 설치되지 않았을 수 있습니다. 자세한 내용은 Microsoft 기술 자료 문서 823490을 참조하세요. 다른 SQL Server 버전을 사용하는 경우 프로그램 제거를 통해 파일이 제거되었거나 수동으로 삭제 또는 등록이 취소되었을 수 있습니다.

해결 방법

SQL Server 시스템에서 Msxml2.dll을 검색하세요. 파일이 없으면 Microsoft 기술 자료 문서 823490에서 Msxml2.msi를 다운로드하여 설치하세요. 파일이 있으면 제대로 등록되었는지 확인합니다.

재정의 가능한 매개 변수

이름

설명

기본값

사용

워크플로를 사용하거나 사용하지 않도록 설정합니다.

우선 순위

알림 우선 순위를 정의합니다.

1

심각도

알림 심각도를 정의합니다.

2

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID6608
Event Source$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
XML: 클래스를 인스턴스화하지 못했습니다. 설치된 SQL Server에 Msxml2.dll이 있는지 확인하세요.
{0}
Event LogApplication
CommentMom2008ID='{4C0A552D-FD2B-4E11-AE2F-4C02A27CDFE5}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

ID Module Type TypeId RunAs 
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Microsoft.SQLServer.SQLDefaultAccount
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2008.XML___Failed_to_instantiate_class._Make_sure_Msxml2.dll_exists_in_the_SQL_Server_installation_1_5_Rule" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2008ID='{4C0A552D-FD2B-4E11-AE2F-4C02A27CDFE5}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>6608</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2008.XML___Failed_to_instantiate_class._Make_sure_Msxml2.dll_exists_in_the_SQL_Server_installation_1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>