QuickBooks Error 6177: How to Open Company Files on Remote Servers

QuickBooks Error 6177 occurs when QuickBooks cannot use the specified path to open a company file located on a remote server or host computer. This error indicates that QuickBooks Desktop is attempting to access the file using a localized drive path instead of communicating through the database engine, or that the QuickBooks Database Server Manager has lost track of the file’s network location. To fix Error 6177, rescan the company file directory using the Database Server Manager on the host server, or open the file using a direct Universal Naming Convention (UNC) path.

Fast-Fix: The 45-Second Solution

To resolve Error 6177, open the QuickBooks Database Server Manager on your host server, select the “Scan Folders” tab, add your company file folder, and run a scan. Error 6177 is caused when QuickBooks cannot establish a valid network path to the remote database engine. Rescanning the folder rebuilds the Network Data (.ND) file and restores the correct server connection string for workstations.

Quick Status & Triage Snapshot

  • Data Risk Tier: Low. The company file itself is not corrupt; the issue is isolated to path routing and database management.
  • Multi-User Impact: High. Workstations across the local network cannot access the company file until the server path is cleared.
  • Common Trigger: Moving the company file to a new server directory, mapped network drives disconnecting during sleep mode, or opening a networked file directly by double-clicking it in Windows Explorer.
  • Estimated Fix Time: 10 to 20 minutes.

Diagnostic Flowchart: Error 6177 Decision Path

[Start: Error 6177 when opening file from a server]
   │
   ▼
Are you opening the file by double-clicking it in File Explorer?
   ├─► Yes ──► Stop. Open QuickBooks first, then choose File > Open or Restore.
   └─► No ───► Proceed to server check.
          │
          ▼
Is QuickBooks Database Server Manager installed on the server hosting the file?
   ├─► No ──► Install Database Server Manager and scan the file directory.
   └─► Yes ─► Rescan the folder containing the .QBW file.
                 │
                 ▼
              Did rescanning clear the error on workstations?
                 ├─► Yes ──► [Resolved: Network path restored]
                 └─► No ───► Rebuild the .ND file and map via direct UNC path.

Is Your Data at Risk?

Your accounting records are not in danger when Error 6177 appears. This error occurs at the transport and path-resolution layer before QuickBooks opens the database tables. Because no transactions are actively being written when the error is thrown, the data inside the .qbw file remains untouched.

Technical Anatomy: What This Error Means

When QuickBooks opens a company file hosted on a remote server, it does not open the database directly like a standard text document. Instead, it reads a companion Network Data (.ND) file located in the same directory. This .ND file contains the server’s IP address, the port assigned to the Database Server Manager, and the absolute path to the .qbw file.

Error 6177 triggers when QuickBooks cannot resolve the connection string inside the .ND file or when a workstation attempts to open the file using a local operating system call (such as a hardcoded drive letter Z:\) that the host server does not recognize. When the workstation’s request fails to bridge the gap to the server’s database daemon, QuickBooks halts the operation and throws Error 6177.

Differential Diagnosis: Don’t Confuse This With…

  • QuickBooks Error 6175: Occurs when the workstation finds the server, but the QuickBooksDBXX background service on that server is completely stopped. In Error 6177, the service may be running, but the path reference used to reach it is broken.
  • QuickBooks Error 6176: Triggered when firewall rules or antivirus filters drop network packets before the workstation can communicate with the server.
  • QuickBooks Error 6000, -77: Indicates that the company file is stored in an improper location, such as a cloud-sync folder (Dropbox, Google Drive) or an external storage device, rather than a standard network share.

Step-by-Step Repair Guide

Work through these steps in order, beginning on the server hosting the company file.

Step 1: Rescan Folders with QuickBooks Database Server Manager

Rescanning updates the internal directory index and writes fresh connection strings into the folder.

  1. Log into your host server or the computer physically storing the company file.
  2. Open the Windows Start menu, type QuickBooks Database Server Manager, and launch the utility.
  3. Select the Scan Folders tab.
  4. Click Add Folder and browse to the specific folder where your .qbw company files reside.
  5. Click Scan.
  6. Wait until the scan finishes and displays your company file in the bottom window under “QuickBooks company files found.”
  7. Return to the workstation, open QuickBooks Desktop, and attempt to open the file.

Step 2: Delete and Rebuild the Network Data (.ND) File

If the existing .ND file contains corrupt pathing syntax, deleting it forces QuickBooks and the Database Server Manager to create a clean one.

  1. Open File Explorer on the host server and navigate to the folder containing your company file.
  2. Locate the file named [YourCompanyName].qbw.ND.
  3. Right-click the file and select Delete (or rename it to [YourCompanyName].qbw.ND.old).
  4. Open the QuickBooks Database Server Manager on the server.
  5. Go to the Scan Folders tab and run a scan on the folder again.
  6. Check File Explorer; a new .ND file will appear in the directory.

Step 3: Open the File via UNC Path Instead of Mapped Drives

Mapped drive letters (such as H:\ or Z:\) can lose their session links when network adapters enter power-saving states. Using a Universal Naming Convention (UNC) path provides a permanent route.

  1. On the client workstation, open QuickBooks Desktop.
  2. On the No Company Open window, select Open or Restore an Existing Company.
  3. Choose Open a company file, then click Next.
  4. In the address bar or File Name box, enter the full UNC path:
    \\[ServerName]\[SharedFolder]\[CompanyName].qbw(For example: \\DataServer\QBShare\AcmeCorp.qbw)
  5. Select the file and click Open.

Step 4: Reset the File Path via Local Cache

If the server stubbornly retains an invalid path cache, resetting the file locally can clear the registry lock:

  1. Copy the .qbw file from the server folder to the local desktop of the host server.
  2. Open QuickBooks directly on that server and open the desktop copy.
  3. Close QuickBooks, move the .qbw file back into the original shared network folder (replacing the old one).
  4. Run a scan in the Database Server Manager. This resets the internal path register within QuickBooks.

Hard Stop: When to Call an Expert

Escalate the issue to a network administrator if:

  • The host server uses an unsupported network storage architecture, such as a Network Attached Storage (NAS) appliance that cannot run the Windows-based QuickBooks Database Server Manager.
  • The server’s hard drive reports bad sectors or NTFS file system errors during directory reads.
  • Domain-level permissions repeatedly strip the QBDataServiceUser account of read/write access to the network share.

If you encounter additional connectivity barriers during setup, review these resources:

Closing the Books

Error 6177 is a routing problem, not a sign of damaged financial records. Once the Database Server Manager rescans your shared directory and workstations connect using reliable UNC paths rather than fragile drive letters, your remote access will function normally.