Knowledge Base

BUG: Changing Database to Read Only Can Cause Error #2601

Article ID: 151589

Article Last Modified on 3/2/2005


APPLIES TO


This article was previously published under Q151589
BUG#: 12367 (6.00)

SYMPTOMS

If you take a database in and out of read only mode you may experience error #2601.
Msg 2601, Level 14, State 3
Attempt to insert duplicate key row in object 'table' with unique index
'index' Command has been aborted.

WORKAROUND



Use dbcc checkident(<table name>) to correct the identity value.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: corruption ro

Keywords: kbbug KB151589