Quickbooks File Repair — Error code: -6032, -158

QuickBooks error -6032, -158 occurs when QuickBooks tries to access the company file and cannot. The -6032 family covers company-file access failures, and the -158 suffix marks a specific block while opening or reading the .QBW file — often a network, hosting, or file-state problem.

What -6032, -158 means

To open a company file, QuickBooks must reach the .QBW file together with its .ND and .TLG companions, frequently through the Database Server Manager. A -6032, -158 means that access attempt failed. The accounting data may be intact while the path to it is broken, or the file's supporting structures — or the file itself — may be damaged.

Symptoms you'll typically see

  • The -6032, -158 code when opening the company file.
  • The file opening on the host but not from a workstation, or vice versa.
  • Multi-user mode failing while single-user works, or the reverse.
  • Other company files opening while one specific file fails.

Common causes

  • Damaged or stale .ND network-configuration files.
  • Incorrect hosting — more than one machine hosting, or the wrong one.
  • A firewall or antivirus blocking QuickBooks' database service.
  • Damage inside the .QBW file, or storing it where access is unreliable.

What you can safely try first

  • Copy the .QBW file aside before any troubleshooting.
  • Copy the file to a local drive and try opening it there; if it opens, the issue is network or hosting, not the file.
  • Recreate the .ND file by re-scanning the folder in the QuickBooks Database Server Manager.
  • Confirm only the server hosts the file and that firewall rules allow QuickBooks' services.

When professional recovery is the safer path

Many -6032, -158 cases are network or hosting issues that clear once access is corrected. When the file opens nowhere — not even on a local drive — or it opens but fails Verify Data, the .QBW itself is damaged. Our engineers can examine the file directly and recover it intact, rather than rely on a Rebuild that may discard data.

If the company file will not open anywhere, talk to our team about QuickBooks data recovery and start a recovery. Every case is handled in-house in North America under a no-data, no-charge guarantee.