OnCallSolve

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

How to Fix QuickBooks Has Lost the Connection to the Company File
James Whitfield
Written by

James Whitfield

Small Business Technology Journalist
Michael Reyes

Reviewed byQuickBooks ProAdvisor

Published: Mar 9, 2026Updated: Mar 9, 2026

Key Takeaways
  • 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.

Need help? Call our support line.

A support agent can walk you through the fix step by step.

+1 (800) 446-8848

What 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.

Need help? Call our support line.

A support agent can walk you through the fix step by step.

+1 (800) 446-8848

5. 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.

  1. On the host computer, click the Windows button and type QuickBooks Database Server Manager
  2. Open the application from the search results
  3. Click the Scan Folders tab
  4. Verify your company file folder is listed; if not, click Add Folder and browse to it
  5. Click Scan Now
  6. Wait for the scan to complete. The status bar will show "Scan Completed"
  7. Close the Database Server Manager
  8. Press Windows + R, type `services.msc`, and press Enter
  9. Scroll to QuickBooksDB36 (2026), QuickBooksDB35 (2025), QuickBooksDB34 (2024), QuickBooksDB33 (2023), or QuickBooksDB32 (2022) depending on your version
  10. Right-click the service and select Properties
  11. Set Startup type to Automatic
  12. If the service shows "Stopped," click Start
  13. Repeat steps 9 through 12 for QBCFMonitorService
  14. 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.

  1. On the host computer, download the latest QuickBooks Tool Hub from the official Intuit support page
  2. Run QuickBooksToolHub.exe and follow the installation prompts; accept the license agreement
  3. Open QuickBooks Tool Hub from the Windows desktop
  4. Click Network Issues in the left panel
  5. Click QuickBooks File Doctor
  6. Select your company file from the dropdown; if it does not appear, click Browse and locate your .qbw file
  7. Select Check your network and click Next
  8. Enter your QuickBooks admin password when prompted and click Next
  9. Wait for the diagnostic to complete (it can take 5 to 10 minutes for large company files)
  10. Review the result. If File Doctor reports issues, it will attempt repairs automatically.
  11. 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):

  1. Open QuickBooks Desktop
  2. Go to File > Utilities
  3. If you see "Stop Hosting Multi-User Access," click it to disable hosting on this workstation
  4. If you see "Host Multi-User Access," hosting is already off; no action needed
  5. Repeat on every workstation connected to the company file

On the host computer:

  1. Open QuickBooks Desktop
  2. Go to File > Utilities
  3. If you see "Host Multi-User Access," click it to enable hosting
  4. 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:

  1. Open Control Panel > System and Security > Windows Defender Firewall
  2. Click Allow an app or feature through Windows Defender Firewall
  3. Click Change Settings (requires administrator access)
  4. Click Allow another app
  5. Add each of the following: `QBDBMgrN.exe`, `QBW32.exe`, and `QBCFMonitorService.exe`
  6. Ensure both Private and Public are checked for each executable
  7. Click OK

Open ports for QuickBooks multi-user traffic:

  1. In Windows Defender Firewall, click Advanced settings
  2. Right-click Inbound Rules and select New Rule
  3. Select Port and click Next
  4. Select TCP, enter `8019, 56728, 55378, 55379, 55380, 55381, 55382` in the port field, and click Next
  5. Select Allow the connection and click Next
  6. Apply to all profiles (Domain, Private, Public) and click Next
  7. Name the rule QuickBooks Multi-User Inbound and click Finish
  8. 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.

  1. On the host computer, create a new folder directly on a local drive: for example, `C:\QuickBooksCompanyFiles\`
  2. Right-click the new folder, select Properties > Security
  3. Confirm the QuickBooks user account and the QBDataServiceUserXX account have Full Control permissions
  4. Close QuickBooks on all machines
  5. Copy the company file (.qbw) from the mapped drive into the new local folder
  6. On the host, open QuickBooks and go to File > Open or Restore Company
  7. Browse to the new local folder and open the company file
  8. Switch to multi-user mode and verify workstations can now connect
Need help? Call our support line.

A support agent can walk you through the fix step by step.

+1 (800) 446-8848

Method 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.

  1. On the host computer, open Control Panel > Hardware and Sound > Power Options
  2. Click Change plan settings next to your active power plan
  3. Set Turn off the display to Never
  4. Set Put the computer to sleep to Never
  5. Click Save changes
  6. Click Change advanced power settings
  7. Expand Sleep, then expand Hibernate after, and set it to Never
  8. Expand Hard disk > Turn off hard disk after and set it to Never
  9. 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.

  1. Download the QuickBooks Desktop installer for your version from the Intuit download page
  2. On the host computer, run the installer
  3. When prompted to choose installation type, select Custom or Network Options
  4. On the next screen, select I'll be using QuickBooks Desktop on this computer, AND I'll be storing...
  5. Follow the prompts to complete installation
  6. Open QuickBooks Database Server Manager, scan your company file folder, and verify the service starts correctly
  7. 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.

ScenarioWhen Error AppearsMost Likely CauseRecommended Method
Single-user mode, local fileDuring normal use on the hostCorrupted company file or drive issueMethod 2 (File Doctor)
Multi-user, error on all workstationsImmediately or mid-sessionDatabase Server Manager stoppedMethod 1 (Restart QBDSM)
Multi-user, error on some workstationsMid-session on specific machinesFirewall rules on those machinesMethod 4 (Firewall)
Multi-user, file on mapped driveAfter network hiccupMapped drive lost connectionMethod 5 (Move file)
Multi-user, error at specific timesSame time each day or overnightHost entering sleep/hibernateMethod 6 (Power settings)
Error after Windows UpdateDay after update installsFirewall rules reset by updateMethod 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

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)

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

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.


About Our Contributors
James Whitfield
Written by
James Whitfield

Small Business Technology Journalist

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

Reviewed by

QuickBooks ProAdvisor

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

It means the workstation you are working on lost its network connection to the host computer running QuickBooks Database Server Manager. QuickBooks forces the session closed to protect the company file from partial writes. The error appears mid-session (not at startup) and results in the loss of any unsaved changes on that workstation.

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?