callnow

Live Support

+1-802-778-9005

Connection Has Been Lost issue is a QuickBooks company file error that arises when the user is unable to access the company file while using QuickBooks desktop. It asks QuickBooks to close immediately, potentially causing data loss.

QuickBooks stores financial information and records related to business in a company file. When the “The connection to the company file has been lost” message appears while opening or working with a company file on QB desktop, you cannot access, retrieve, modify, or store the financial information or data. The damaged company file (the QBWUSER.ini file) is the major root cause of this problem.

This issue may arise due to file corruption, insufficient permissions, or interference from third-party processes.

The user will see the following error prompt when facing this issue:

connection to the company file has been lost

This error states that “The connection to the company file has been lost. QuickBooks must close immediately. Any unsaved data will need to be re-entered”

Quick Solution

ProblemQuick Fix
The error occurs due to the Portable Storage Drive.Ensure that the Portable Drive is connected to the computer because, generally, the company file is stored on a local drive. 
The error occurs due to enabled Power Management SettingsTurn off the Sleep, Standby, and Hibernation Modes as they disrupt the connection if they are activated on the host computer.
The error occurs due to the enabled hosting mode.Hosting means a computer that has a company file stored allows other computers to access the same file. Turn off the host mode to avoid connection problems.
The error occurs due to the enabled hosting modeHosting means a computer which has a company file stored allows other computers to access the same file. Disable the host mode to avoid the connection problems.
The error occurs due to an Antivirus or FirewallPlease turn off the Firewall, as it can interfere with the communication between QuickBooks and the company file.

Reasons Behind the Problem Connection Has Been Lost in QuickBooks

Users may face the problem while working with company files due to the following reasons:

  • Company files are stored on a different system or a portable drive, and the connection to the storage device is disrupted.
  • Activated sleep or hibernation mode in the Windows power management settings.
  • Corrupted or damaged data within the company file.
  • Interference of Antivirus or Firewall with QuickBooks.
  • More than one system on a network hosts the QuickBooks company file.

5 Methods to resolve the error Connection Has Been Lost in QuickBooks

Method 1: Check the Connection with the Portable Storage Device

It is advisable to keep the company file on the same system on which the QuickBooks desktop is installed.

However, if the File is stored on a portable device or somewhere on the network, there could be a connection issue with that device or network, making the company file inaccessible.

The portable device could be a flash drive (pen drive) or external hard disk, a location on a network.

The portable storage drive in which the company file is saved should be connected to another computer.

Follow the below steps:

  1. Disconnect and reconnect the drive.
  2. Find the QuickBooks Company File (QBW) in a removable drive from My Computer.
  3. Save another File to ensure it’s working.

Note: Make sure that the drive has enough storage space to store the QuickBooks Company File.

Method 2: Disable Power Management Settings on the Server

If the above method does not solve your problem, try turning off the Power Management Settings on the server.

For this, follow the steps:

  1. Go to the Windows Control Panel and open the Power Management Settings on the system where the company file is stored.
  2. Press Windows Key.
  3. Type and select Power Options in the search results 
  4. Turn off Sleep, Standby, or Hibernation Modes on the host computer.

Note: Please refer to the Windows Help and Support Manual for more detailed information about Power Options.

Method 3: Fix the Company File with QuickBooks File Doctor

Run QuickBooks File Doctor to resolve the Connection Has Been Lost issue in QuickBooks.

  1. Open Tool Hub and select the Company File Issues tab.
  2. Click on the File Doctor option in the Company File Issues.
Fix the Company File with QuickBooks File Doctor
  1. Click on the Company File Diagnose option.
  2. View the results after the diagnosis process ends.

Note: QuickBooks does not support wireless networking, and it is not reliable for company files. Please follow this step at your own risk.

Method 4: Turn Off Firewall

Firewall can interfere with QuickBooks, which can lead to the problem Connection Has Been Lost.

Follow the steps below to turn off the Firewall:

  1. Press the window button to open the Start Menu.
  2. Open Firewall settings.
  3. Select the Advanced Settings in Firewall settings.
Turn Off Firewall
  1. Right-click on the Inbound Rule in Advanced Settings.
  2. Go to New Rule.
  3. Select the TCP option.
  4. Select the Specific local Port in Port.

Note: You need to create the Outbound Rule in a similar way you created the Inbound Rule.

Method 5: Fix Hosting on all Systems

Host system tasks

Make sure QuickBooks Database Server Manager is installed on all the hosting systems. To check this, press the Windows key and type QuickBooks. If nothing appears related to QuickBooks or QuickBooks Database Server Manager, then you need to install it.

  1. Check Hosting Settings

If QuickBooks is installed on the host system:

  1. Open QuickBooks File Menu.
Open QuickBooks File Menu
  1. Go to File and select Utilities.
  2. If “Stop Hosting Multi-User Access” appears in the menu, hosting is already enabled, and you can proceed to the next step.
  3. However, if “Host Multi-User Access” appears, select it to enable hosting on this computer, and then proceed with the next step.

If QuickBooks is not installed on the host system:

  1. Double-click the QuickBooks Database Server Manager icon in the Windows system tray (or select Start > All Programs > QuickBooks > QuickBooks Database Server Manager).
QuickBooks Database Server Manager
  1. Click on the Database Server
  2. Make sure your company file shows up in the list of currently connected files. If it’s missing, go to the Scan Folders section and find instructions on how to add it.
  3. Close QuickBooks Database Server Manager.
  1. Delete and recreate .nd file:

Scan the folder where your company file is saved. This process creates a file called the Network Descriptor (nd) file. The *.nd file contains important details about the computer hosting your company file.

  1. Press Windows key
  2. Type and select QuickBooks Database Server Manager.
  3. Click Add Folder and look for the folders which store the company file.
Add Folder
  1. Click Scan after adding all the folders.
Scan after adding all the folders
  1. Click on Close (the data files will appear under the QuickBooks company file).
  2. Browse to the folder that stores the company file and ensure that a file named .band is created for every company data file.

Note: Uninstall and reinstall QuickBooks if QuickBooks Database Server Manager does not appear in the programs list.

Workstation Tasks

Ensure hosting is turned off.

  1. Open QuickBooks.
  2. Select Utilities.
  3. Disable hosting by enabling QuickBooks Single User Mode if Stop Hosting Multi-User Access appears on the list.
  4. After ensuring that the hosting mode is off on all computers, the user should scan for the ” QuickBooks multi-user mode not working ” error.

Open company file using UNC path

UNC (Uniform Naming Convention) is a way that Windows uses to describe where things are on a network.

For instance, if you want to find a company file, you can use a UNC path like this: \\Computer Name\Shared Folder\. The “Computer Name” part is like the server’s name. To open your company file, follow these steps:

  1. Open QuickBooks Desktop.
  2. Select File and Open or Restore Company.
  3. Select Open a company file.
  4. Click on Next.
  5. Click on My Network Places.
  6. Double-click on the Entire Network.
  7. Browse to the location on the server.
  8. Choose Company File and Click on Open. 

Final Words

The error ” Connection Has Been Lost ” in QuickBooks can affect the workflow and cause the company File integrity to fail. This problem can cause QuickBooks to close abruptly and lead to data loss. Incorrect file permissions, unstable network connections, or interference from third-party processes or a firewall can cause a connection issue.

Hopefully, the above-given information is useful for you. But if you still facing any kind of issues with your software and need professional assistance, regarding accounting, bookkeeping & accounting software-related issues then feel free to get in touch with us at +1-802-778-9005, or you can mail to us at: [email protected]

Frequently Asked Questions

Can corrupted company files trigger the “Connection Has Been Lost” error?

Yes, corrupted or damaged company files (like the QBWUSER.ini file) are a major root cause of this error.

How do I fix a network connection error in QuickBooks?

To fix a network connection error in QuickBooks, follow these steps:

  1. Ensure your internet is stable and working.
  2. Restart your computer and router.
  3. Use the QuickBooks Tool Hub to detect and fix issues.
  4. Ensure the server hosting the company file has multi-user mode enabled.
  5. Make sure your firewall isn’t blocking QuickBooks by allowing required ports.
  6. Ensure QuickBooks services are running on the server.
  7. Keep QuickBooks and Windows updated.
  8. If nothing works, reinstall QuickBooks.

How Do I Restore a Network Connection in QuickBooks Desktop?

To restore a network connection in QuickBooks Desktop, follow these steps:

  1. Right-click the QuickBooks icon and choose Run as Administrator.
  2. In QuickBooks, click File, then select Open or Restore Company.
  3. Choose the option to Open a Company File and click Next.
  4. Go to Network Places, then Entire Network, and find the folder where your company file is stored.
  5. Select your company file and open it to re-establish the network connection.