QuickBooks Error H506: Database Server Manager Loses the Company File
QuickBooks Error H506 appears in multi-user mode when the Database Server Manager loses its link to the company file. Our engineers restore shared access.
QuickBooks Error H506 is one of the H-series faults that stop multi-user mode. It appears when the Database Server Manager on the computer hosting your company file loses its connection to that file, so workstations can no longer reach the data. Your books are normally safe. The problem sits in the connection between machines, not in the file itself, and it can usually be traced and cleared quickly.
The message on your screen
QuickBooks words the H-series message almost the same way across releases. Expect something close to this:
You are trying to work with a company file that is located on another computer, and this copy of QuickBooks cannot reach the server on that computer. (H506)
The error usually appears when you open the company file or switch to multi-user mode. Sometimes the file opens in single-user mode without complaint, then fails the moment a second person signs in.
What does H506 mean?
Every H-series code points to a hosting problem. The copy of QuickBooks you are running cannot reach the server that holds the data. With H506 specifically, the Database Server Manager, a background service on the host computer, has dropped its link to the company file. Your workstation has a file name but no live data service behind it, and QuickBooks refuses the connection rather than risk working with half-loaded records.
What triggers H506?
From our repair cases, a few causes cover most incidents:
- The QuickBooks database service (QuickBooksDBXX) has stopped on the host, often after a Windows update or an unattended overnight restart.
- Two computers are both set to host the company file, so workstations get conflicting answers about where the live data sits.
- A firewall or security suite on the host blocks the ports the database service listens on.
- The .ND network file beside the company file has been damaged and no longer describes the connection.
- The host's name cannot be resolved on the network, which is common after router or subnet changes.
How do you fix H506?
Work through the scenarios in order. The first one clears most cases on its own.
The database service has stopped
- Go to the computer that stores the company file.
- Press Windows+R, type services.msc and press Enter.
- Find the service starting with QuickBooksDB. The number after it matches your QuickBooks release.
- If the service is stopped, right-click it and choose Start. If it is running, choose Restart.
- Double-click the service and set Startup type to Automatic so it survives reboots.
- Open QuickBooks Database Server Manager, confirm the folder holding your file is listed under scanned folders, and run a scan.
- Return to your workstation and open the file in multi-user mode.
A workstation is also hosting
Only the machine that stores the file should ever host it.
- On each workstation, open QuickBooks and choose File, then Utilities.
- If the menu shows Stop Hosting Multi-User Access, that workstation is hosting. Select it and confirm.
- Repeat this on every workstation except the host.
- Reopen the company file from the computer that failed.
A firewall is blocking the ports
- On the host, open QuickBooks Database Server Manager and check the Port Monitor tab to see which ports the service is using.
- In your firewall settings, create inbound rules that allow those ports, and add exceptions for the QuickBooks database programs.
- Restart the QuickBooksDB service as in the first scenario, then retest multi-user mode.
The .ND file is damaged
- On the host, open the folder that contains your company file.
- Find the file with the same name ending in .ND and rename it, adding .old at the end.
- Open QuickBooks Database Server Manager and scan the folder again; a fresh .ND file is created.
- Test multi-user mode from a workstation.
If the error survives all four scenarios, the fault usually sits outside QuickBooks in the network itself: name resolution, a VPN path, or stale address information. The QuickBooks File Doctor tool in the QuickBooks Tool Hub can repair some of these automatically. Where it cannot, our engineers can remote into the host, trace the connection and repair the hosting configuration for you.
Preventing H506 from coming back
A few habits keep the connection stable:
- Leave hosting switched on at the server and switched off everywhere else. Check after every QuickBooks install or update.
- After a server restart, confirm the QuickBooksDB service is running before anyone opens the file. Start the host first, then the workstations.
- Whenever you upgrade QuickBooks, open Database Server Manager on the server afterwards and rescan the company folder. Each release installs its own database service, and the old scan does not carry over.
- Review firewall rules after major Windows updates so a new security setting does not quietly block the database ports.
- Keep the company file on a machine that stays on and stays on one network during working hours. Hosting from a roaming laptop invites connection drops.