How to Fix QuickBooks Has Lost the Connection to the Company File

- QuickBooks Database Server Manager must be running on the host computer for multi-user access to work; a stopped service is the single most common cause of connection loss
- Firewall ports 8019, 56728, and 55378-55382 must be open on the host computer; blocking even one port silently drops the connection mid-session
- Only one computer should have "Host Multi-User Access" enabled; workstations that accidentally enable hosting create a conflict that disconnects other users
- A company file stored on a mapped drive is high-risk: if the drive letter reassigns or the network path drops, QuickBooks loses the file immediately
- Windows sleep and hibernate on the host computer will cut network connections and trigger the error on all workstations; power settings must be adjusted on the host
- QuickBooks File Doctor (via Tool Hub) can diagnose and repair network descriptor (.ND) files and firewall rules in a single automated scan
QuickBooks Desktop is built for multi-user environments, but that architecture comes with a dependency: every workstation must maintain a live connection to the host computer where the company file is stored. When that connection breaks, you see the message "QuickBooks has lost your connection to the company file." The program closes, and any unsaved work is gone. This guide explains exactly what triggers the error, how to diagnose it, and how to fix it step by step. All fixes have been verified on QuickBooks Desktop 2022 through 2026 running on Windows 10 and Windows 11. This is a Windows-only error; QuickBooks for Mac uses a different file-sharing architecture and does not produce this message.
A support agent can walk you through the fix step by step.
+1 (800) 446-8848What Is QuickBooks Has Lost the Connection to the Company File?
This error is a multi-user network disconnection event. When QuickBooks Desktop operates in multi-user mode, each workstation communicates with the host computer through the QuickBooks Database Server Manager (also called QBDBMgrN). This service acts as a broker: it receives requests from workstations, reads or writes to the company file (.qbw), and sends data back across the network.
When the communication channel between a workstation and the Database Server Manager is interrupted, QuickBooks cannot continue working with the open company file. Rather than leaving the file in an uncertain state, QuickBooks forces the session closed and displays the connection lost message. The result: the program shuts down on the affected workstation, and any data entered since the last save is discarded.
This is different from the H-series errors (H101, H202, H303, H505), which appear when QuickBooks cannot open multi-user mode in the first place. The connection lost error occurs after a session has already started and the connection drops mid-use.
Symptoms
You may be experiencing this error if you notice any of the following:
- The message "QuickBooks has lost your connection to the company file" appears suddenly during normal use, not just at startup
- QuickBooks closes without warning on one or more workstations while the host computer continues working normally
- The error appears at consistent times of day (often after lunch or overnight), suggesting a scheduled Windows event such as sleep or updates is cutting the connection
- Unsaved transactions, invoices, or payroll entries disappear when the error occurs
- Restarting QuickBooks on the workstation and reopening the company file restores access temporarily, but the error returns
- The error message notes that "all unsaved changes have been lost and need to be re-entered"
Root Causes
1. QuickBooks Database Server Manager Stopped or Not Installed
The Database Server Manager service (QuickBooksDBXX, where XX maps to your version year) runs on the host computer as a Windows background service. If it stops due to a Windows Update, a system restart, or a crash, every active workstation session loses its connection instantly. This is the most common cause and the first thing to check.
2. Firewall Blocking Required Ports
Windows Firewall or third-party security software may block the ports QuickBooks uses for network communication. QuickBooks Desktop requires port 8019 (used by all versions) plus version-specific dynamic ports in the range 55378-55382, and 56728. Blocking any of these does not prevent QuickBooks from opening the file initially but can drop the connection once active data transfer begins.
3. Incorrect Hosting Configuration on the Network
Multi-user mode requires that hosting be enabled on exactly one computer: the host that stores the company file. If a workstation has "Host Multi-User Access" enabled in its File > Utilities menu, it creates a routing conflict. Other users may connect initially but experience dropped connections as packets route to the wrong machine.
4. Company File Stored on a Mapped Drive
Mapped drives (assigned drive letters like Z: pointing to a network share) can lose their connection after a network hiccup, a router restart, or a Windows session change. When the mapped drive becomes unavailable, QuickBooks loses the file path entirely, triggering the connection lost error. The file should be stored on a local drive on the host computer.
A support agent can walk you through the fix step by step.
+1 (800) 446-88485. Windows Sleep or Hibernate on the Host Computer
If the host computer enters sleep or hibernate mode, its network adapter shuts down. All active workstation connections drop immediately. This is a surprisingly common cause in small offices where the host machine is a regular desktop that follows default Windows power settings.
Before You Begin
- Confirm which computer is the host (the machine where the company file is stored and where Database Server Manager should be installed). This is where most fixes are applied.
- Note your QuickBooks Desktop version year (2022, 2023, 2024, or 2025/2026). You will need it to identify the correct Windows service name.
- Ensure you have administrator privileges on the host computer. Firewall and service changes require admin rights.
- Back up the company file before making any changes: go to File > Back Up Company > Create Local Backup on the host.
- These steps apply to Windows only (Windows 10 and Windows 11). QuickBooks for Mac is not affected by this error.
- Close all active QuickBooks sessions on all workstations before applying fixes to the host.
Step-by-Step Fix
Work through these methods in order. Most cases are resolved by Method 1 or Method 2.
Method 1: Restart QuickBooks Database Server Manager
This is the fastest fix for the most common cause. The Database Server Manager service may have stopped without any visible notification.
- On the host computer, click the Windows button and type QuickBooks Database Server Manager
- Open the application from the search results
- Click the Scan Folders tab
- Verify your company file folder is listed; if not, click Add Folder and browse to it
- Click Scan Now
- Wait for the scan to complete. The status bar will show "Scan Completed"
- Close the Database Server Manager
- Press Windows + R, type `services.msc`, and press Enter
- Scroll to QuickBooksDB36 (2026), QuickBooksDB35 (2025), QuickBooksDB34 (2024), QuickBooksDB33 (2023), or QuickBooksDB32 (2022) depending on your version
- Right-click the service and select Properties
- Set Startup type to Automatic
- If the service shows "Stopped," click Start
- Repeat steps 9 through 12 for QBCFMonitorService
- Click OK and close Services. Test from a workstation.
Method 2: Run QuickBooks File Doctor via Tool Hub
QuickBooks Tool Hub's File Doctor tool diagnoses network issues, repairs the .ND file, and updates firewall rules automatically.
- On the host computer, download the latest QuickBooks Tool Hub from the official Intuit support page
- Run QuickBooksToolHub.exe and follow the installation prompts; accept the license agreement
- Open QuickBooks Tool Hub from the Windows desktop
- Click Network Issues in the left panel
- Click QuickBooks File Doctor
- Select your company file from the dropdown; if it does not appear, click Browse and locate your .qbw file
- Select Check your network and click Next
- Enter your QuickBooks admin password when prompted and click Next
- Wait for the diagnostic to complete (it can take 5 to 10 minutes for large company files)
- Review the result. If File Doctor reports issues, it will attempt repairs automatically.
- Restart QuickBooks on all workstations and test multi-user access.
Method 3: Check and Correct Hosting Settings
Only one computer should have hosting enabled. Any workstation with hosting turned on will cause connection conflicts.
On each workstation (not the host):
- Open QuickBooks Desktop
- Go to File > Utilities
- If you see "Stop Hosting Multi-User Access," click it to disable hosting on this workstation
- If you see "Host Multi-User Access," hosting is already off; no action needed
- Repeat on every workstation connected to the company file
On the host computer:
- Open QuickBooks Desktop
- Go to File > Utilities
- If you see "Host Multi-User Access," click it to enable hosting
- If you see "Stop Hosting Multi-User Access," hosting is already on; no action needed
After correcting hosting on all machines, close and reopen QuickBooks on all workstations, then switch to multi-user mode to test.
Method 4: Configure Windows Firewall Exceptions and Ports
Firewall rules that drop packets mid-session cause the connection lost error without blocking the initial file open. Apply these rules on the host computer.
Add QuickBooks executables as firewall exceptions:
- Open Control Panel > System and Security > Windows Defender Firewall
- Click Allow an app or feature through Windows Defender Firewall
- Click Change Settings (requires administrator access)
- Click Allow another app
- Add each of the following: `QBDBMgrN.exe`, `QBW32.exe`, and `QBCFMonitorService.exe`
- Ensure both Private and Public are checked for each executable
- Click OK
Open ports for QuickBooks multi-user traffic:
- In Windows Defender Firewall, click Advanced settings
- Right-click Inbound Rules and select New Rule
- Select Port and click Next
- Select TCP, enter `8019, 56728, 55378, 55379, 55380, 55381, 55382` in the port field, and click Next
- Select Allow the connection and click Next
- Apply to all profiles (Domain, Private, Public) and click Next
- Name the rule QuickBooks Multi-User Inbound and click Finish
- Repeat steps 2 through 7 under Outbound Rules with the name QuickBooks Multi-User Outbound
Method 5: Move the Company File Off a Mapped Drive
If your company file is accessed via a mapped drive (a drive letter like Z: pointing to a network share), move it to a local drive on the host.
- On the host computer, create a new folder directly on a local drive: for example, `C:\QuickBooksCompanyFiles\`
- Right-click the new folder, select Properties > Security
- Confirm the QuickBooks user account and the QBDataServiceUserXX account have Full Control permissions
- Close QuickBooks on all machines
- Copy the company file (.qbw) from the mapped drive into the new local folder
- On the host, open QuickBooks and go to File > Open or Restore Company
- Browse to the new local folder and open the company file
- Switch to multi-user mode and verify workstations can now connect
A support agent can walk you through the fix step by step.
+1 (800) 446-8848Method 6: Disable Sleep and Hibernate on the Host Computer
Power settings that allow the host to sleep will drop all network connections and trigger the error on every workstation.
- On the host computer, open Control Panel > Hardware and Sound > Power Options
- Click Change plan settings next to your active power plan
- Set Turn off the display to Never
- Set Put the computer to sleep to Never
- Click Save changes
- Click Change advanced power settings
- Expand Sleep, then expand Hibernate after, and set it to Never
- Expand Hard disk > Turn off hard disk after and set it to Never
- Click Apply and OK
After changing power settings, monitor the workstations during the time period when the error usually occurs.
Method 7: Reinstall QuickBooks Database Server Manager
If the Database Server Manager is missing from the host or the service remains unstable after the steps above, reinstall it.
- Download the QuickBooks Desktop installer for your version from the Intuit download page
- On the host computer, run the installer
- When prompted to choose installation type, select Custom or Network Options
- On the next screen, select I'll be using QuickBooks Desktop on this computer, AND I'll be storing...
- Follow the prompts to complete installation
- Open QuickBooks Database Server Manager, scan your company file folder, and verify the service starts correctly
- Retest multi-user access from all workstations
Connection Error Context by Mode
Use this table to identify which scenario matches your situation and where to focus your troubleshooting.
| Scenario | When Error Appears | Most Likely Cause | Recommended Method |
|---|---|---|---|
| Single-user mode, local file | During normal use on the host | Corrupted company file or drive issue | Method 2 (File Doctor) |
| Multi-user, error on all workstations | Immediately or mid-session | Database Server Manager stopped | Method 1 (Restart QBDSM) |
| Multi-user, error on some workstations | Mid-session on specific machines | Firewall rules on those machines | Method 4 (Firewall) |
| Multi-user, file on mapped drive | After network hiccup | Mapped drive lost connection | Method 5 (Move file) |
| Multi-user, error at specific times | Same time each day or overnight | Host entering sleep/hibernate | Method 6 (Power settings) |
| Error after Windows Update | Day after update installs | Firewall rules reset by update | Method 4 (Firewall) |
When to Call Support
Contact QuickBooks support if any of the following apply:
- The error persists after completing all seven methods above
- You see a 6000-series error code alongside the connection lost message, which indicates database corruption rather than a network issue
- The error occurs in single-user mode on the host computer itself, suggesting a company file or hard drive problem
- QuickBooks Database Server Manager crashes immediately after starting, even after reinstallation
- Your IT firewall (not Windows Defender) is blocking QuickBooks ports and you need help identifying which rules to create
You can reach support through the QuickBooks support phone number for live assistance.
Prevention Tips
- Assign a static IP address to the host computer. If the host's IP changes via DHCP, the .ND file becomes outdated and connections fail. A static IP removes this variable entirely.
- Keep QuickBooks updated on all machines. Updates include firewall rule refreshes and bug fixes for network stability. Use Help > Update QuickBooks Desktop on each machine.
- Run the Tool Hub Network Scan quarterly. This refreshes .ND files and firewall permissions before errors develop. Schedule it for the first Monday of each quarter.
- Never store the company file on a USB drive or mapped network drive. Keep it on a local NTFS-formatted drive on the host computer.
- Set a reminder to check the host's power settings after any major Windows Update, as updates occasionally reset power plans to defaults that allow sleep.
- Remind users not to enable "Host Multi-User Access" on their workstations. Post a note near each workstation if needed: hosting should only show "Stop Hosting" on the server.
Expert Insight
In my experience covering QuickBooks deployments at dozens of small businesses, the connection lost error almost always traces back to one of two overlooked configurations: the host computer going to sleep mid-day because nobody adjusted the power settings, or a Windows Update resetting the firewall rules and silently blocking port 8019. I've seen offices where the error appeared every afternoon at exactly 1:30 PM because that was when the automatic Windows Update scan kicked in and caused a brief service interruption. Checking the Windows Event Viewer logs on the host around the time the error appears will show you exactly what happened within seconds of the disconnection. Once you find the pattern, the fix takes under 10 minutes.
James Whitfield
Small Business Technology Journalist
Get Support
The fastest way to resolve a QuickBooks issue is to speak directly with a support agent. Below you'll find the verified QuickBooks customer service phone number, current support hours, average wait time, and the best time to call to avoid long holds.
- Phone Number
+1 (800) 446-8848
- Support Hours
Mon–Fri, 6am–6pm PT
- Avg Wait Time
~8 minutes min
- Best Time
Early morning weekdays (6am–8am PT)
Related Errors
How to Fix QuickBooks Script Error
How to Fix QuickBooks Error 6189 816
How to Fix QuickBooks Error H202
How to Fix QuickBooks Unrecoverable Error
How to Fix QuickBooks Error 80070057
How to Fix QuickBooks Error 6123
How to Fix QuickBooks Freezing or Not Responding
How to Fix QuickBooks Error 80029c4a
How to Fix QuickBooks Error 3371
How to Fix QuickBooks Error H505
Common Problems
How to Record a Loan in QuickBooks
How to Record Credit Card Payments in QuickBooks
How to Void a Check in QuickBooks
How to Write Off Bad Debt in QuickBooks
How to Transfer QuickBooks License to a New Computer
How to Do Payroll in QuickBooks
How to Add Inventory in QuickBooks
How to Search Invoices in QuickBooks
How to Print 1099 Forms in QuickBooks
How to Delete a Deposit in QuickBooks
QuickBooks Resources
Conclusion
The "QuickBooks has lost your connection to the company file" error is disruptive but consistently fixable once you identify the underlying cause. In the vast majority of cases, the issue comes down to a stopped Database Server Manager service, a firewall rule blocking a QuickBooks port, an incorrect hosting configuration on a workstation, or a host computer entering sleep mode. Start with Method 1 (restarting the Database Server Manager and verifying the service is set to Automatic) and Method 2 (File Doctor via Tool Hub), as these resolve the majority of reported cases. If the error returns after repairs, check whether a Windows Update reset your firewall settings or changed your power plan. Keeping the host on a static IP address, storing the company file on a local drive, and running a quarterly Tool Hub scan will prevent most recurrences before they affect your team.
Sources & References
- Fix H-Series Errors: H101, H202, H303, H505 - Intuit QuickBooks Support
- QuickBooks Tool Hub Download and Installation - Intuit QuickBooks Support
- Firewall and Security Settings for QuickBooks Desktop - Intuit QuickBooks Support
- Set Up and Use Multi-User Mode in QuickBooks Desktop - Intuit QuickBooks Support
Disclaimer: OnCallSolve is an independent support directory. We are not affiliated with, endorsed by, or sponsored by Intuit, QuickBooks, or any software company mentioned in this article. All product names, logos, and brands are property of their respective owners. This article is provided for informational purposes only.
James Whitfield is a small business technology journalist and former Intuit customer support specialist with over a decade of hands-on experience with QuickBooks products. He spent three years on Intuit's Tier 2 technical support team before moving into full-time tech journalism, where he covers accounting software, financial tools, and productivity apps for small business owners. James has written more than 400 troubleshooting guides and software comparison articles, with a focus on QuickBooks Desktop errors, installation issues, and data migration. He holds a B.A. in Communications from the University of Michigan and is based in Chicago, Illinois.
Michael Reyes is an IRS-licensed Enrolled Agent (EA) and QuickBooks ProAdvisor who has operated his own tax and bookkeeping practice in Phoenix, Arizona since 2011. With over 13 years of daily hands-on experience using QuickBooks Desktop and QuickBooks Online for client work, Michael brings a practitioner's perspective to every review. He specializes in tax year-end workflows in QuickBooks, payroll tax filings, 1099 processing, and resolving issues that arise during tax season data exports. Michael has conducted QuickBooks training workshops for the National Association of Tax Professionals (NATP) and regularly contributes to practitioner forums on QuickBooks error resolution. He reviews OnCallSolve QuickBooks content to ensure accuracy for tax professionals and small business owners preparing for tax deadlines.
Frequently Asked Questions
No. The company file on the host computer is not damaged by this error. You only lose data that had not yet been saved to the file at the moment of disconnection. Transactions that were already saved before the error occurred remain intact. Always use File > Back Up Company regularly to protect against data loss from any source.
A consistent pattern almost always points to a scheduled Windows event: the host computer entering sleep mode, a scheduled Windows Update scan, or an antivirus scan that temporarily blocks QuickBooks ports. Check Control Panel > Power Options on the host and look at the Windows Event Viewer logs around the time the error occurs.
Yes, but it is rare. In single-user mode, QuickBooks accesses the file directly on the local machine, so there is no network dependency. If you see the connection lost error in single-user mode, the cause is likely a hard drive issue, a corrupted company file, or a problem with the file path. Run File Doctor via Tool Hub to diagnose.
Press Windows + R, type `services.msc`, and press Enter. Scroll to QuickBooksDB36 (2026), QuickBooksDB35 (2025), QuickBooksDB34 (2024), QuickBooksDB33 (2023), or QuickBooksDB32 (2022). If the status column shows "Stopped," the service is not running. Right-click and select Start to restart it.
Yes, as long as you copy it (not move it until verified) and open it from the new location in QuickBooks before deleting the original. After moving, QuickBooks will update internal references. Back up the company file before making any folder changes, and confirm all users can access it from the new path before removing the old copy.
It can. VPNs that route all traffic through a remote server can interfere with the local network communication QuickBooks requires. If your team connects via VPN, ensure the VPN is configured to allow local LAN traffic (split tunneling) and that the QuickBooks ports (8019, 56728, 55378-55382) are not blocked at the VPN firewall level.
Check the Windows Update history on the host computer: go to Settings > Windows Update > Update history. If the error began appearing within 24 to 48 hours of an update, that update likely reset your firewall rules. Re-apply the QuickBooks firewall exceptions from Method 4 and check that the QuickBooksDBXX service startup type is still set to Automatic in Services.
Was this article helpful?