Error: 6189, (-6189, -82), (-6189, -77), or (-6189, -1005) when opening a company file
Last updated: Aug 01, 2012
Article ID: SLN52171
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
- Go to QuickBooks Connection Diagnostic Tool web page.
- To download the tool, enter your email address and select I agree to the Terms and Conditions.
- 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
- Rename the transaction log file:
- Right-click the Windows Start button and choose Explore.
- Go to the folder containing your company file.
- Locate the transaction log file. It has the same name as your company file, but with a .TLG extension.
- Right-click the transaction log file and select Rename.
- Enter a new name, for example companynameOLD.tlg.
- Open QuickBooks. A new transaction log file is automatically created.
- 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:
- Right-click the Windows Start button and select Explore.
- 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.
- Be sure QBDataServiceUserXX has full control for the company file folder:
- Windows 7 or Vista:
- Right-click the company file folder and select Share.
- Click Change sharing permissions.
- Under Permission Level for Everyone, select Co-owner.
- Click Share.
- Windows XP:
- Right-click the company file folder and select Sharing and Security.
- Click the Security tab.
- Click the QBDataServiceUserXX user to select it.
- In the Allow column, select Full Control.
- Click OK.
- Open QuickBooks.
- If the problem persists, ensure that the file is not encrypted:
- In Windows Explorer, right-click the file and select Properties.
- Click the General tab.
- Select Attributes, and then click Advanced.
- If encrypt contents to secure data checkbox is selected, the file is encrypted. Clear the checkbox and click OK.
- If other users can log in successfully, have your System Administrator run the Verify Data utility, and then Rebuild the company file.
- 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.