MSSQL 2014: CLR(공용 언어 런타임)을 초기화하지 못하고 HRESULT가 발생했습니다.

Microsoft.SQLServer.2014.Failed_to_initialize_the_Common_Language_Runtime__CLR__with_HRESULT_5_Rule (Rule)

어셈블리나 응용 프로그램이 시작되지 않거나 HRESULT 오류를 로그하는 경우 규칙이 알림을 트리거합니다. Windows 응용 프로그램 로그에 특정 HRESULT에 대한 정보가 포함될 수 있습니다.

Knowledge Base article:

요약

어셈블리나 응용 프로그램이 시작되지 않거나 HRESULT 오류를 로그하는 경우 알림이 트리거됩니다. Windows 응용 프로그램 로그에 특정 HRESULT에 대한 정보가 포함될 수 있습니다.

해결 방법

Windows 응용 프로그램 로그에서 이벤트 ID 6511을 확인하고 CLR 응용 프로그램 공급업체에 HRESULT를 보고하십시오. 오류가 계속 발생하면 제품 공급업체에 문의하십시오.

재정의 가능한 매개 변수

이름

설명

기본값

사용

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

우선 순위

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

1

심각도

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

2

Element properties:

TargetMicrosoft.SQLServer.2014.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID6512
Event Source$Target/Property[Type="SQL2014Core!Microsoft.SQLServer.2014.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
MSSQL 2014: CLR(공용 언어 런타임)을 초기화하지 못하고 HRESULT가 발생했습니다.
{0}
Event LogApplication
CommentMom2014ID='{185B5F23-7176-4E48-BE58-FE990E21FC42}';MOM2014GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SQLServer.2014.Failed_to_initialize_the_Common_Language_Runtime__CLR__with_HRESULT_5_Rule" Target="SQL2014Core!Microsoft.SQLServer.2014.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2014ID='{185B5F23-7176-4E48-BE58-FE990E21FC42}';MOM2014GroupID={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">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>6512</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL2014Core!Microsoft.SQLServer.2014.DBEngine"]/ServiceName$</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.2014.Failed_to_initialize_the_Common_Language_Runtime__CLR__with_HRESULT_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>