2016-06-30 2 views
0

병합 복제를 실행 중입니다. 병합 프로세스 중에 충돌이 있습니다. 승자를 선택하면 충돌이 다시 발생합니다. 패자를 선택하면 오류가 발생합니다.SQL Server 2008 R2 병합 충돌을 해결할 수 없습니다.

TITLE: Microsoft Replication Conflict Viewer

Microsoft Replication Conflict Viewer encountered an error executing the following query:

set DATEFORMAT mdy if (select OBJECTPROPERTY(OBJECT_ID('[tABLE]'),'TableHasIdentity')) =1

[SQL INSERT STATEMENT]

ADDITIONAL INFORMATION:

The insert failed. It conflicted with an identity range check constraint in database [Database], replicated table [TABLE]. , column [TABLE]. If the identity column is automatically managed by replication, update the range as follows: for the Publisher, execute sp_adjustpublisheridentityrange; for the Subscriber, run the Distribution Agent or the Merge Agent.
The statement has been terminated. (Microsoft SQL Server, Error: 548)

나는이 문제를 해결하기 위해 sp_adjustpublisheridentityrange를 실행해야하지만,이 문제를 해결하거나 테이블의 범위를 변경하지 않습니다.

아이디어가 있으십니까?

답변

0

구독자에 고아 레코드가 있습니다. 일단 삭제되면 갈등이 해결되었습니다.

관련 문제