How to Fix QuickBooks Error -6189, -816
"The File You Specified Cannot Be Opened" — Fixed Step by Step
You're trying to open your company file and QuickBooks hits you with this:
"Error -6189, -816: QuickBooks is trying to access the company file, but the file you specified cannot be opened. The file may be locked by another application or process."
If you're getting this, take a breath. Your data isn't gone and your company file isn't broken (in most cases). This error is almost always about something else on your computer or your network holding onto the file and not letting QuickBooks in. It's like trying to open a door that someone on the other side is leaning against — the door works fine, there's just something in the way.
This error is extremely common in offices that use QuickBooks in multi-user mode, where two or more people access the same company file over a network. But it can also show up on single-user setups if QuickBooks didn't close properly last time, or if the transaction log file got damaged. If you have questions about your QuickBooks setup, check our FAQ page for quick answers.
I'm going to walk you through what's actually going on, what causes it, and exactly how to fix it — step by step, in plain English.
What's in This Guide:
▶ What Error -6189, -816 actually means
▶ 6 common causes
▶ 6 step-by-step fixes (start with #1)
▶ How to prevent it from coming back
▶ FAQs
What Is QuickBooks Error -6189, -816?
When you open a company file in QuickBooks Desktop, the program creates what's called a transaction log file — a file with the extension .TLG that sits right next to your company file (.QBW). This transaction log keeps track of every change made to your data in real time. It's like a running diary of everything that's happening in QuickBooks while you work.
QuickBooks also creates a .ND(network data) file that helps manage multi-user access. This file tells QuickBooks which computer is hosting the company file and which computers are connecting as workstations.
Error -6189, -816 means one of these things went sideways. Either the .TLG file got damaged and QuickBooks can't read it properly, another copy of QuickBooks (or another process on your computer) still has the company file locked, or the hosting configuration between your computers is confused about who's in charge of the file.
Your data is safe. Your actual company data — your .QBW file with all your transactions, customers, invoices, and reports — is almost certainly fine. Error -6189, -816 is about access , not about data corruption. We just need to clear the roadblock so QuickBooks can get to the file again.
What Causes Error -6189, -816?
There are several things that can trigger this error. Knowing which one applies to you will help you pick the right fix and get back to work faster.
Another instance of QuickBooks has the file open
Maybe QuickBooks crashed and didn't close properly, leaving a "ghost" process running in the background that's still holding onto the file. Or maybe another user on your network has the file open and you don't know about it.
The transaction log (.TLG) file is corrupted
If QuickBooks was interrupted during a write operation — power outage, crash, or network drop — the .TLG file can become damaged. QuickBooks can't verify the integrity of recent changes and throws this error.
Hosting settings are misconfigured
Only one computer should be set to "Host Multi-User Access" — the server. If two computers are both trying to host the same file, they'll fight over it. This gets flipped surprisingly often after QuickBooks updates.
QuickBooks Database Server Manager isn't running
This background service manages multi-user access to company files on the server. If it's stopped, crashed, or was never installed, workstations won't be able to connect.
The .ND (network data) file is damaged
Just like the .TLG file, the .ND file can get corrupted. If this file has bad data in it, QuickBooks gets confused about the network status of the company file and blocks access.
File permissions are wrong
If your Windows user account doesn't have full read/write access to the folder where the company file is stored, QuickBooks may see the file but can't open it. Common with shared network drives.
How to Fix QuickBooks Error -6189, -816 — Step by Step
Start with Fix #1 — it clears the problem for most people. If it doesn't work, move through the list. Each fix targets a different cause, so one of them should get you back in.
How to Prevent Error -6189, -816 From Happening Again
Always close QuickBooks properly
Go to File → Exit instead of just clicking the X or shutting down your computer with QuickBooks still open. When QuickBooks doesn't close properly, it can leave the file locked for the next person who tries to open it.
Make sure only the server hosts the file
After any QuickBooks update or reinstallation, double-check the hosting settings on all computers. Go to File → Utilities and verify that only the server has hosting turned on. This is one of those things you should check every time QuickBooks updates itself.
Keep the Database Server Manager running
On your server, make sure the QuickBooksDBXX service is set to start automatically. If the server gets restarted (like after a Windows update), the Database Server Manager needs to come back up on its own. Setting it to "Automatic" startup type handles this for you.
Back up your company file regularly
Use QuickBooks' built-in backup: go to File → Back Up Company → Create Local Backup. Schedule automatic backups if you can. Backups don't prevent this error, but they give you a safety net in case anything goes wrong with your data.
Use a wired network connection for the server
If your server computer is connected to the network via Wi-Fi, consider switching to a wired Ethernet connection. Wi-Fi is less stable and more likely to drop briefly during file operations, which can cause transaction log corruption. A $10 Ethernet cable can prevent a lot of problems.
Don't store the company file on a USB drive or cloud-synced folder
QuickBooks Desktop needs direct, stable access to the company file. Storing it on a USB drive, an external hard drive, or in a Dropbox/OneDrive/Google Drive synced folder is asking for trouble. The file should live on the server's local hard drive and be shared over the network.
Quick Summary: Error -6189, -816 Fixes at a Glance
| Fix | What It Does | Success Rate |
|---|---|---|
| Close all instances | Releases the file lock from ghost processes or other users | Very High |
| Rename .TLG/.ND | Forces QuickBooks to create fresh transaction log and network data files | Very High |
| Reset hosting | Makes sure only one computer is set to host the file | High |
| Restart DB Manager | Restarts the service that manages multi-user file access | High |
| File Doctor | Automatically diagnoses and repairs file and network problems | Moderate |
| Copy to local drive | Tests whether the problem is with the file or the network | Depends |
Frequently Asked Questions About Error -6189, -816
Will renaming the .TLG file cause me to lose data?
No. The .TLG file is a transaction log that QuickBooks uses for recovery purposes. Your actual data — every transaction, every invoice, every customer record — is stored in the .QBW file. When you rename the .TLG, QuickBooks just creates a new one the next time you open the company file. The only scenario where the .TLG matters is if your .QBW file was damaged and you needed the transaction log to recover recent changes. Since your .QBW file is fine in this case, renaming the .TLG is perfectly safe.
This error keeps coming back every few days. What's going on?
If it keeps recurring, the root cause is probably one of two things: either someone in your office isn't closing QuickBooks properly (they're just shutting down their computer without exiting QuickBooks first), or the hosting settings keep getting flipped after QuickBooks updates. Check the hosting settings on all workstations every time QuickBooks installs an update. Also, have a quick conversation with everyone in the office about closing QuickBooks before shutting down — it makes a big difference.
Can I get this error even if I'm the only person using QuickBooks?
Yes, absolutely. Even on a single-user setup, if QuickBooks crashed or your computer lost power while the company file was open, the file can end up in a locked state with a damaged .TLG file. The fix is the same — close all QuickBooks processes, rename the .TLG file, and reopen.
If you've worked through all the fixes above and the error won't go away, get in touch with us. We troubleshoot QuickBooks Desktop issues like this every day, and we can usually figure out what's going on pretty quickly. Multi-user setups can be tricky, and sometimes it takes a fresh pair of eyes to spot the problem.
And if your copy of QuickBooks is getting old and causing more problems than it's worth, we carry all current versions of QuickBooks Desktop — Pro, Premier, and Enterprise — with genuine license keys at fair prices. No subscriptions required.
Written By
David Hernandez
Senior Technical Writer
Need Help With Error -6189, -816? Talk to Us.
We're real people who know QuickBooks inside and out.
Phone: (870) 232-6314
Email: info@accountingscart.com






