Solved

MSSQL 2000 - Error 823

Posted on 2004-10-07
7
358 Views
Last Modified: 2012-08-14
I am constantly getting the following error on one of my databases. This database drives a backup solution. The clients have been hanging during their backups since this error has started to occur. I am not sure how to solve it or where to begin so any help would be greatly appreciated.

Error: 823, Severity: 24, State: 2
I/O error (bad page ID) detected during read at offset 0x0000023d1a0000 in file 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\directory.mdf'.

Thank you,

Keith Hall
0
Comment
Question by:sandvine
7 Comments
 
LVL 21

Accepted Solution

by:
JestersGrind earned 168 total points
ID: 12252980
Hi Keith,

Sounds like your clients hard drive is going bad.  Check out the following article from Microsoft.

http://support.microsoft.com/default.aspx?scid=kb;en-us;828339

Hope this helps!

Greg

0
 
LVL 13

Assisted Solution

by:davidlars99
davidlars99 earned 166 total points
ID: 12255164
I don't really think that MS link will help, but let me explain what SQL means by (bad page ID). page recides in extent and every single record that you add it is kept in the page, so extent contains 8 pages if one of these page is damaged there is no way of repairing that database, but you can try

DBCC CHECKDB
    ( 'database_name'
            [ , NOINDEX
                | { REPAIR_ALLOW_DATA_LOSS
                    | REPAIR_FAST
                    | REPAIR_REBUILD
                    } ]
    )    [ WITH { [ ALL_ERRORMSGS ]
                    [ , [ NO_INFOMSGS ] ]
                    [ , [ TABLOCK ] ]
                    [ , [ ESTIMATEONLY ] ]
                    [ , [ PHYSICAL_ONLY ] ]
                    }
        ]

for more info open "SQL Server Book Online" and search for "DBCC CHECKDB"


0
 
LVL 34

Assisted Solution

by:arbert
arbert earned 166 total points
ID: 12256116
I agree with davidlars99.  Harddrive going bad could be a possibility, but I think it's probably not the case.

Be careful with CHECKDB, you can destroy what you do have using the rebuild options.  Do you have a good backup at all?  If not, I would suggestion you trying to export the data first (using DTS or insert into queries) before you do a CHECKDb....

Brett
0
 

Author Comment

by:sandvine
ID: 12514398
Unfortunately I ended up restoring from a backup. The database was on a failed hard drive and was too far gone to be repaired. Please split the points amongst all participants. Thank you.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now