Article ID: 936124 - Last Review: April 28, 2009 - Revision: 3.0 Error message when you rebuild an index for a table in a BizTalk Server database: "Cannot insert duplicate key row in object"SYMPTOMSYou rebuild the index for a table in a Microsoft BizTalk Server database that was implemented by using Microsoft SQL Server 2005 Service Pack 1 (SP1). After you do this, an error message that resembles the following may be logged in the Application log on the computer that is running BizTalk Server: Cannot insert duplicate key row in object 'dbo.table name' with unique index 'index name'
CAUSEThis issue may occur if the following conditions are true:
RESOLUTIONTo resolve this issue, enable the Ignore duplicate values option for the index. To enable the Ignore duplicate values option, follow these steps:
MORE INFORMATIONTo verify that the Ignore duplicate values option is enabled on the index, use the sp_help Transact-SQL command. For example, use the following query to check whether the Ignore duplicate values option is disabled on the CIX_TrackingMessageReferences index in the dbo.TrackingMessageReferences table. To avoid this problem, make sure that you update SQL Server 2005 to the latest service pack before you run the re-index operations again. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 913089
(http://support.microsoft.com/kb/913089/
)
How to obtain the latest service pack for SQL Server 2005
REFERENCES
For more information about the issues that may occur when you connect to the BizTalkMsgBox Db database, click the following article number to view the article in the Microsoft Knowledge Base:
917845
(http://support.microsoft.com/kb/917845/
)
You experience blocking, deadlock conditions, or other SQL Server issues when you try to connect to the BizTalkMsgBoxDb database in BizTalk Server 2006 or in BizTalk Server 2004
APPLIES TO
| Article Translations
|
Back to the top
