Fix QuickBooks Error -6000 -816: Company File Lock or Log Damage
QuickBooks Desktop error -6000 -816 blocks access to your company file. Learn what causes it and how to fix the file lock or transaction log damage yoursel
When you try to open your company file in QuickBooks Desktop and encounter error -6000 -816, it means the program cannot access your data. This code belongs to the broader -6000 family of company file errors. Rather than indicating a single specific problem, this family generally signals a communication breakdown between QuickBooks and the file itself. Fortunately, you can almost always resolve these issues locally without upgrading your software or relying on Intuit's servers.
What Error -6000 -816 Means
In plain English, this error typically points to one of two things: a file lock left behind by a previous session, or damage to your company file's transaction log (.TLG). When QuickBooks shuts down unexpectedly—due to a power outage, a system crash, or forcing the program to close—it can leave temporary lock files behind. When you next try to open the company file, QuickBooks sees the lock, assumes the file is already in use, and throws a -6000 error. Alternatively, the transaction log that tracks your uncommitted data has become corrupted.
The -6000 Error Family Context
If you are seeing -6000 -816, you might also have encountered nearby codes like -6000 -77, -6000 -80, or -6000 -301. You do not need a different fix for every single number. The entire -6000 series shares a common root: QuickBooks cannot read the company file, its network descriptor (.ND) files, or its transaction log (.TLG). The troubleshooting steps for -6000 -816 apply broadly to this entire family.
How to Fix It Yourself
Follow these steps in order. They are safe to perform on any version of QuickBooks Desktop, including older or discontinued editions running offline.
- Copy the file to a local folder: If your company file lives on a network drive or server, copy the entire folder to your local Desktop. Open it from there. If it opens successfully, the issue is your network or hosting configuration, not the data itself.
- Rename the .ND and .TLG files: Navigate to the folder containing your company file. Look for files with the same name as your company file but ending in
.NDand.TLG(for example,CompanyFile.qbw.nd). Right-click and rename them toOLD(e.g.,CompanyFile.qbw.nd.OLD). QuickBooks will recreate these automatically the next time it opens. Do not delete them—renaming preserves them as a backup if needed. - Run Database Server Manager: If the file only opens locally but not over your network, open QuickBooks Database Server Manager on your server machine. Scan the folder containing your company file to regenerate a clean network descriptor and re-establish multi-user access.
- Verify and Rebuild Data: Once the file is open, go to the File menu, select Utilities, and click Verify Data. If QuickBooks detects damage, run the Rebuild Data utility. You may need to run Verify and Rebuild multiple times to clear all errors.
Preventing the Error from Recurring
To keep your Desktop installation stable, ensure every computer on your network is mapped to the server using the correct drive letters. Avoid mapping via IP addresses if possible, as dynamic IPs can drop connections and cause QuickBooks to crash mid-session, generating lock files. If you experience frequent power interruptions, an Uninterruptible Power Supply (UPS) for the machine hosting the file will prevent the abrupt shutdowns that create transaction log damage.
When the Company File Itself Is Damaged
If you have renamed the .ND and .TLG files, copied the file locally, and the Verify/Rebuild utility still fails to fix the error—or if QuickBooks simply closes immediately when you try to open the file—the structural data inside your .QBW file is likely damaged. At this stage, restoring from a recent local backup is your best immediate next step. If your backups are also failing to open or you do not have a clean backup, you can explore our resources for repairing damaged QuickBooks company files to recover your data directly.