Causes Of Error 823 In Sql Server And How To Fix It

  • Posted on January 31, 2017 at 5:44 pm

Do you encounter Input/Output (I/O) errors while accessing a MS SQL Server database? Are you unable to run queries on or access data from MDF (Master Database File)? This behavior indicates system or hardware problems with SQL Server that corrupt the database and renders it inaccessible. It leads to critical data loss situations. In order to extract data from Microsoft SQL Server in such situations, you need to opt for solutions.

Hardware and system problems in SQL Server are generally indicated by an error message, similar to the following one:

Error 823
I/O error detected during at offset in file ”

You come across this error message when SQL Server attempts to read data from and write data to the database files. Format of this error message can be different, depending upon the version of SQL Server.


You come across this error message, if any of the below conditions are true:
Operating system error.
I/O logical check failure.
MS SQL Server database corruption.

If any of the above situations occur, it becomes essential to perform SQL Server Recovery by resolving it, to retrieve inaccessible data.


Try out the below things to fix up this issue, as per the cause of the the problem:

Operating system error: The read Windows API (Application Programing Interface) call or the write API call is unsuccessful and MS SQL Server experiences operating system errors, which is related to Windows API call. Run operating system integrity checking tools. Following is the example of operating system error:

2003-07-28 09:01:27.38 spid75 Error: 823, Severity: 24,
State: 2
2003-07-28 09:01:27.38 spid75 I/O error 1117 (The request could not be performed because of an I/O device error.) detected during read at offset 0x0000002d460000 in file ‘e:program filesMicrosoft SQL Servermssqldatamydb.MDF’
I/O check failure: If specified logical data checks are unsuccessful, you may encounter this problem. Run DBCC CHECKDB to solve this issue.
Database corruption: Restore the database from recent backup. If the backed is unusable, Recover SQL database through third-party applications.

The software are powerful enough to handle most of the database corruption issues. The applications use high-end scanning methods to ensure absolute recovery. They are incorporated with rich graphical user interface to provide quick and easy recovery.

SQL Recovery is the most advanced and powerful utility that is able to effectively handle all database corruption scenarios. The software works well with Microsoft SQL Server 2008, 2005, and 2000. It restores all MDF file objects such as tables, reports, forms, constraints, stored procedures, triggers, data types, and more.