QuickBooks Error 6190 & 816 occurs when QuickBooks Desktop detects a mismatch between your company file (.QBW) and its transaction log file (.TLG). The error message usually warns that “QuickBooks is unable to open this company file.” This problem arises when a company file is restored or updated on a different computer without its corresponding .TLG file, leaving the transaction log out of sequence with the main database. You can resolve Error 6190 & 816 by renaming both the .ND and .TLG support files, forcing QuickBooks to rebuild a matching transaction log.
Fast-Fix: The 45-Second Solution
To fix QuickBooks Error 6190 & 816, rename the out-of-sync .ND and .TLG files to force a new transaction log generation. Ensure all users close QuickBooks. Open the shared folder containing your company file, find the files ending in
.NDand.TLGthat match your company name, and rename them to.ND.oldand.TLG.old. Reopen QuickBooks and open your company file; the database engine will automatically generate a synchronized transaction log.
Quick Status & Triage Snapshot
- Error Code Combination: 6190 & 816 (Database engine transaction log state desynchronization).
- Data Risk Tier: Low to Medium. Historical transactions inside the
.QBWfile are safe, but recent uncommitted log transactions may need validation. - Multi-User Impact: Complete lockout. No user can access the company file until the database engine reconciles the transaction log sequence.
- Common Triggers: Restoring a
.QBWfile from a flash drive or backup without restoring the accompanying.TLGfile, opening a company file on another machine and returning it, or an abrupt power failure during an active write sequence. - Estimated Fix Time: 10 to 15 minutes.
Technical Anatomy: The Transaction Log Handshake and Checkpoint Desync
QuickBooks Desktop uses write-ahead transaction logging managed by the Sybase SQL engine:
- How the Transaction Log Functions: Every time an invoice, payment, or journal entry is entered, the engine writes the raw database transaction to the
.TLGfile first. It then commits that transaction to the main.QBWdatabase table and creates a verification checkpoint token. - The Desync Mechanism: The
.QBWand.TLGfiles maintain internal sequence counters that must match. If you copyCompany.qbwto a laptop, make entries, and copy it back into the office server while overwriting only the.QBWfile, the original.TLGfile on the server will contain outdated checkpoint numbers. - The Engine Block: When QuickBooks launches, the database manager compares the internal transaction count of the
.QBWfile against the log counter in the.TLGfile. If they do not match, the database engine refuses to mount the database to prevent silent table corruption, returning Error 6190 & 816.
Is Your Data at Risk?
Your accounting data is safe. The core database tables reside inside the .QBW file. Renaming the desynchronized .TLG file detaches the unreadable log stream and prompts QuickBooks to generate a clean log starting from your current .QBW transaction state.
However, if this error occurred immediately after an unexpected power outage, do not immediately enter new transactions once the file opens. Run a data verification routine to confirm that the last transaction written before the outage was saved cleanly.
Diagnostic Flowchart: Error 6190 & 816 Decision Path
Start: Error 6190 & 816 appears on screen
│
├──> Did someone copy or restore the .QBW file without its .TLG companion?
│ ├── YES ──> Rename .TLG to .TLG.old and let QuickBooks generate a new one.
│ └── NO ──> Proceed to full network check.
│
├──> Close QuickBooks on all workstations
│ └── Rename both .ND and .TLG files in the company directory.
│
├──> Rescan folder with QuickBooks Database Server Manager on server
│ ├── Opens cleanly? ──> Run File > Back Up Company to truncate log state.
│ └── Error persists? ──> Proceed to QuickBooks File Doctor.
│
└──> Run File Doctor via QuickBooks Tool Hub to repair damaged database headers.
Step-by-Step Repair Guide
Follow these steps in sequence on the computer or server where the company file is physically stored.
Step 1: Ensure All Users Exit QuickBooks on the Network
Before you can rename locked support files, all network handles to the database must be closed.
- Instruct every user in your organization to log out and close QuickBooks Desktop.
- On the server hosting the company file, open Task Manager (
Ctrl + Shift + Esc). - Click the Details tab, locate any instances of
qbw32.exe, and click End task.
Step 2: Rename the Out-of-Sync .ND and .TLG Files
Renaming the companion files removes the desynchronized transaction log and forces QuickBooks to build fresh communication files.
- Open File Explorer and browse to your company file directory (e.g.,
C:\Users\Public\Documents\Intuit\QuickBooks\Company Files). - Make sure file extensions are visible: in File Explorer, click View, select Show, and check File name extensions.
- Locate the files sharing your company file’s name:
YourCompanyName.qbw.ndYourCompanyName.qbw.tlg
- Right-click
YourCompanyName.qbw.nd, select Rename, and change it to:YourCompanyName.qbw.nd.old - Right-click
YourCompanyName.qbw.tlg, select Rename, and change it to:YourCompanyName.qbw.tlg.old - Do not modify or rename the main
.QBWfile.
For a comprehensive manual guide on these files, review Manual Fix: Renaming .ND and .TLG Files to Resolve 6000-Series Errors.
Step 3: Rescan the Directory with Database Server Manager
If your company file is shared over a network, you must instruct the Database Server Manager to regenerate an updated .ND file.
- On the host server, click the Start menu, type
QuickBooks Database Server Manager, and launch it. - Select the Scan Folders tab.
- Click Add Folder, select your company file folder, and click Scan.
- When the scan finishes with an “OK” status, close the utility.
Step 4: Open the Company File and Truncate the Transaction Log
- Launch QuickBooks Desktop on the host computer or a workstation.
- Select Open or restore an existing file, choose your company file, and log in with your administrative account.
- QuickBooks will automatically create a brand-new
.TLGfile matching the current state of your.QBWfile. - To permanently verify and stabilize the database:
- Go to File > Back Up Company > Create Local Backup.
- Click Options, ensure Complete verification is selected, and save the backup file.
- Running a verified backup resets the newly generated transaction log and truncates temporary tables.
To learn how to manage transaction log file growth over time, see .TLG File Fix: How to Truncate Transaction Logs to Boost Performance.
Differential Diagnosis: Error 6190 & 816 vs. Related Failures
- Error 6190 & 816 vs. QuickBooks Error 6189, 816: How to Fix “Company File is Already in Use”: Error 6189 involves active file-lock contention where a process or user has an open handle. Error 6190 specifically indicates that the database engine rejected the file pair because their internal transaction checkpoint numbers do not match.
- Error 6190 & 816 vs. Internal Data Corruption: If Error 6190 returns immediately after rebuilding
.NDand.TLGfiles, the.QBWdatabase tables themselves contain logical damage. Review QuickBooks Error 6000, -80: How to Fix Data Damage in Your Company File.
Hard Stop: Severe Transaction Table Desynchronization
If renaming the support files fails to resolve Error 6190 & 816 and QuickBooks reports that it cannot open the file, the company file was likely copied while a transaction was actively writing to disk.
Download and run the integrated repair engine via The 6000 Series Master Fix: Troubleshooting with QuickBooks File Doctor. If File Doctor reports structural damage it cannot repair, restore your most recent complete verified backup (.QBB) to prevent permanent accounting table corruption.