Sql error 2601

I am in the process of completing a upgrade of a database in Sql 2000. This upgrade is for an application named Maximo. I have completed the database upgrade procedure according to the manual supplied by Maximo. There is a final step after the upgrade to check the database for integrity. A utility is supplied to excute this integrity check plus insert some information in some of the tables in the database. I am receiving this error during the integrity check process:

11-12-04 7:45:08]
     SQL(2) Insert Into maxsysindexes (name, tbname, uniquerule, clusterrule, changed, storagepartition)
 Values (:sName, :sTbName, :sUniqueRule, :sClustered, 'N', :sSegment)

[11-12-04 7:45:08]
SQL ERROR: #20030

[11-12-04 7:45:08]
Microsoft SQL Server:2601[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert duplicate key row in object 'maxsysindexes' with unique index 'MAXSYSINDEX_NDX1'.Microsoft SQL Server:3621

[11-12-04 7:45:14]
ERROR [002E]: An error occurred in RefreshMAXIMOIndexTables().

This is the output from sp_helpindex 'maxsysindexes'

MAXSYSINDEX_NDX1   clustered, unique located on PRIMARY
MAXSYSINDEX_NDX2   nonclustered located on PRIMARY

After some research I think I need to run (drop existing index), then run the integrity check, then restore the indexes. I am a novice to Sql so I do not now how to complete this process if it is correct. Also could it be possible that this is a case sensitive issue? (collation name: Latin1_General_Bin).
zhowardAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duane LawrenceSQL Server database administratorCommented:
This is definatly not a case of case sensitive. Big NO here.

It is trying to insert a second copy of something into an index that require everything be unique.  

"Driver][SQL Server]Cannot insert duplicate key row in object 'maxsysindexes' "

'maxsysindexes' is a table, and the index unique index is 'MAXSYSINDEX_NDX1'

My bet that the integrety check failed the first time and it did not roll back.  So now you already have the row in the table 'maxsysindexes'  and it is trying to insert a duplicate.

Call tech support for Maximo and ask them what to do, since this is thier process that is trying to insert a duplicate record.

Duane

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.