QuickBooks Error 6000,-304 -- Insufficient Disk Space or File Size Limits
Error 6000,-304 blocks access to your company file due to disk space or file size limits; our engineers explain the causes and walk through restoring full access.
When QuickBooks Desktop displays Error 6000,-304, the application has determined that it cannot open or work with the company file because the system lacks the disk space the file requires, or because the file has grown beyond what the current configuration can handle. The error halts access to financial data until the underlying storage or file-size condition is resolved. Our engineers have resolved this error across Pro, Premier, and Enterprise environments, and the steps below address the most common triggers in the order we encounter them.
What the Error Message Says
The full message typically reads:
"An error occurred when QuickBooks tried to access the company file. Please try again. Error codes: (-6000, -304)"
In multi-user setups the wording may vary slightly, but the two error codes remain the same.
What the Code Means
The 6000 series covers company-file access failures. The sub-code -304 specifically signals that QuickBooks could not allocate the disk space or system resources needed to open, expand, or temporarily write data related to the company file. The database engine that powers QuickBooks (Sybase SQL Anywhere) requires free space on the volume hosting the file for temporary and transaction-log operations. When that space is unavailable or the file has exceeded practical size thresholds for its edition, the engine refuses to proceed and returns -304.
What Triggers It
The triggers fall into three categories:
- Low disk space on the host drive — The drive storing the
.QBWfile has insufficient free space for the database engine to operate. QuickBooks generally needs free space equal to at least the size of the company file itself for temporary processing. - Company file exceeding edition limits — Pro and Premier files approaching or exceeding roughly 1 GB, or Enterprise files well beyond several gigabytes, can hit internal limits that produce -304 even when disk space appears adequate.
- Damaged
.ND(Network Descriptor) or.TLG(Transaction Log) files — Corrupt configuration or log files can cause QuickBooks to misreport a space or access problem, masking the real issue.
How to Fix It
Scenario 1: Low Disk Space (Most Common)
- Close QuickBooks on all workstations.
- Open File Explorer and check free space on the drive hosting the
.QBWfile (typicallyC:\Users\Public\Public Documents\Intuit\QuickBooks\Company Filesor a mapped network share). - Ensure that at least 1.5 times the company file size is available as free space. For a 500 MB file, that means at least 750 MB free.
- If space is low, move or delete unnecessary files, clear the Windows Temp folder (
%temp%), and empty the Recycle Bin. - If the company file resides on a nearly full server drive, coordinate with your IT contact to expand the volume or relocate the file to a drive with more capacity.
- Reopen QuickBooks and the company file.
Scenario 2: Company File Exceeding Practical Size Limits
- Press F2 inside QuickBooks (if the file opens on any machine) to open the Product Information window and note the file size, list counts, and transaction counts.
- If the file is over 1 GB in Pro/Premier or several GB in Enterprise and performance has been degrading, the file likely needs condensing.
- Run the built-in Condense Data utility: File > Utilities > Condense Data, and follow the wizard to remove old transactions as of a chosen date.
- If the built-in condense is insufficient or fails, a third-party SuperCondense service can reduce the file further. To scope that service, gather the file size, the F2 Product Information screenshot, the first transaction date, the desired cutoff date, whether Rebuild and Verify pass, whether multi-currency is used, and the inventory item count.
Scenario 3: Damaged Configuration or Log Files
- Close QuickBooks on all machines.
- Navigate to the folder containing the company file.
- Locate the
.NDand.TLGfiles that share the company file's name (forCompany.QBW, look forCompany.NDandCompany.TLG). - Rename both files by adding
.OLDto the extension (for example,Company.ND.OLD). - Reopen QuickBooks. The application recreates these files automatically.
How to Prevent It Recurring
- Maintain at least 5 GB of free space on any drive hosting a QuickBooks company file.
- Monitor file size quarterly by pressing F2 and reviewing the Product Information screen.
- Run Verify and Rebuild from the File > Utilities menu at least once a quarter to catch file growth issues early.
- Schedule an annual condense for files that grow steadily, especially in high-volume retail, manufacturing, or construction environments.
- Keep the
.TLGfile intact and avoid manual deletion unless performing a guided restore, as it supports backup recovery and audit continuity.