쿼리 로그 테이블을 만드는 동안 오류가 발생했습니다.

Microsoft.SQLServer.2008.An_error_occurred_while_the_query_log_table_was_being_created_5_Rule (Rule)

Knowledge Base article:

요약

쿼리 로그 프로세스는 SQL Server 데이터베이스 테이블에 수집된 데이터를 저장합니다. 그런데 쿼리 로그 프로세스가 이 테이블을 만들 수 없습니다.

원인

쿼리 로그 연결 문자열 서버 속성이 올바르게 설정되어 있지 않습니다.

SQL Server 데이터베이스의 보안 설정 때문에 Analysis Services 프로세스에서 테이블을 만들 수 없습니다.

SQL Server 데이터베이스를 사용할 수 없습니다.

해결 방법

쿼리 로그 연결 문자열 서버 속성을 확인합니다.

Analysis Services 쿼리 로그 프로세스에 대한 액세스 및 테이블 생성 권한을 부여하도록 SQL Server 데이터베이스에 대한 보안 설정을 수정하십시오.

SQL Server 데이터베이스에 문제가 있는지 확인합니다.

Element properties:

TargetMicrosoft.SQLServer.2008.AnalysisServices
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
쿼리 로그 테이블을 만드는 동안 오류가 발생했습니다.
{0}
Event LogApplication
CommentMom2008ID='{CC851E8A-2B38-495D-A997-E13F7E4BCB89}';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.An_error_occurred_while_the_query_log_table_was_being_created_5_Rule" Target="SQL2008Core!Microsoft.SQLServer.2008.AnalysisServices" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2008ID='{CC851E8A-2B38-495D-A997-E13F7E4BCB89}';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>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL!Microsoft.SQLServer.AnalysisServices"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>3240165381</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.An_error_occurred_while_the_query_log_table_was_being_created_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>