Not able to upgrade the Company File to Quickbooks 2018
Since you are trying to upgrade from 2006 version to 2018, due to a huge gap between the versions, you would first require to upgrade your company file to 2010 version, thereafter the file can be upgraded to 2018 version.
In case you are already trying to upgrade the file to 2010 version and still getting the -6150 error, this means either the QuickBooks components or the company file is damaged.
You can try to follow below steps:
Step 1: Change the location of your company file
Step 2: Press and hold the Ctrl key while opening QuickBooks
Step 3: Open the file from the new location
If you are still receiving the same error, then you must first try to open a sample file to check if the issue is with the application or your company file. If the sample file works fine then your company file is damaged.
Below steps can help you to restore the company file:
Step 1: Go to the folder where company files are located
Step 2: Search for the file extension.QBB
Step 3: Now look for the most recent file in the search results
Step 3: Copy the backup file to a new location and restore it
If you are unable to locate a most recent backup file then follow below steps to locate & restore the auto data recovery file:
Step 1: Go to the folder where your company files are located
Step 2: Search for the file extension .ADR
Step 3: Look for the most recent file in the search results
Step 4: Copy the file to a new folder
Step 5: Rename the file and replace the Extension .ADR with .QBW
Step 6: Open the file from QuickBooks
Hope one of the above solutions would have helped you solve the problem. However, if you are still experiencing the same error flashing on the screen then can take help at QuickBooks ProAdvisor Support Number 1-888-899-5690 for tech assistance.