Your Answer

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)
  • (-6189, -1005)
Why is this 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 2009 company file in QuickBooks 2008.
  • Data damage in your company file

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, follow the Detailed Instructions.


How to fix the problem

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 QuickBooks Connection Diagnostic Tool
Estimated time: 20 minutes

  1. Go to QuickBooks Connection Diagnostic Tool web page.
  2. To download the tool, enter your email address and select I agree to the Terms and Conditions.
  3. Follow the wizard to install and use the tool.

Note: Instructions for using the tool can be found on the How to Use the Tool tab.

If you see File Open successful (all Advanced statuses have green checkmarks,) your network connection is OK, and you should be able to open the file.

If you continue to experience the error after running the QuickBooks Connection Diagnostic Tool, go to solution 2.

Solution 2: Manually resolve -6189, XX errors
Estimated time: 1 hour

  1. Rename the transaction log file:
    1. Right-click the Windows Start button and choose Explore.
    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. Right-click the Windows Start button and select Explore.
    2. Locate the company file folder.
      • Windows 7 or Vista: The default location is C:\Users\Public\Public Documents\Intuit\QuickBooks\Company Files.
      • Windows XP: The default location is C:\Documents and Settings\All Users\Documents\Intuit\QuickBooks\Company Files.
    3. Be sure QBDataServiceUserXX has full control for the company file folder:
      • Windows 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.
      • Windows XP:
        1. Right-click the company file folder and select Sharing and Security.
        2. Click the Security tab.
        3. Click the QBDataServiceUserXX user to select it.
        4. In the Allow column, select Full Control.
        5. Click OK.
    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. If other users can log in successfully, have your System Administrator run the Verify Data utility, and then Rebuild the company file.
  5. 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.


If these solutions don't resolve the issue, you can read discussions and post messages and questions relating to your issue on the Intuit QuickBooks Community site for free. You can contact an agent for additional guidance. Fees may apply.


Did this article help you?
Your Feedback
Cancel Submit