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



The information in this article applies to:

  • Microsoft SQL Server 6.0
  • Microsoft SQL Server 6.5

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.

Modification Type:MinorLast Reviewed:3/2/2005
Keywords:kbBug KB151589