테이블에 열을 추가하지 못했습니다.

Microsoft.SQLServer.2005.Failed_to_add_column__to_table__1_5_Rule (Rule)

Knowledge Base article:

요약

<Ssp_repladdcolumnG>으로 게시 데이터베이스의 테이블에 지정한 열을 추가하지 못했습니다. 이 오류와 함께 다른 오류가 보고되는 경우 다른 오류는 열을 추가할 수 없는 이유를 나타냅니다. 다른 오류가 보고되지 않으면 소유자 정규화된 테이블이 없거나 데이터 형식이 복제된 테이블에 추가될 수 없는 형식이기 때문일 수 있습니다. 새 열의 데이터 형식이 ID 열이거나 계산 열이거나 타임스탬프 열이어야 하며, Null을 허용하고, 기본값을 갖고 있어야 합니다. 추가 오류가 보고된 원인에 대한 자세한 내용은 Microsoft 기술 자료 문서 827960을 참조하십시오. sp_repladdcolumn에 대한 자세한 내용은 온라인 설명서에서 "게시 데이터베이스의 스키마 변경"을 참조하십시오.

해결 방법

이 오류와 함께 다른 오류가 발생한 경우 그 오류를 먼저 해결하십시오. 추가 오류가 발생하지 않으면 지정한 테이블이 있으며 테이블 소유자가 유효하며 유효한 로그인에 매핑되었는지 확인합니다. 지정한 데이터 형식이 유효한지 확인합니다.

Element properties:

TargetMicrosoft.SQLServer.2005.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID21285
Event Source$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
테이블에 열을 추가하지 못했습니다.
{0}
Event LogApplication
CommentMom2005ID='{F3CE64AC-AA75-4E3F-BD6F-FBD7D4FC139F}';MOM2005GroupID={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.2005.Failed_to_add_column__to_table__1_5_Rule" Target="SQL2005Core!Microsoft.SQLServer.2005.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2005ID='{F3CE64AC-AA75-4E3F-BD6F-FBD7D4FC139F}';MOM2005GroupID={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>21285</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.2005.Failed_to_add_column__to_table__1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>