2012-04-05 75 views
0

我們合併配置1家出版商和12個用戶均具有SQL服務器之間複製2008 R2不能在對象中插入重複鍵行「dbo.MSmerge_contents具有唯一索引

在我得到以下錯誤

認購之一
Error messages: 
The merge process could not replicate one or more UPDATE statements to the 'Subscriber' because a stored procedure failed to execute. Troubleshoot by using SQL Profiler. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147200989) 
Get help: http://help/MSSQL_REPL-2147200989 
Cannot insert duplicate key row in object 'dbo.MSmerge_contents' with unique index 'nc2MSmerge_contents'. (Source: MSSQLServer, Error number: 2601) 
Get help: http://help/2601 

在錯誤的提到:「Cannot insert duplicate key row in object 'dbo.MSmerge_contents' with unique index 'nc2MSmerge_contents'」我檢查nc2MSmerge_contents指數腳本但該指數

CREATE NONCLUSTERED INDEX [nc2MSmerge_contents] ON [dbo].[MSmerge_contents] 
(
    [generation] ASC 
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] 
GO 
沒有指定唯一約束10

下面是表結構

enter image description here

我需要解決這個問題不丟棄/重新創建訂閱。誰能請幫忙

回答

相關問題