The following error occurs when trying to create, open, or update a company file in QuickBooks Desktop:
An error occurred when QuickBooks tried to create, open or use the company file. Please try again. If the problem persists, contact Intuit technical support and provide them with the following error codes: (-6150, 0)
This error happens when the data file is being accessed or created on damaged media (for instance, restoring the file from a damaged flash drive).
By opening a sample company file, you are testing if the problem possibly lies with your company file or the QuickBooks application. If a sample company file does not open and instead returns an error, it is an indication that the QuickBooks installation is damaged and should be repaired.
Restore a backup from before the issue occured or restore your Auto Data Recovery ADR copy of your file. If the issue persist, please contact Intuit tech support for possible escalation to Data Services. Fees may apply.