Was this page helpful?
Thank you!

Comments or suggestions?

Enter Email Address (optional)

Error: (-6189), (-6189, -82), (-6189, -77), or (-6189, -1005) when opening a company file

When opening or creating a company file, one of the following errors may occur:

  • Error (-6189)
  • Error (-6189, -82)
  • Error (-6189, -77)
  • Error (-6189, -1005)
  • Error (-6189, -85)
Why this is happening

These errors can be caused by:

  • A mismatched transaction log file (.tlg). For example, a .tlg file that is older than the company file you are trying to open
  • Limited or restricted permissions for the Windows user account, QBDataServiceUserXX
  • Opening a company file in the wrong version of QuickBooks. For example, opening a QuickBooks 2014 company file in QuickBooks 2013.
  • Your company file is damaged.


How to fix it

The issue causing this error may have been addressed in the latest release for your version of QuickBooks. Update your copy of QuickBooks to the most current release, and then try opening or creating the company file again

If re-opening and/or updating QuickBooks does not resolve the error, Intuit recommends 2 solutions for this problem. The first solution may solve your problem, or you may need to try both to resolve the issue. For best results, perform the solutions in the order shown.

Solution 1: Download, install and run the QuickBooks File Doctor

Solution 2: Manually resolve -6189, XX errors

  1. Rename the transaction log file:
    1. On your keyboard, press Windows + E to open the Computer window.
    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 select Rename.
    5. Enter a new name, for example companynameOLD.tlg.
    6. Open QuickBooks. A new transaction log file is automatically created.
  2. If the error persists, check the user permissions assigned to QBDataServiceUserXX for your version of QuickBooks (QuickBooks 2008/8.0: QBDataServiceUser18. QuickBooks 2007/7.0: QBDataServiceUser17). Note: You might need the assistance of your System Administrator to complete these steps:
    1. On your keyboard, press Windows + E to open the Computer window.
    2. Locate the company file folder.
      • Windows 8, 7 or Vista: The default location is C:\Users\Public\Public Documents\Intuit\QuickBooks\Company Files.
    3. Be sure QBDataServiceUserXX has full control for the company file folder:
      • Windows 8, 7 or Vista:
        1. Right-click the company file folder and select Share.
        2. Click Change sharing permissions.
        3. Under Permission Level for Everyone, select Co-owner.
        4. Click Share.
    4. Open QuickBooks.
  3. If the problem persists, ensure that the file is not encrypted:
    1. In Windows Explorer, right-click the file and select Properties.
    2. Click the General tab.
    3. Select Attributes, and then click Advanced.
    4. If encrypt contents to secure data checkbox is selected, the file is encrypted. Clear the checkbox and click OK.
  4. Copy the file to the desktop and open it from there, if it opens, there could be folder damage where the QBW was being stored in.
  5. If other users can log in successfully, you may need to troubleshoot for data damage.
  6. If you cannot log in on another computer, open a sample company file. If you can open a sample file, restore a backup of your company file.



KB ID# SLN41355
5/27/2016 7:01:13 PM
QYPPRDQBKSWS07 9132 Pro 2016 a7ab99