Use case
Access database corrupt or unrecognized: what to do
This morning the database will not open: “Unrecognized database format”. Or Access says it is “in an inconsistent state”. Before any click, one rule: never work on the only copy. Here are the steps in order, then what causes corruption.
The messages

Unrecognized database format '\\server\admin\Data_be.accdb'.
- on a French Access: « Format de base de données (« … ») non reconnu. » ;
- “Microsoft Access has detected that this database is in an inconsistent state, and will attempt to recover the database”: Access offers a repair itself;
- no message at all: records shown as “#Deleted”, a form or module that no longer opens, VBA code that crashes Access.
It is not always corruption
“Unrecognized format” also means Access cannot read that format: an .accdb opened by a version that is too old (Access 2003 does not read .accdb files), a database using a recent data type such as Large Number opened by a version that does not know it, or an Access 97 file opened by a recent version, which no longer reads that format. First try opening the database on an up-to-date PC: if it opens, the file is fine.
What to do, in order
- Get everyone out of the database, then check that no lock file (
.laccdbor.ldb) is left next to the file; if one remains while nobody has the database open, delete it. - Copy the file (and the most recent backup) to another folder. Every following step is done on the copy.
- Compact and repair the copy: Access open with no database, Database Tools › Compact and Repair Database, then pick the file.
- If the database opens but one object resists, create a blank database and import the objects one by one (External Data › Access): the damaged object is the one that refuses to come.
- If VBA code is what crashes, open a copy with the
/decompilecommand-line switch, then recompile (Debug › Compile) and compact. - Otherwise, go back to the last backup and re-enter what is missing. Paid repair tools exist, but a backup is the only guarantee.
Why databases get corrupted
- an interrupted write: PC switched off or Access killed during data entry, power cut;
- an unstable network between the PC and the file: Wi-Fi, VPN, remote share — Access writes straight into the file across the network;
- an unsplit database used by several people at once on a share, forms and data in the same file;
- different Access versions on the PCs sharing the same database;
- a file in a synced folder (OneDrive, Dropbox, SharePoint), which is not designed for a file opened by several PCs.
Prevention comes down to three measures: split the database into two files (a front end per PC, the data on the server), a stable wired network, and a checked daily backup. The details are in Access on a network share: corruption, locking and splitting the database.
Once the database is repaired
A repair can leave forms or queries broken without saying so. The Auscult diagnostic needs a database that Access can open — it does not repair files — but on the repaired copy, it tries every form, report and query, and tells you what still works and what stops, with the cause. Among the risks, the report also flags an unsplit database, or server paths written into the code. See the Access database audit.