QuickBooks Error -6147, 0 -- Company File or Backup Won't Open
Error -6147, 0 blocks access to your company file or restored backup; our engineers identify the damaged components and walk through recovery.
QuickBooks Error -6147, 0 is a 6000-series file-access error that surfaces when QuickBooks Desktop cannot read one or more components required to open a company file or fully restore a backup. The error halts the open or restore operation before the data file loads, leaving the company inaccessible. Our engineers have resolved this error across single-user setups, multi-user server environments, and restored backups originating from damaged source files. The fix depends on which component is blocking access, and this page walks through each trigger in order of how frequently we encounter it.
What the Error Message Says
The full message typically reads:
"QuickBooks is attempting to open this company file. Before you can open the company file from your computer you must first open the company file on the computer where the company file is located. (-6147, 0)"
In backup-restore scenarios the message may appear as:
"QuickBooks encountered a problem and needs to close. We apologize for the inconvenience. Error: -6147, 0"
Some users see a variation that references the .QBB restore path directly.
What the Code Means
The -6147 component signals that QuickBooks reached the company file but could not parse one or more of its supporting files. The trailing , 0 indicates a file-system-level read failure rather than a network-layer problem. In practical terms, QuickBooks found the file at the expected path but could not construct a usable working set from the company file group (.QBW, .ND, .TLG, and .DST files in the same folder).
What Triggers It
Our engineers most commonly see this error caused by:
- A damaged .TLG (Transaction Log) file that is mismatched against the
.QBWit accompanies. This is the single most frequent trigger. - A corrupted backup (.QBB) whose source company file was already damaged before the backup was created. Restoring the backup reproduces the damage.
- Incomplete or interrupted restore where the temporary extraction folder (
*.DST) was not cleaned up from a prior failed attempt. - Folder permission problems on the directory hosting the company file, preventing QuickBooks from creating or reading the temporary files it needs during open.
- A company file stored on a USB drive or synced through a cloud-storage folder (OneDrive, Dropbox, Google Drive) where the sync agent has locked or partially downloaded the file.
How to Fix It
Scenario 1: Damaged Transaction Log File (Most Common)
- Close QuickBooks on all workstations.
- Navigate to the folder containing your company file.
- Locate the
.TLGfile that shares your company file's name (for example,MyCompany.QBW.TLG). - Right-click the
.TLGfile and rename it toMyCompany.QBW.TLG.OLD. - Do not delete the
.QBW.NDfile — leave it in place. - Open QuickBooks and attempt to open the company file again.
Renaming the .TLG forces QuickBooks to rebuild the log on the next successful open. No transaction data is stored exclusively in the .TLG; it exists to synchronize incremental changes and can be safely retired when it is the source of the block.
Scenario 2: Corrupted Backup File
- Check whether you have an alternate backup — a different
.QBBfile, a portable copy (.QBM), or an auto-saved.QBWfrom a prior session. - If a portable copy exists, restore that instead of the
.QBB. Portable copies use a different compression format and sometimes survive damage that destroys a full backup. - If no alternate exists, restore the
.QBBto a brand-new local folder (for example,C:\QBRestore\) rather than overwriting an existing location. - If the restore fails at the same point, the source file inside the backup is damaged and the backup cannot be used as-is. The company file will need to be repaired at the data level before it can be opened.
Scenario 3: Leftover Temporary Restore Files
- Close QuickBooks.
- Open the folder where you attempted the restore.
- Delete any
.DSTfolders or temporary extraction files remaining from the failed restore. - Restart the computer.
- Attempt the restore again to a clean folder.
Scenario 4: Folder Permissions
- Right-click the folder containing the company file and select Properties.
- Go to the Security tab and confirm that the Windows user logged in has Full Control.
- If the file is on a server, confirm the QuickBooks Database Server Manager service account also has Full Control.
- Apply changes and retry opening the file.
Scenario 5: File Stored on USB or Cloud-Synced Drive
- Copy the entire company file set (
.QBW,.ND,.TLG) to a local folder on the workstation's internal drive, such asC:\QuickBooks\. - Open the file from the local copy.
- Going forward, store and open the working file only on a local or properly networked drive — never directly from removable media or a cloud-sync folder.
How to Prevent It Recurring
- Keep at least three rotating backups in separate physical locations, and verify each backup by restoring it once before relying on it.
- Never open a company file directly from a USB drive, external drive, or cloud-synced folder. Copy it locally first.
- Run QuickBooks Database Server Manager on the server hosting the file and rescan the folder after any file move or rename.
- If the file grows large enough to cause performance issues, consider a SuperCondense to reduce file size — smaller files are less prone to structural corruption during read operations.
- Shut down QuickBooks cleanly at the end of each session rather than force-closing the application, so the
.TLGfile finalizes properly.