You double-click your company file and instead of your books, you get a message that QuickBooks tried to create, open or use the file and couldn’t. The code is -6150, -1006. Your first worry is probably the data. The good news is that in many cases the file is fine and something around it is wrong, such as the file’s extension, its location, or a damaged installation. In others the file really is damaged, and there are safe ways to recover it.
This guide helps you work out which situation you’re in, then walks through the fixes in the order that protects your data.
Quick Answer: What to Try First
- Copy the file first. Make a copy of your company file (.qbw) to a safe folder before you try anything.
- Check the extension. Make sure the file ends in .qbw, and that you’re not opening a backup (.qbb) or portable (.qbm) file the wrong way.
- Run the sample file test. If a sample company opens, QuickBooks is fine and the problem is your file.
- Run File Doctor from the Tool Hub if the file is damaged.
What Does QuickBooks Error -6150, -1006 Mean?
The message usually reads: “An error occurred when QuickBooks tried to create, open, or use the company file.” It appears with the code -6150, -1006.
In plain terms, QuickBooks reached the file but couldn’t read it properly. That can happen when:
- The file is damaged or incomplete.
- The file isn’t the type QuickBooks expected.
- QuickBooks can’t reach the file because of where it is stored.
- The QuickBooks program itself is damaged.
- A virus or security software is interfering.
Common Symptoms
- The company file won’t open, and the same message repeats.
- The error appears when you try to create, open or restore a file.
- Other codes may show up with it, such as error 6000, error 6073 or company file not found.
- QuickBooks freezes or closes when you open the file.
Why Does Error -6150, -1006 Happen?
- A damaged company file (.qbw) after a crash, power cut, or improper shutdown.
- The wrong file extension, or a file renamed by mistake.
- A backup or portable file opened the wrong way. A .qbb or .qbm file can’t be opened like a normal company file. It has to be restored.
- A Mac file opened in Windows, or the reverse.
- A bad location: a cloud-synced folder, an external or USB drive, a compressed or encrypted folder, or a very long file path.
- A damaged QuickBooks installation or missing program files.
- Damaged helper files, such as the .ND (network data) and .TLG (transaction log) files.
- A virus or security software that locks or changes the file.
- An old QuickBooks version that no longer works with the file or with your Windows update.
Before You Start
- Make a copy of the company file. Paste it into a new folder on your main drive, for example C:\QBCopy. Work on the copy where you can.
- Find the file. In the No Company Open window, press F2 or Ctrl + 1 to see the file’s location.
- Sign in to Windows as an administrator.
- Close QuickBooks on every computer if you use multi-user mode.
- Find your latest backup, so you know what you can fall back on. See how to back up a QuickBooks company file if you’re unsure.
Which Problem Do You Have? Do This 2-Minute Test
- Open QuickBooks to the No Company Open window.
- Click Open a sample file and choose any sample company.
- If the sample opens, QuickBooks is working and the problem is your file or where it’s stored. Start at Fix 1.
- If the sample also fails, the installation is the problem. Go to Fix 7 and Fix 8.
How to Fix QuickBooks Error -6150, -1006
Work through these in order, and try to open the file after each one.
Fix 1: Check the File Extension and Type
- Open File Explorer and go to the company file’s folder.
- Turn on file extensions: View > Show > File name extensions.
- Check the name. A company file ends in .qbw.
- If it ends in anything else, check the type:
- .qbb is a backup. Restore it through File > Open or Restore Company > Restore a backup copy.
- .qbm is a portable file. Restore it through File > Open or Restore Company > Restore a portable file.
- .qba is an accountant’s copy. It opens through the accountant’s copy tools, not the regular Open command.
- If someone changed the extension by mistake, set it back to .qbw and try again.
- Check that the file belongs to your type of QuickBooks. A Mac file won’t open in Windows QuickBooks, and the reverse.
Fix 2: Move the File to a Safe Location
Some folders cause trouble even when the file is fine.
- Copy the .qbw file to a simple folder on your main drive, such as C:\QBFiles.
- Avoid folders synced by a cloud service, compressed or encrypted folders, and external drives.
- Keep the file name and folder path short.
- Open the copy from the new location.
If the file opens, the location was the problem. If you use a hosted or server setup, see QuickBooks cannot communicate with the company file.
Fix 3: Scan for Viruses and Look for Ransomware Signs
- Update your antivirus and run a full scan of the computer.
- Open the folder where QuickBooks and your file live. Look for files with names such as decrypt or instructions (.txt or .html), or a company file that suddenly has a strange extension.
- If you find these, stop. Don’t try repairs on that file. Contact your antivirus provider or an IT professional, and make sure you have a clean backup to restore from.
- If the scan is clean, continue.
A clean scan doesn’t prove the file is healthy, so keep going.
Fix 4: Rename the .ND and .TLG Files
These helper files can be damaged without the main file being damaged. QuickBooks recreates them.
- Close QuickBooks.
- Go to the folder that holds your company file.
- Find the files with the same name as your company but ending in .nd and .tlg.
- Right-click each one, choose Rename, and add .old to the end.
- Open QuickBooks and open the company file.
Only rename these two. Don’t rename the .qbw file or other program files.
Fix 5: Run QuickBooks File Doctor
- Download and install the QuickBooks Tool Hub.
- Open it and go to Company File Issues.
- Click Run QuickBooks File Doctor and wait for it to open.
- Choose your company file from the list, or click Browse to find it.
- Select Check your file (file damage only), then click Continue.
- Enter your QuickBooks admin password when asked, and click Next.
- Let the scan finish. It can take a while for large files. Then open QuickBooks and the file.
If File Doctor won’t run or finishes without a fix, see QuickBooks File Doctor not working.
Fix 6: Verify and Rebuild the Data
If the file opens, even once, check it for damage.
- Go to File > Utilities > Verify Data.
- If it reports problems, click Rebuild Now. QuickBooks will make a backup first.
- When it finishes, run Verify Data again.
- Repeat until it reports no problems.
If the file won’t open at all, skip to Fix 9.
Fix 7: Update QuickBooks and Windows
- Go to Help > Update QuickBooks Desktop, open Update Now, tick Reset Update, and click Get Updates. If it hangs, see QuickBooks update stuck.
- Restart QuickBooks and install the updates when asked. For the full steps, see how to update QuickBooks Desktop.
- Install pending Windows updates and restart the computer.
- If your QuickBooks version is old, you may need to upgrade. See how to download QuickBooks Desktop. If a message says the file needs updating, read the company file needs to be updated pop-up.
Fix 8: Repair the QuickBooks Installation
If even the sample file won’t open, the installation is the problem.
- Open the Tool Hub and run Quick Fix my Program from the Program Problems tab.
- Run the QuickBooks Install Diagnostic Tool from the Installation Issues tab.
- Check your firewall isn’t blocking QuickBooks. See Windows Firewall blocking QuickBooks.
- If that doesn’t work, reinstall with a clean install. See the QuickBooks Clean Install Tool. Keep a copy of your company file outside the QuickBooks folders first.
Fix 9: Recover the Data If the File Is Damaged
If the file is damaged and the steps above didn’t fix it, use one of these in this order. Always work on a copy.
Option A: Restore your latest backup
- Go to File > Open or Restore Company.
- Choose Restore a backup copy and click Next.
- Select Local backup, browse to the .qbb file, and follow the prompts. Save to a new file name.
- You’ll lose anything entered after that backup.
Option B: Use Auto Data Recovery (if your version has it)
- Create a folder on your desktop called QBTest.
- Copy your company’s .tlg file into QBTest.
- Open the QuickBooks Auto Data Recovery folder (next to your company file) and copy the .qbw.adr file into QBTest.
- In QBTest, rename the .adr file by removing .adr from the end, so it ends in .qbw.
- Open QuickBooks, open the company file from QBTest, and run Verify Data.
ADR is available only for some editions and has a file-size limit, so check your version.
Option C: Professional data recovery
If you have no usable backup and the file still won’t open, stop trying repairs. Further attempts can overwrite what’s left. A specialist can often recover most of the data from a damaged file.
Last resort: Start a new company file. This doesn’t bring your old data over, so use it only if the data is truly lost and you have a plan to re-enter or import what you need.
After the Error Is Fixed
- Run Verify Data and make sure it passes.
- Check key reports: Balance Sheet, Profit and Loss, and open invoices and bills.
- Make a fresh backup straight away, and store a copy on another drive.
- Test a restore of that backup to a different folder.
- Find out what caused it, whether a crash, a power cut, a sync folder or a virus, so it doesn’t happen again.
How to Prevent Error -6150, -1006
- Back up daily, and keep copies in more than one place.
- Store the company file in a simple local folder, not a cloud-synced or removable one.
- Shut down properly. Close QuickBooks before you turn off the computer.
- Use a UPS or surge protector if power cuts are common.
- Update QuickBooks and Windows regularly.
- Keep antivirus running, with QuickBooks folders excluded from live scanning only if your IT advisor agrees.
- Run Verify Data once a month.
- Don’t rename or move company files without a reason.
Still Getting the Error? Get Help From Our QuickBooks Team
If error -6150, -1006 keeps coming back, or you have no clean backup, our team can examine the file, repair it and help you recover your data without risking what’s left. Contact Data Service Solutions or call +1-(855)-955-1942.
Frequently Asked Questions
What does QuickBooks error -6150, -1006 mean?
QuickBooks couldn’t create, open or use your company file. The cause is usually a damaged file, a wrong extension or location, damaged helper files, or a damaged installation.
Is my data lost if I see this error?
Not necessarily. Often the file is intact and the problem is the extension, the location or the program. Work on a copy and follow the steps in order.
How do I tell if the problem is my file or QuickBooks?
Open a sample company file. If it opens, the problem is your file or where it’s stored. If it doesn’t, the installation needs repairing.
Can I rename the .ND and .TLG files safely?
Yes. QuickBooks recreates them. Only rename those two, and don’t change the .qbw file.
What’s the difference between .qbw, .qbb and .qbm files?
A .qbw is your working company file. A .qbb is a backup and a .qbm is a portable copy. Backups and portable files must be restored, not opened directly.
Can QuickBooks File Doctor fix error -6150, -1006?
It often can, if the file is only slightly damaged or the network setup is wrong. For heavier damage you may need to restore a backup or use data recovery.
What if I don’t have a backup?
Try the repair steps on a copy of the file. If they don’t work, stop and ask a data recovery specialist rather than experimenting.
How can I stop it happening again?
Back up often, keep the file in a simple local folder, shut down properly, keep QuickBooks updated, and run Verify Data regularly.

