We use cookies on this website. By using this site, you agree that we may store and access cookies on your device Read More Got it!
Access Database 5 minute read

How to Repair Access Database that is in an Inconsistent State?

Charanjeet Kaur
Written By
Charanjeet Kaur
Kuljeet Singh
Approved By
Kuljeet Singh
stellar calander
Updated on
January 23rd, 2023

Summary: This blog discussed the reasons behind the ‘’Microsoft Access has detected that this database is in an inconsistent state’ issue. Also, it describes some effective workarounds to fix the issue. It also suggests an Access repair tool to restore the database without data loss. Try the software demo version to verify its functionality and download.

Free Download for Windows

Contents

  • What Causes ‘Access Database in Inconsistent State’ Error?
  • Workarounds to Fix the ‘Access Database Inconsistent State’ Error
  • Conclusion

When MS Access detects inconsistencies in a database file, it may prevent you from opening the file and reports the following error:

Stellar
Figure 1 – MS Access Database in Inconsistent Stage Error Message

When you click OK in the error message window, Access tries to repair the damaged or corrupted database file. Nonetheless, if MS Office Access fails to repair the database, you may see the error: “The database ‘xxx.mdb’ can’t be repaired or it is not a Microsoft Access database file.” This error message clearly states that MS Access has failed in its attempt to repair the MDB database file.

Note: If you’re opening an Access database using DAO, you may receive an error 3343 with an error message ‘unrecognized database format.’

What Causes ‘Access Database in Inconsistent State’ Error?

The ‘database is in inconsistent issue’ may occur when an Access database file (particularly MDB) is shared over a network. That is because the database file is prone to corruption if multiple users open it. Also, sharing an unsplit Access database with forms, modules, reports, all in one database file may cause the inconsistent state error.

Workarounds to Fix the ‘Access Database Inconsistent State’ Error

Following are some effective workarounds you can try to repair the MS Access database that is in an inconsistent state.

Workaround 1 – Disable Leasing on the System where the Shared Database is Stored

Note: This workaround applies to Access 2019, 2016, 2013, and Access for MS Office 365.

According to Microsoft, the users can fix the issue by disabling leasing on the machine where the shared Access database is stored. Here are the steps to do so:

  • Click the Start button on Windows, and type Command. Right-click on Command Prompt and select Run as administrator. 
  • Copy and paste the following into the command prompt window:
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters /v DisableLeasing /t REG_DWORD /d 1 /f NET STOP SERVER NET START SERVER
  • Exit the command prompt window.

After performing these steps, try to open your Access database. If you are still getting the ‘Access database in inconsistent state’ error, skip to the next solution.

Workaround 2 – Run ‘Compact and Repair’ Utility

Some Access users have reported that they were able to resolve the issue by running the Microsoft Access ‘Compact and Repair’ utility. The utility performs two functions. Firstly, it compacts the database by releasing the deleted space which is still held by the database and only serves to corrupt the database and fragment the stored data. Secondly, it tries to repair the database.

Note: You may have to run this utility several times to resolve the ‘MS Access inconsistent state’ error.

Select Compact and Repair Database Tool
Figure 3 – Run Compact and Repair Utility

Also Read: Compact and Repair Access Database is not working – How to Fix It

Workaround 3 – Run ‘Compact and Repair’ Utility using Command Line Switch

If your Access db is not opening, try running the Microsoft Access ‘Compact and Repair’ utility by using command-line switch. To do so, follow these steps:

  • Right-click on Windows desktop, click New, and then click Shortcut.
  • In ‘Create Shortcut’ dialog box, type the location of the Access.exe file in double-quotes. And then, type the command line switch for Access to compact and repair the target database. For example:

“C: \pathtoAccess\msaccess.exe” “C:\pathtodatabase\database.mdb” /repair.

Note: Here, replace the pathtoAccess and pathtodatabase with the actual path of your Access folder and database.

If this doesn’t help resolve the ‘database is in an inconsistent state’ issue, try the next workaround.

Workaround 4 – Import Data to a New Database

If the ‘Compact and Repair’ utility fails to fix Access database corruption errors, create a new database and try to import a table into it. If successful, you can import all the tables into the new database. Follow these steps to import the database into a new database:

  • In MS Access program, click the External Data tab in the top navigation menu and then select the Import Access Database option.
Import Access Database
Figure 4 – Access Database Import option
  • In the window that appears, select the “Import tables, forms, reports, macros, and modules into the current database” option and press the OK button.
Get External Data Access Database
Figure 5 – Get External Database Option
  • In ‘Import Objects’ dialog box that opens, select the database objects you want to import into the new db and then click OK.
Stellar
Figure 6 – Import Objects

Workaround 5 – Use Stellar Repair for Access Software

If none of the above workarounds works for you, using an Access database repair tool, such as Stellar Repair for Access can help you repair database inconsistencies and restore the database to its original form. The software supports Office 365, MS Access 2019, 2016, 2013, and earlier versions. It is compatible with Windows 11, 10, 8.1, 8, 7, Vista, 2003, and XP.

Stellar

The software can repair a corrupt or damaged MS Access database and recover all its objects successfully. In addition, it performs the following:

  • Repairs database saved in .ACCDB and .MDB files.
  • Repairs split Access database and linked tables.
  • Restores tables, queries, indexes, and relations.
  • Provides the option to retrieve password-protected forms and modules.
  • Can restore deleted records to a new database.

You can watch the software video below:

Conclusion

Hopefully, implementing the workarounds in this blog will help you fix the ‘Access database is in an inconsistent state’ issue. Microsoft suggests using the ‘Disable Leasing’ hack to work around the problem; if you’re not comfortable with the hack or it doesn’t work for you, running the MS Access built-in ‘compact and repair’ utility might fix the issue. If you’re unable to repair the Access database, using Stellar Repair for Access software can help. It can repair a corrupted database (ACCDB/MDB) file or a split Access db.

About The Author

Charanjeet

Charanjeet is a Technical Content Writer at Stellar®who specializes in writing about databases, e-mail recovery, and e-mail migration solutions. She loves researching and developing content that helps database administrators, organizations and novices to fix multiple problems related to MS SQL and MySQL databases and Microsoft Exchange.

Best Selling Products

Stellar Repair for Access

Stellar Repair for Access

Powerful tool, widely trusted by users &

Read More
Stellar Repair for MS SQL

Stellar Repair for MS SQL

Stellar Repair for MS SQL is an enterpri

Read More
Stellar Repair for Excel

Stellar Repair for Excel

Stellar Repair for Excel software provid

Read More
Stellar Repair for MySQL

Stellar Repair for MySQL

Stellar Repair for MySQL is an advanced

Read More

6 comments

  1. Ken says:
    December 21, 2020 at 10:16 am

    Does this software repairs corrupt linked tables?

    Reply
    1. Eric Simson says:
      December 28, 2020 at 8:56 am

      Hi Ken, yes Stellar Repair for Access repairs corrupt linked tables.

      Reply
  2. Eugene says:
    May 25, 2018 at 2:28 am

    I wish to ensure the compatible of software for Windows 10 PC & Access 2016 version.

    Is it possible?

    Reply
    1. Eric Simson says:
      May 25, 2018 at 4:30 am

      Simple!

      Try demo version on Windows 10 PC to repair corrupt Access 2016 database files. After completing repair process, a demo version provides the preview of all recoverable Access database components.

      Reply
  3. Shelby says:
    March 27, 2018 at 8:51 am

    I need all records from the corrupt Access 2016 database file. Please suggest!

    Reply
    1. Eric Simson says:
      March 28, 2018 at 3:30 am

      Hello Shelby,

      Don’t Panic!

      Just try a demo version of Stellar Repair for Access to ensure recovery of deleted records.

      Reply

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

Image Captcha
Refresh Image Captcha

Enter Captcha Here :

Table of Contents    arrow

  1. What Causes ‘Access Database in Inconsistent State’ Error?
  2. Workarounds to Fix the ‘Access Database Inconsistent State’ Error
  3. Conclusion

Categories

offer banner

Related Posts

related post
Access Database

[Fixed]: “Access Database cannot be Opened because the VBA Project Contained in it cannot be Read” Error

Stellar Author Monika Dadool January 31, 2023 Read More
related post
Access Database

How to Fix MS Access Error 3159 – “Not A Valid Bookmark”?

Stellar Author Monika Dadool January 27, 2023 Read More
related post
Access Database

How to Fix Microsoft Access Database ‘Won’t Open Issue’?

Stellar Author Monika Dadool January 5, 2023 Read More

Free Trial for 60 Days

Technology You Can Trust A Brand Present Across The Globe

  • tuv1
  • tuv2
  • Nist
  • hipa

Stellar Official Website

Stellar Data Recovery Inc.
48 Bridge Street Metuchen,
New Jersey 08840,
United States

ALSO AVAILABLE AT

ALSO AVAILABLE AT

About

  • About us
  • Career
  • ISMS Policy
  • Privacy Policy
  • Terms of Use
  • License Policy
  • Refund Policy
  • End User License Agreement

RESOURCES

  • Blog
  • Articles
  • Product Videos
  • Knowledge Base
  • Case Studies
  • Whitepapers
  • Software Catalog

NEWS & EVENTS

  • News
  • Events

PARTNERS

  • Affiliates
  • Resellers
  • Distributors

Useful Links

  • Contact Us
  • Support
  • Special Offers
  • Student Discounts
  • Awards & Reviews
  • Downloads
  • Store
  • Sitemap

Stellar & Stellar Data Recovery are Registered Trademarks of Stellar Information Technology Pvt. Ltd. © Copyright 2023 Stellar Information Technology Pvt. Ltd. All Trademarks Acknowledged.

Follow Us Facebook Twitter Linkedin Youtube

  • Notron
  • dcma