How to Fix “Access Database Is in an Inconsistent State”
Short answer: This error means Access found damage in the database file when it opened it. It happens most often when several people open a database that sits on a network share. Microsoft traced it to a change in how Windows handles shared network files, and its workaround is to turn off SMB “leasing” on the server or PC that holds the file. To fix the file itself, make a backup and run Compact and Repair. To stop it for good, split the database, keep the back end on a wired server, and move the data to SQL Server if you have many users or remote staff.
Contact Us Today
Call +1 773.809.5456, email [email protected], or send us a message using the form below.
What the error means
Access writes data to the file in small steps. If one of those steps does not finish, part of the file no longer matches the rest. The next time someone opens it, Access sees this “inconsistent state” and tries to recover the file. Access usually makes a backup copy and repairs the database, but some changes may be lost.
If you open the same database from VBA code with DAO, you may see a different message for the same problem: error 3343, “Unrecognized database format.”

What causes it
| Cause | How to tell | Fix |
|---|---|---|
| Windows file-sharing (SMB leasing) problem with shared Access files | Database is on a network share; several users; started after a Windows update | Disable leasing on the host (below) |
| Database not split | Everyone opens the same .accdb file with forms and data in it | Split into front end and back end |
| Lost connection while writing | Users on Wi-Fi or VPN; errors after drops | Use a wired network, or move data to SQL Server |
| Access closed while working | PC crashed, power loss, Access ended in Task Manager | Close Access properly; use a UPS on the server |
| File already damaged | Error comes back right after a repair | Import into a new database (see the fix guide) |
How to fix the “inconsistent state” error
-
Step 1: Let Access recover the file, then check it
Click OK and let Access recover the database. When it opens, check your most recent records and the main forms and reports. Keep the backup copy Access makes.
-
Step 2: Make a copy and run Compact and Repair
Ask everyone to close the database. Copy the file to your PC and run Database Tools > Compact and Repair Database on the copy. See: how to compact and repair an Access database.
-
Step 3: Disable SMB leasing on the server that holds the file
This is Microsoft’s documented workaround.
- If the database is not split, make the change on the computer where the .accdb file is stored.
- If the database is split, make the change only on the computer that holds the back-end file. User PCs do not need changes.
Open Command Prompt as administrator on that computer and run:
Before you run this: this changes a Windows server setting. Restarting the Server service disconnects everyone using shared files on that computer, so do it when nobody is working. Ask your IT team first. Microsoft says this workaround may not fix every case.
-
Step 4: Split the database
If everyone opens one shared file, split it. The back end (tables only) stays on the server. Each user gets their own copy of the front end (forms, queries, reports and code) on their PC. This alone removes many causes of the error.
-
Step 5: If the error keeps coming back, import into a new file
Repeated errors after a repair can mean the file is damaged deeper than Compact and Repair can fix. Create a new blank database and import all objects into it. Full steps: how to fix an Access database.
How to stop it for good
The error is a sign that the shared Access file is under more load than it can safely handle. The lasting fix is to keep Access as the front end and move the tables to SQL Server or Azure SQL. The data then no longer lives in a shared file on the network, so this file-sharing problem goes away. Your forms and reports keep working.
We recommend SQL Server when more than 10 people use the database, when users connect over VPN or Wi-Fi, or when the error comes back after you apply the steps above.
In this 54-second video, we explain why moving the data to SQL Server stops this error for good.