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.

1

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.

2

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.

3

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.

4

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.

5

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.

6

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.

FIX #1

Close All QuickBooks Instances on Every Computer

Before anything else, make absolutely sure no one has the company file open — and that includes ghost processes from a previous crash. This is the most common cause and the easiest to fix.

Step 1 On every computer in your office that has QuickBooks installed, close QuickBooks completely. Go to File → Exit(not just the X button).

Step 2 On each computer, press Ctrl + Shift + Esc to open Task Manager. Look for any processes named QBW32.exe, qbupdate.exe, or QBDBMgrN.exe. If you see any of them, right-click and select End Task.

Step 3 Also check the system tray (the little arrow near the clock in the bottom-right corner of the screen). QuickBooks sometimes hides there even after you think you've closed it.

Step 4 Once QuickBooks is fully closed on every machine, go back to your computer and try opening the company file again.

If this fixes it, the problem was simply that another instance had the file locked. If the error comes back repeatedly, one of the other fixes below will address the root cause.

FIX #2

Rename the .TLG and .ND Files

If closing everything didn't work, the next most likely culprit is a damaged transaction log or network data file. You're going to rename these files so QuickBooks ignores them and creates fresh ones when you open the company file. Don't worry — renaming them doesn't delete any data. Your actual company data is all in the .QBW file.

Step 1 Make sure QuickBooks is closed on all computers (do Fix #1 first).

Step 2 Open File Explorer and go to the folder where your company file (.QBW) is stored. If you're not sure where it is, it's usually in one of these locations:

C:\Users\Public\Public Documents\Intuit\QuickBooks\Company Files
C:\Users\YOUR_NAME\Documents\Intuit\QuickBooks

Step 3 In that folder, you'll see files with the same name as your company file but with different extensions. Look for these two:

YourCompanyName.QBW.TLG(the transaction log)

YourCompanyName.QBW.ND(the network data file)

Step 4 Right-click the .TLG file and choose Rename. Add .OLD to the end so it becomes YourCompanyName.QBW.TLG.OLD. Do the same for the .ND file.

Step 5 Open QuickBooks and try to open your company file. QuickBooks will automatically create brand new .TLG and .ND files.

Important: Do NOT rename or move the .QBW file itself. That's your actual data. Only rename the .TLG and .ND files. If you can't see file extensions, go to File Explorer → View → check "File name extensions."

FIX #3

Reset Hosting on All Computers

This fix is specifically for multi-user setups. If you're the only person who uses QuickBooks and you don't have it set up on a network, you can skip this one. But if there are multiple computers accessing the same company file, read on — this is a very common source of Error -6189, -816.

The rule is simple: only one computer should host the company file, and that's the computer where the file is physically stored (the server). Every other computer should be set to "not host." If even one workstation accidentally has hosting turned on, it creates a conflict and you'll get file access errors.

Step 1 On each workstation(every computer that is NOT the server), open QuickBooks and go to File → Utilities. If you see "Host Multi-User Access," that means this computer is currently NOT hosting, which is correct — leave it alone. If you see "Stop Hosting Multi-User Access," click it to turn hosting OFF on this machine.

Step 2 Do this on every workstation in your office. Make sure they all say "Host Multi-User Access" (meaning hosting is OFF).

Step 3 Now go to the server(the computer where the .QBW file is stored). Open QuickBooks and go to File → Utilities. If it says "Host Multi-User Access," click it to turn hosting ON. If it already says "Stop Hosting Multi-User Access," hosting is already on — leave it.

Step 4 Close QuickBooks on all computers, then reopen the company file from your workstation.

This simple mix-up — having hosting turned on where it shouldn't be — is one of the most overlooked causes of Error -6189, -816. It happens all the time after QuickBooks updates or reinstalls, because the installer sometimes flips the hosting setting without telling you.

FIX #4

Restart QuickBooks Database Server Manager

The QuickBooks Database Server Manager (QBDBMgrN) is a service that runs on the server computer and manages how multiple users access the company file at the same time. If this service has stopped or is acting up, workstations won't be able to open the file and you'll see error -6189, -816.

Step 1 On the server computer(where the company file is stored), press Windows + R to open the Run dialog. Type the following and press Enter:

services.msc

Step 2 Scroll down the list and find QuickBooksDBXX(the XX will be a number matching your QuickBooks year — for example, QuickBooksDB34 for QuickBooks 2024).

Step 3 Right-click it and select Restart. If it's stopped, select Start instead.

Step 4 Also make sure the "Startup type" is set to Automatic. Double-click the service, find the "Startup type" dropdown, set it to Automatic, and click OK. This makes sure it starts up every time your computer turns on.

Step 5 Try opening the company file again from your workstation.

If the Database Server Manager isn't in the services list at all, it may not be installed. You can install it by running the QuickBooks installer on the server and choosing the "Server Only" or "Custom/Network" installation option. You don't need a full QuickBooks license on the server — just the Database Server Manager component.

FIX #5

Use QuickBooks File Doctor

If the fixes above haven't worked, it's time to bring in Intuit's automatic repair tool. The QuickBooks File Doctor is designed specifically for company file and network issues. It can detect problems with file access, fix damaged company files, and repair network connectivity between your computers.

Step 1 Download and install the QuickBooks Tool Hub from Intuit's website if you haven't already. Search "QuickBooks Tool Hub download" and grab it from the official Intuit page.

Step 2 Open the QuickBooks Tool Hub and click on Company File Issues(on the left side).

Step 3 Click Run QuickBooks File Doctor. It may take a minute to launch.

Step 4 Select your company file from the dropdown. If it's not listed, click Browse and find your .QBW file manually.

Step 5 Choose "Check your file and network"(this is the option that covers both file damage and connectivity problems).

Step 6 Enter your QuickBooks admin password when prompted and let the tool run. It can take 10-15 minutes depending on the size of your company file. When it's done, try opening your company file again.

FIX #6

Copy the Company File to a Local Drive

If you've been opening your company file from a network location or a mapped drive and nothing else has worked, try copying the file to your local computer and opening it from there. This tells you whether the problem is with the file itself or with the network connection.

Step 1 Go to the network location where your company file is stored and copy(not move) the .QBW file to your local Desktop or Documents folder.

Step 2 Open QuickBooks and go to File → Open or Restore Company → Open a Company File. Browse to the local copy on your Desktop.

Step 3 If the file opens without the error, you know the problem is network-related — not file-related. Check your network connection, permissions on the shared folder, and make sure the server computer is on and accessible. If the error still appears even on a local copy, the issue is more likely the .TLG file or the QuickBooks installation itself.

Heads up: If you open a local copy and make changes, those changes won't be in the network copy. This test is just for diagnosing the problem. Once you've confirmed the file works, put it back on the network and address the connectivity issue.

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.

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

Browse QuickBooks Desktop