Was this page helpful?
Thank you!

Comments or suggestions?

Enter Email Address (optional)

Error -6190, -816 or -6190, -85: QuickBooks was unable to open the company file

The following error message appears when opening a company file on a Windows computer (Windows 8, 7, Vista), Windows Server 2008, or a Linux database server:

QuickBooks was unable to open the file [path\filename] on the host computer [host name]. Try opening the file with QuickBooks on the host computer or run the QuickBooks Database Server Manager on the host computer and then try opening the file on your computer.

If the problem persists, please contact Intuit Technical Support and provide them with the following error codes (-6190, -816).

Why this is happening

This error can:

  • Occur if another user is logged into the company file in Single User Mode.
  • Be caused by a mismatch between the transaction log file (.tlg) and the company file (.qbw).
  • Occur if the company file was copied to a different computer and updated without the associated transaction log file.
How to fix it

Intuit recommends more than one solution for this problem. The first solution may solve your problem, or you may need to try more to resolve the issue. For best results, perform the solutions in the order shown.

Solution 1: Have other user(s) log off or disconnect from the company file

  1. Check with all users that have access to the company file and make sure they are not logged into the file.
  2. If you are not finding users working in the file, try copying the file (company.qbw) locally to a workstation.  
  3. If the file is locked you will receive an error when trying to copy the file.  If the file is not locked move to Solution 2.
  4. If the file is locked there may still be a QuickBooks process running that is locking the file.  Either on the actual server or a workstation. 
  5. In some cases you may need to reboot workstations and maybe even reboot the actual server.  If you are not comfortable performing these steps Intuit recommends you contact a qualified IT professional.

Solution 2: Download the QuickBooks File Doctor

  1. Download, install and run the QuickBooks File Doctor.
  2. If the tool reports that your company file is damaged and cannot be repaired by the tool, you have 3 options:
  3. If you see No problem detected in your Company File, your company file is OK. If you still encounter the error, try solution 2.

Solution 3: Rename the .tlg file

Important: If you are a QuickBooks Enterprise Solutions user and you currently use Business Analysis, you must perform another sync to view your reports.

  1. On your keyboard, press Windows + E to open Windows Explorer.
  2. Go to the folder containing your company file.
  3. Locate the transaction log file.  It has the same name as your company file, but with a .tlg extension.
  4. Right-click the transaction log file and choose Rename.
  5. Enter a new name, for example companynameOLD.TLG.
  6. Try to open the company data file. If you are successful, create a QuickBooks backup.

Note: Deleting the transaction log file (.tlg) is not recommended because it can be used to recover lost data.

When you need to move the company file from the server to another computer to work in it:

  1. Create a manual backup of the file to clear the .tlg file.
  2. Copy both the company and .tlg files to the other computer.
  3. Repeat steps 1 and 2 to copy the file back to the server.


KB ID# SLN40622
2/13/2016 11:18:02 AM
QYPPRDQBKSWS02 9132 Pro 2016 1d42c3