QuickBooks Error 6129, 0: Stale Lock Inside the Company File

Error 6129, 0 means the company file's internal lock record contradicts itself, so QuickBooks refuses to open the file; learn the causes, the safe checks, and when repair is needed.

Error 6129, 0 appears the moment you try to open a company file, with the message "We're sorry, but QuickBooks can't open your company file." The two numbers are assembled as the error happens, so the finished pair appears in no standard list. Your accounting data is usually untouched; what contradicts itself is the file's record of who had it open.

The lock check fails

Opening a company file does not begin with your transactions. QuickBooks first connects through its database engine and verifies that connection. Part of the verification reads the file's internal lock table, its own record of which user and which process holds which lock.

With 6129, 0, a flag in that table claims a session still holds a lock, but the session is gone. The record contradicts itself, the check fails, and QuickBooks stops before reading a single transaction. The zero matters: the database engine returned no code of its own, so the failure sat on the QuickBooks side of the connection.

Why does this happen?

The likeliest trigger is a session that died while the file was open: a power cut, a forced reboot, a dropped network share, a host that crashed. The lock flag never cleared because the session that would have cleared it vanished. Mismatched Windows permissions come second, where the file has been opened from several machines and one account lacks full control of the folder.

The variant matters. A dialog showing -6129, -101 rather than 6129, 0 points more often at network setup: hosting enabled on the wrong machine, a firewall blocking the database engine, an incorrect share. The two look identical on screen and lead to different fixes.

Checks you can run

Close QuickBooks on every machine and wait a full minute. Reopen the file on the machine where it physically lives, in single-user mode. Run Intuit's File Doctor against the file; it carries a repair path for this exact lock condition. Check that the Windows account on every machine has full control of the folder: read, write, create, delete. If the flag survives all of that, restore your most recent backup or portable copy.

Each result tells you something. If the file opens on the host but not on the workstations, the data is fine and the fault is environmental. If File Doctor clears the flag, you are done, and the file needs no help from us.

Damage or just permissions

One test settles the question. On the machine where the file lives, open it locally in single-user mode with every other machine closed out. The network is now out of the equation.

If it opens there, the file is healthy and the problem is hosting, firewall, or permissions, all of which you can fix yourself. If it still fails there after File Doctor has had a genuine attempt, the lock structure inside the file is damaged. That is the line, and only then do we come into it.

How we help

When the fault is inside the file, that is our work. Our engineers rebuild the damaged lock and header structures and return a file that opens with your data in place. The file gets a free evaluation first, you receive a firm fixed quote before any work begins, and no fix means no fee.

If your backup is current, restoring it may be the cheaper road, and that choice belongs to you and your accountant. For related codes in this family, see our <a href="/Quickbooks-Error-Codes.aspx">QuickBooks error code reference</a>. You can start a free evaluation on our <a href="/contact-quickbooks-recovery-pro.aspx">QuickBooks file repair contact page</a>.

Frequently asked questions

Is my data gone when this appears?

No. The lock table is bookkeeping about open sessions, not your transactions. Your data is nearly always intact; QuickBooks refuses to open the file because that record contradicts itself.

What does the second number mean?

A zero means the database engine returned no code of its own, so the failure happened on the QuickBooks side of the connection. A -101 in that position points more often at network setup.

Should I delete the .TLG file?

No. That transaction log is what lets QuickBooks recover entries made after your last backup. Leave it beside the company file while you troubleshoot.

Will restoring a backup lose anything?

You lose any entries made after that backup was taken. Weighing a restore against a repair is a decision for you and your accountant, not for us.

Does File Doctor always clear it?

It clears many of these lock flags and is the right first tool. When it cannot, and the file still fails on its own host machine, the damage is inside the file.

All QuickBooks error codes we repair

The track record

Twenty years of files
brought back to life.

95%+recovery success rate
20+years with QuickBooks files
1000sof businesses served worldwide
5regional editions, PC and Mac
What you get

Every service.
The same promises.

Free evaluation first.

We look at your file before you pay anything, then give you a firm fixed quote. Nothing starts until you accept it, so there are no surprises and no diagnosis fee.

No fix, no fee.

Every service is guaranteed. If we cannot resolve your issue, there is no charge - you pay nothing at all.

Data-level engineering.

When Verify, Rebuild and File Doctor loop or fail, the file needs engineering work rather than another pass of the built-in tools. That is what we do.

Every version.

Every version from QuickBooks 1 for DOS through the current Pro, Premier, Accountant and Enterprise releases.

Private, then deleted.

Your company file is used only for the work you asked for, never shared, and deleted14 days after the job. Immediate deletion on request.

Pricing

Transparent pricing

QuickBooks File Repair / Data Recovery. We resolve your issue, or you pay nothing.

Expedited

Turnaround 8-12 hours

US$449Under 1 GB
US$6741 - 2 GB
US$8982 - 3 GB
US$1,347Over 3 GB
  • Everything in Standard
  • Priority place in the queue
  • Same guarantee: no fix, no fee
  • Secure checkout by Stripe - card details never touch our servers
  • Your file stays private and is deleted 14 days after the job
  • Prefer to talk first? The evaluation is free
  • Files with Advanced Inventory enabled (Enterprise only) are quoted from a higher base price.
  • If the repair needs custom programming, that is quoted separately and always agreed before any work starts.

Not sure which applies? Send us the file for a free evaluation and we will confirm the price before you pay.

No fix. No fee.

Every service is guaranteed. If we cannot resolve your issue, there is no charge - you pay nothing at all.

Get a free evaluation
Get started

Tell us what happened.

There is no charge to look at your file. Send the details and we will tell you what can be recovered before you pay anything.

Not sure where to start?

Send us the file and we will tell you what can be recovered. We resolve your issue, or you pay nothing.