2012-04-05 81 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

我需要解决这个问题不丢弃/重新创建订阅。谁能请帮忙

回答

相关问题