Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Get the database back

Author  Topic 

Faisal Nasir
Starting Member

4 Posts

Posted - 2008-07-02 : 06:15:34
have used Bindingsource in my C# project through wizard which have made my Database in SQL suspect.i have deattach the database then.Now i m trying to attach the database again so it is giving me the following error

The following file is also added in my database now"InventorySystem_Data_log"

"Error 602:Could not find sysindexes for databaseID 7,object ID 1,indexId 1.
Run DBCC CHECKTABLE on sysindexes"

Please help as soon as possible

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-07-02 : 09:24:29
quote:
Originally posted by Faisal Nasir

have used Bindingsource in my C# project through wizard which have made my Database in SQL suspect.i have deattach the database then.Now i m trying to attach the database again so it is giving me the following error

The following file is also added in my database now"InventorySystem_Data_log"

"Error 602:Could not find sysindexes for databaseID 7,object ID 1,indexId 1.
Run DBCC CHECKTABLE on sysindexes"

Please help as soon as possible



Looks like index is corrupt. Do you have good backup?
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-07-04 : 21:28:02
You messed up system tables, should never detach suspected db at all.
Go to Top of Page
   

- Advertisement -