When an Access database stops working, it usually stops the business with it. These guides cover the errors we see most often, what causes them, and the steps you can safely try yourself.
Reviewed by Anthony Passeri, MBA, certified Microsoft Access Expert with 21+ years of Access development.
Before you try any fix, make a copy of the database file. Many Access problems get worse when you keep opening, repairing or editing the original. A copy gives you a way back.
Five Safe First Steps for Any Access Error
Try these before anything else. They fix more problems than you’d expect, and none of them can make things worse:
- Make a copy of the database file (.accdb or .mdb) and work only on the copy.
- Get everyone out of the file, then check that the lock file (.laccdb or .ldb) in the same folder has disappeared. If it remains with nobody in the database, delete it.
- Restart the computer, especially after a crash, to release stuck file locks.
- Run Compact and Repair on the copy: File > Info > Compact & Repair Database. See Microsoft’s compact and repair guide.
- Check where the file lives. If it’s in OneDrive, Dropbox or a synced SharePoint folder, move it to a local drive or a regular network share. Microsoft recommends against opening Access files from OneDrive or SharePoint.
Still stuck? Find your error below.
Common Access Errors and Fixes
The Database Won’t Open or Is Damaged
| Error | What you’re seeing | Usual cause |
|---|---|---|
| Unrecognized database format | Access refuses to open the file at all | Corruption, or a file from a newer Access version |
| Database is in an inconsistent state | Access offers to repair the file when it opens | An interrupted save, often a dropped network connection |
| #Deleted showing in records | Rows show #Deleted in every field | Damaged records or indexes, or linked table problems |
For a full walkthrough, see How to Repair a Corrupted Access Database.
Code and Macro Errors
| Error | What you’re seeing | Usual cause |
|---|---|---|
| Macros blocked or active content disabled | A security warning; buttons and code don’t run | The file isn’t in a trusted location |
| Compile error: Can’t find project or library | VBA stops with a compile error | A missing or broken reference after an Office or Windows change |
| Code must be updated for 64-bit systems | Code fails right after switching to 64-bit Office | API declarations missing the PtrSafe keyword |
Need the code fixed for you? See VBA debugging and enhancement.
Multi-User and Network Errors
| Error | What you’re seeing | Usual cause |
|---|---|---|
| File already in use and record locking errors | “File already in use” or “could not lock” messages | An unsplit database, leftover lock files or exclusive access conflicts |
| Your network access was interrupted | Access closes or errors when the connection blips | Wi-Fi, VPN or an unstable path to the back-end file |
The most important fix for multi-user problems is to split the database, so each user has their own front end.
Performance and SQL Server Errors
| Error | What you’re seeing | Usual cause |
|---|---|---|
| Slow over VPN and the 2 GB size limit | Forms crawl remotely, or the file nears 2 GB | Access sending data across a slow connection, or a database outgrowing its file |
| ODBC call failed | Linked SQL Server tables stop working | A broken connection, driver, credential or server-side error |
If your data has outgrown Access, see Access to SQL Server migration.
Stop Errors Before They Start
Most recurring Access errors trace back to a few setup problems: an unsplit database, a back end on Wi-Fi, VPN or a sync folder, no regular compacting, and no backups. Our checklist covers all of them: How to Keep Your Access Database Safe From Corruption.
Good design prevents problems too. See Designing Access Tables and Relationships and Creating Access Queries and Reports.
When to Stop and Call for Help
Stop troubleshooting and get a second set of eyes on it if:
- The database holds data you can’t afford to lose
- A fix didn’t work the first time
- The same error keeps coming back
Recurring errors usually point to a deeper problem: an unsplit database, an unstable network path, or a system that has outgrown Access. We’ll find out what’s actually wrong and tell you whether it needs a repair, ongoing support, or a migration plan.
If you’re weighing that last option, start with Is Microsoft Access Still Supported?, Repair, Upgrade or Replace Your Access Database? and Power Apps vs SQL Server vs Staying in Access, or see our Access to Power Platform migration service.
Stuck on an Access error? Book a free diagnostic and we’ll find what’s actually wrong.
Frequently Asked Questions
Why won’t my Access database open?
The most common causes are file corruption, a leftover lock file, opening the file from OneDrive or a sync folder, or a file created in a newer version of Access. Make a copy, get everyone out, delete any leftover .laccdb file and run Compact and Repair on the copy.
What does Compact and Repair do in Access?
It rebuilds the database file, reclaims unused space and fixes minor damage. Run it on a copy, with everyone out of the file, from File > Info > Compact & Repair Database.
Why does my Access database keep corrupting?
Repeated corruption usually comes from an unsplit database shared by several people, a back end on Wi-Fi or VPN, files in OneDrive or Dropbox, or users closing Access improperly.
Can I recover data from a corrupted Access database?
Often, yes. Compact and Repair, importing objects into a new database, or restoring a backup recovers most data. For serious damage, a specialist can often recover more.
Talk to an Access Expert
Not sure what this means for your database? Book a free diagnostic call. No sales pitch, just a straight conversation about what makes sense for your situation.
Phone: 623-267-5720
Email: info@accessevolved.com
Access Evolved | 19580 W Indian School Rd, Ste 105 #815, Buckeye, AZ 85396
Sources
- Microsoft Support: Access specifications
- Microsoft Support: Compact and repair a database
- Microsoft Support: Split an Access database
- Microsoft Support: Ways to share an Access desktop database
- Microsoft Support: Add, remove, or change a trusted location
- Microsoft Learn: 64-bit Visual Basic for Applications overview
- Microsoft Support: “You do not have exclusive access to the database” error

