QuickBooks Error -6123, 0: Lost Company File Connection After Update or Restore
QuickBooks Desktop drops its company file connection with Error -6123, 0 after updates, backup restores, or hosting mismatches. Here is what resolves it.

QuickBooks Desktop users are reporting Error -6123, 0 when the application suddenly loses its connection to the company file. The message typically surfaces right after a QuickBooks or Windows update, when restoring a backup onto a different machine, or in multi-user environments where hosting settings have fallen out of sync. The error blocks access to the company file entirely, leaving users unable to continue bookkeeping until the connection is restored.
What Triggers Error -6123, 0
The error indicates that QuickBooks can no longer communicate with the company file on disk. Several scenarios commonly produce it. Upgrading QuickBooks or Windows can shift the database service or hosting configuration, severing the link. Restoring a backup — particularly on a different computer or across a network — can introduce path or permission mismatches. In multi-user setups, the error often appears when more than one machine thinks it is hosting, or when the QuickBooks Database Server Manager on the host machine does not match the installed QuickBooks version.
Test the File Locally First
Before changing settings, copy the company file from its network or shared location to a local drive on the workstation — the Desktop folder works fine — and attempt to open it directly from there. If the file opens without error, the company file itself is intact and the problem lies with the network, hosting configuration, or database service. If the file still produces the error from a local drive, the file or backup may be damaged.
Run File Doctor From the Tool Hub
The QuickBooks Tool Hub includes File Doctor, a built-in repair utility that addresses most -6123 hosting and connection conditions. Launch the Tool Hub, select File Doctor, and let it scan and attempt to repair the company file and its network configuration. For many users, this single step clears the error and restores access.
Check Hosting and Database Server Manager
In a multi-user environment, confirm that only the server machine is set to host the company file. Workstations should have hosting turned off. On the host, verify that the QuickBooks Database Server Manager is installed, running, and matches the current QuickBooks version — a version mismatch after an upgrade is a frequent cause of the error. Rescan the company file folder through the Database Server Manager to refresh the connection.
Rename the .ND and .TLG Files
Every company file has two companion files with .ND and .TLG extensions that store network descriptor and transaction log data. If these become corrupted or outdated, QuickBooks may fail to locate or open the company file. Renaming both files — adding a descriptor like “-OLD” to each filename — forces QuickBooks to rebuild them on the next open attempt. The original company file is not affected, and no data is lost.
Check Antivirus and Firewall Software
Security software can block the QuickBooks database service from communicating across the network. If the error appears only in multi-user mode or after a security software update, check whether the firewall or antivirus is interfering. Adding QuickBooks and its database service to the software’s exclusion or allow list may resolve the block.
When the Backup File Is Damaged
If Error -6123, 0 appears specifically during a backup restore, the backup file itself may be corrupted. Always work on a copy of the backup rather than the original, and create a fresh backup before each restore attempt. If repeated restores fail on different machines, the backup is likely the source of the problem rather than the QuickBooks installation.
When Standard Steps Do Not Resolve It
If the error persists after running File Doctor, testing the file on a local drive, and confirming that the Database Server Manager version matches, the company file or backup may have structural damage that the built-in tools cannot repair. In that situation, a professional file repair service can diagnose the underlying damage, restore access to the company file, and recover data from a corrupted backup if that proves to be the root cause.