Solved

MSSQL 2000 - Error 823

Posted on 2004-10-07
7
365 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

749 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