QuickBooks Error 6168, -6
Let’s Dive in to see…
How to Fix QuickBooks Error=6168, -6
QuickBooks Company File Error · Version Mismatch
How to Fix QuickBooks Error 6168, -6
QuickBooks displays: "QuickBooks is unable to open this company file. It may have been opened by another version of QuickBooks. Please close the other version of QuickBooks and try again. Error Code: (-6168, -6)"
Error 6168, -6 is a company file version lock — the company file was last used with a different QB version than what's currently trying to open it, and the version lock hasn't been released. At QuickFix Bookkeeping, 6168 is distinct from the 6189/6190 series (multi-user hosting errors): 6168 appears in single-user mode when QB detects a version mismatch or a stale version lock in the company file. The fix is always to clear the version lock — not to repair the file.
The QuickFix Bookkeeping Distinction — 6168 vs 6189 vs 6190
6168 — this page
Version lock — file was last opened in a different QB version, or version lock wasn't properly released. Single-user issue. Fix: clear version lock, rename .ND.
6189, 816
Multi-user transaction log mismatch — .TLG doesn't match .QBW. Fix: rename .TLG + QBDSM rescan. Multi-user environment issue.
6190, 816
Multi-user hosting mismatch — multiple users see conflicting file states. Fix: restart QB on server, rename .TLG. Multi-user hosting issue.
What Causes QuickBooks Error 6168, -6?
Stale Version Lock in Company File
Primary cause — QB writes a version identifier into the company file when it opens it. If QB crashed or was forcibly closed without properly unlocking the file, the version lock remains. When a different QB version (or even the same version on a different installation) tries to open it, 6168 appears. Renaming the .ND file clears the lock.
Multiple QB Versions Installed
Two QB versions are installed (e.g., QB 2022 and QB 2024). The file was last opened in QB 2022. QB 2024 tries to open it and sees the 2022 version lock — reports 6168. Open the file in QB 2022 first → close it properly → then open in QB 2024 which will convert it.
File Was Opened on Another Computer
The company file was opened on Machine A (QB 2023) and then copied to Machine B (QB 2024). The version lock from Machine A's QB 2023 session is still embedded. Machine B's QB 2024 sees the wrong version lock and reports 6168.
Corrupted .ND File
The .ND (Network Data) file contains version and hosting information. A corrupted .ND can contain incorrect version data that triggers 6168 even when only one QB version is installed. Renaming the .ND forces QBDSM to rebuild it with the correct current version information.
QB Not Fully Closed Before File Moved
The company file was moved or copied while QB was still open (even minimised to taskbar) — QB had the file open with its version lock applied. When QB is reopened and tries to access the moved file, the lock path mismatch causes 6168.
Restored Backup from Different QB Version
Restoring a .QBB backup created in a newer QB version into an older QB version triggers 6168 because the restored file contains a newer version identifier. The solution is to install the QB version that matches or exceeds the backup's version.
How to Fix QuickBooks Error 6168, -6
Related QuickBooks Errors
Error 6168 Persisting After .ND Rename and QBDSM Rescan?
Let QuickFix Bookkeeping Identify the Version Conflict.
Persistent 6168 after .ND rebuild means the version lock is embedded deeper in the file header — we identify the QB version that last wrote to the file and match the opening environment to it.
Book a Free 30-Minute ConsultationNo obligation. Same-day response.