QuickBooks Error 6123, 0: "Connection to the Company File Has Been Lost"
Six Proven Fixes, Simplest First
You click to open your company file, or you're halfway through restoring a backup, and QuickBooks stops with Error 6123, 0. The message says the connection to the company file has been lost, and nothing you click seems to bring it back.
It's frustrating, especially when you've got invoices to send or payroll to run. The good news is that this error almost never means your data is gone. It means QuickBooks lost its grip on the file for a moment, and something is stopping it from getting that grip back. Once you clear that obstacle, the file usually opens normally.
"We're sorry, but QuickBooks can't open your company file. Error -6123, 0. Connection to the QuickBooks company file has been lost."
What's in This Guide:
▶ What Is QuickBooks Error 6123, 0?
▶ Why Does Error 6123 Happen?
▶ Quick Reference: Which Fix Should You Try?
▶ How to Stop Error 6123 From Coming Back
▶ FAQs

What Is QuickBooks Error 6123, 0?
Error 6123 is QuickBooks telling you it started talking to your company file (the .QBW file) and the conversation got cut off. It belongs to the -6000 family of errors, which are all about QuickBooks having trouble opening or reading the company file.
You'll usually run into it in one of these situations:
- Opening a company file that lives on a server or another computer on your network
- Restoring a backup (.QBB) or a portable company file (.QBM)
- Upgrading a company file to a newer version of QuickBooks Desktop
- Opening a file right after Windows installed updates
- Opening a file that was copied from a USB drive or cloud folder
Your data is probably safe. Error 6123 is a connection problem, not a sign that your books are wiped out. Don't start re-entering transactions or deleting files. Work through the fixes below in order first.
Why Does Error 6123 Happen?
In our experience, almost every case of Error 6123 comes down to one of these causes. Knowing which one fits your situation can save you a lot of time.
Your antivirus or firewall is cutting the connection
Security software watches every file that gets opened. When QuickBooks opens a large company file, especially over a network, antivirus programs like McAfee, Norton, Bitdefender and Avast sometimes step in and block part of the connection. QuickBooks sees the file disappear mid-conversation and throws Error 6123.
The company file name is too long or has special characters
QuickBooks is fussy about file names. If your file is called something like "Smith & Sons Plumbing, LLC (2019-2024) FINAL copy.qbw", the ampersand, comma and parentheses can trip it up. Very long file paths cause the same trouble.
The file is stored somewhere QuickBooks doesn't like
Company files kept in OneDrive, Dropbox or Google Drive folders, on USB drives, or on network-attached storage that isn't set up for QuickBooks are a common source of this error. Sync tools lock and copy the file while QuickBooks is trying to use it.
Multi-user hosting is set up wrong
If more than one computer thinks it's the host, or the server isn't running QuickBooks Database Server Manager, the workstations lose their connection to the file. This is the number one cause in offices with two or more QuickBooks users.
The company file or QuickBooks installation is damaged
A power cut, a crash during a backup, or an update that didn't finish properly can leave the file or the program itself in a bad state. This is less common than the causes above, but it does happen.
How to Fix QuickBooks Error 6123, 0, Step by Step
Start with Fix #1 and work down. Most people are back in their books by Fix #3. Before you start, make sure QuickBooks is closed on every computer in the office.
Quick Reference: Which Fix Should You Try?
| Your situation | Best fix to try first | How often it works |
|---|---|---|
| Error appears on every computer in the office | Fix #5: check multi-user hosting | Very often |
| File is in OneDrive, Dropbox or on a USB drive | Fix #2: rename and move to C: drive | Very often |
| Error started right after an antivirus update | Fix #3: antivirus exclusions | Often |
| Error appears when restoring a backup | Fix #2, then restore to a new folder | Often |
| Sample company file also fails | Fix #6: repair or clean install | Very often |
| You're not sure | Fix #1: Tool Hub and File Doctor | Often |
How to Stop Error 6123 From Coming Back
Once you're back in, a few habits will keep this error away for good.
- Keep company files out of sync folders. OneDrive, Dropbox and Google Drive are great for documents, but they fight with QuickBooks over the company file. Keep the live file on your C: drive or a proper server, and back it up to the cloud separately.
- Use short, plain file names. Letters and numbers only. Save the full business name for inside QuickBooks.
- Close QuickBooks at the end of the day. Overnight backups and Windows updates are much less likely to damage a file that isn't open.
- Keep QuickBooks updated. Go to Help > Update QuickBooks Desktop once a month. Updates fix many of the bugs behind -6000 series errors.
- Back up before every upgrade. Upgrading a company file to a newer version is one of the riskiest moments for this error. A fresh backup means you can always go back.
Frequently Asked Questions About Error 6123, 0
Will I lose my data if I get Error 6123?
Almost certainly not. Error 6123 is about QuickBooks losing its connection to the file, not about the data inside being erased. In the rare cases where the file is damaged, File Doctor can usually repair it, and you can always restore your most recent backup.
Why do I get Error 6123 only when restoring a backup?
Usually it's the location or the name. Restore the backup to a brand-new folder on your C: drive and give the restored file a short name with no special characters. If that still fails, the backup itself may be damaged, so try an older backup if you have one.
Does Error 6123 happen in QuickBooks Pro, Premier and Enterprise?
Yes. It can show up in every QuickBooks Desktop edition, from Pro to Enterprise, and in older and newer versions alike. The fixes on this page work for all of them.
I fixed it but it came back the next day. What's going on?
Something is undoing the fix overnight. The usual suspects are a sync tool moving the file again, an antivirus update that wiped your exclusions, or a second computer that's been set to host multi-user access. Check those three first.
My QuickBooks version is really old. Could that be the problem?
It can be. Older versions like QuickBooks 2018 and earlier no longer get updates from Intuit and can struggle on Windows 11. If you're on an unsupported version, upgrading may be the real fix. We have one-time purchase QuickBooks Desktop licenses with no subscription.
If you've worked through everything above and the error won't go away, don't keep fighting it alone. Give us a call or send an email. We see QuickBooks Desktop errors like this every day and we're happy to point you in the right direction.
Still Stuck on Error 6123? Talk to Us.
We're real people who know QuickBooks inside and out.
Phone: (870) 232-6314
Email: info@accountingscart.com
