Error: -6130, 0 QuickBooks is trying to access the company file
Posted by Jennifer Millan, Last modified by Jennifer Millan on 13 September 2013 03:24 PM

Error: -6130, 0 QuickBooks is trying to access the company file, but cannot contact the database...

Opening a QuickBooks company file displays the message:

QuickBooks File error

According to the article found at: here is how this can be fixed

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

Solution 2:  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

If you are unable to download the tool or prefer to fix the problem manually:

Your data file is damaged and cannot be opened. Attempting to open it stops the database manager service. Restart the service and restore a recent backup of your file. Rebuilding the restored file should resolve your issue.


Before opening the backup, you need to be sure the QuickBooks Database Manager is running:

  1. Right click on My Computer.
  2. Choose Manage.
  3. The Computer Management window will open.
  4. Click Services and Applications.
  5. Click on Services. This will display an alphabetical list of all Services running on your computer.
  6. Right click on the QuickBooks DB service that applies to your version of QuickBooks from the Services list.
    • QuickBooksDB - for QuickBooks 2006
    • QuickBooksDB17 - for QuickBooks 2007
    • QuickBooksDB18 - for QuickBooks 2008
    • QuickBooksDB19 - for QuickBooks 2009
    • QuickBooksDB20 - for QuickBooks 2010
    • QuickBooksDB21 - for QuickBooks 2011
    • QuickBooksDB22 - for Quickbooks 2012
    • QuickBooksDB23 - for QuickBooks 2013
  7. Choose Properties from the menu opened in step 6.
  8. On the General Tab, click the Start button.
  9. A Service Control window will open and start the service and close.

Restore your backup into a new file. Do NOT overwrite a previous file.

Rebuild the restored data file.

(0 vote(s))
Not helpful

Comments (0)