In depth · Reliability
Access on a network share: corruption, locking and splitting the database
"The database is corrupt and nobody can get in." Plenty of teams have woken up to that message. A shared Access database can run smoothly for years, provided you follow a few rules that people tend to discover too late.

Microsoft Access is not a database server. When several people use the same database from a shared folder, no central program receives their requests and writes to the file on their behalf: each PC reads and writes the file directly, across the network, coordinating with the others through a system of locks. This design is simple and serves thousands of applications well, but it makes the file vulnerable to anything that interrupts a PC in the middle of a write.
Understanding this mechanism avoids most incidents, and tells you when it is time to change the architecture.
How Access shares one file between several PCs
When a shared database is opened, Access creates a lock file next to it: .laccdb for an .accdb file, .ldb for an older .mdb. This small file lists the connected PCs and coordinates locks on the data pages being changed. It disappears when the last user closes the database.
The path and linked-file errors that follow are covered in the Access error code reference.
- Every user needs permission to create, modify and delete files in the database folder, not just to read and write the database file itself. Without it, Access opens the database read-only or exclusively, and sharing fails in confusing ways.
- A .laccdb file left behind after everyone has closed the database usually means a PC quit abruptly: a crash, a network drop, a laptop going to sleep. It is a clue worth taking seriously.
- The .laccdb file holds no business data; deleting it fixes nothing if a PC really did leave the main file in an inconsistent state.
Why the file gets corrupted
Corruption almost always happens the same way: a PC started writing to the file and never finished. The file then contains a half-written page, an index that no longer matches the data, or an object with an incomplete definition. The usual causes are well known:
- An unstable connection: Wi-Fi dropping out, a VPN reconnecting, a laptop put to sleep with the database open. Access was designed for a wired local network and copes badly with interruptions, even brief ones.
- A PC that stops abruptly: a power cut, a forced shutdown, Access killed from Task Manager during a write.
- A single shared file: when every PC opens the same file containing the tables, forms and code, saving the smallest change to a form or module modifies the shared file. The risk is far higher than when only the data is shared.
- Memo and Attachment fields (long text, OLE objects): they are stored separately inside the file, and experienced Access developers know them to be fragile when a write is interrupted.
- A file that grows without maintenance: without compacting, space freed by deletions is never reclaimed, and the file creeps towards the size limit.
Symptoms range from explicit messages ("Unrecognized database format", "Microsoft Access has detected that this database is in an inconsistent state") to subtler signs: a record displayed with strange characters, "#Deleted" in a list, a form that will no longer open in Design view.

The golden rule: split front end and back end
The most effective measure is also the oldest: split the application into two files. The back end holds only the tables and stays on the share. The front end holds the forms, queries, reports, macros and code; it is linked to the back-end tables, and each user has their own copy on their PC.
Access provides a wizard for this: Database Tools > Move Data > Access Database. It creates the back end, moves the tables into it and replaces them in the front end with linked tables. What remains is organising how the front end is distributed.
- Take a backup of the database with all users logged out.
- Run the Database Splitter and place the back end on the share, preferably through a UNC path (\\server\folder) rather than a drive letter that may differ from one PC to another.
- Check that every table in the front end is linked and that no local table holds shared data by mistake.
- Copy the front end to each PC or, better, set up a small launcher that copies the latest front end at every startup.
- Plan for updates: each new version of the forms is published once, and every PC picks it up at its next startup.
Looking after the file: compact, back up, monitor
An Access back end needs regular maintenance, best scheduled rather than done in an emergency:
| Task | Why | How |
|---|---|---|
| Backup | The only safe way back from serious corruption | Copy of the file with all users logged out, kept for several days |
| Compact and Repair | Reclaims space and rebuilds indexes | On the back end, with exclusive access, after a backup |
| Size monitoring | A file is limited to 2 GB, system objects included | Track the size at each compaction and plan ahead |
| PC checks | One badly configured PC can damage the file for everyone | Same Access version, updates applied, no Wi-Fi for the application |
The "Compact on Close" option is useful on a local front end; it makes no sense on a shared back end, which can only be compacted when nobody is using it. And compaction always comes after a backup: if the file is already damaged, compacting can make the loss worse.
Limits worth knowing
- 2 GB
- maximum size of an Access file, system objects included
- 255
- concurrent users at most, according to the Access specifications
- 1 file
- per back end: several linked back ends let you go beyond 2 GB
The figure of 255 users is a theoretical ceiling. In practice, the load an application can bear depends on its design (forms that load whole tables, unindexed queries), on the quality of the network and on how much writing goes on. A well-designed application on a wired network comfortably serves a team; the same application, poorly designed or used remotely, can slow down and get damaged with far fewer people.
When to move to a database server
It is time to consider moving the data to a proper server (SQL Server, including its free Express edition, or PostgreSQL), possibly keeping Access as the front end, when several of these signs appear:
- users work remotely or over Wi-Fi and have no alternative;
- corruption keeps coming back despite splitting front end and back end;
- the back end is approaching the 2 GB limit;
- the data is sensitive and must be protected, audited and backed up without downtime;
- other applications or reporting tools need to read the same data.
With a server, PCs no longer write to a file: they send requests to a program that guarantees consistency, even if a PC stops halfway through. It is often the first step of a wider migration, described in our guide Migrating an Access application: where to start.
Before going further, an analysis of the application shows which forms depend on a path written for a single PC.
Sources
- Access specifications (maximum size, concurrent users) — Microsoft Support