How do I fix QB script error code 0?

Alton Alexander
By Alton AlexanderUpdated on June 4th, 2022

When you encounter a QuickBooks Script Error Code 0, it is usually caused by a problem with the QuickBooks company file. This can be caused by a corrupt or damaged file, or by a problem with the QuickBooks installation. If you are unable to open the QuickBooks company file, you may see the following error message:

"QuickBooks has encountered a problem and needs to close. We are sorry for the inconvenience."

When you see this message, it is important to note the specific error code that is displayed. This code can help you troubleshoot the problem so that you can fix it and get QuickBooks up and running again.

There are a few things that you can try to fix a QuickBooks Script Error Code 0. First, you can try to run the QuickBooks File Repair tool. This tool can fix problems with the QuickBooks company file, and it may be able to fix the script error that you are seeing.

If the QuickBooks File Repair tool does not fix the problem, you can try to restore a backup of your QuickBooks company file. If you have a recent backup, this may be the best option, as it will allow you to get your QuickBooks data back without losing any recent work.

If you do not have a recent backup, or if the backup does not fix the problem, you can try to repair the QuickBooks installation. This may be able to fix problems with the QuickBooks files that are causing the script error.

Once you have tried these options, you should be able to use QuickBooks again without seeing the QuickBooks Script Error Code 0. If you are still seeing the error, you may need to contact QuickBooks support for further assistance.

1. Run QuickBooks as an administrator

  1. Open the QuickBooks application.
  2. On the main menu, click File -> Manager.
  3. In the Manager window, click Accounts and then click the account for which you want to fix the script error.
  4. On the Account Details window, click the Scripts tab.
  5. In the Scripts list, click the entry for the script that you want to fix.
  6. On the Script Details window, click the Problems tab.
  7. In the Problems list, click the entry that corresponds to the script error code.
  8. On the Fix Script dialog box, click the Fix button.
  9. In the Fix Script dialog box, confirm that the script that you are fixing is the correct script and click OK.
  10. Click OK in the Fix Script dialog box to close it.
  11. Close the QuickBooks application.

2. Disable User Account Control (UAC)

  1. Open the Control Panel
  2. Under System and Security, click on User Accounts and Family Safety
  3. Under User Accounts, click on the link that says User Account Control Settings.
  4. Under the User Account Control Settings, click on the slider to the right to turn User Account Control off.
  5. Click on OK to save the changes.

3. Add QuickBooks to the Windows Firewall exceptions list

1.Open the "Windows Firewall with Advanced Security" 2.Click on "Exceptions" 3.Click on "Add a rule" 4.In the "Name" field, type "QuickBooks" 5.In the "Description" field, type "Allow QuickBooks access to the Internet" 6.Click on "Next" 7.In the "Type" field, select "Allow an application access to the computer" 8.In the "Program" field, type "quickbooks.exe" 9.In the "Action" field, select "Allow" 10.Click on "Apply" 11.Wait until the rule is enabled 12.Close the "Windows Firewall with Advanced Security"

4. Temporarily disable any antivirus or security software

  1. Open the "start" menu and select "run".
  2. Type "msconfig" and press Enter.
  3. Under "boot" tab, select "hidden operating system" and click "enable".
  4. Under "startup" tab, select "disable all" and click "apply".
  5. Restart your computer.
  6. In "msconfig", under "advanced startup", uncheck "enable quickbooks" and click "disable".
  7. Close all open windows and restart your computer.
  8. In "msconfig", under "advanced startup", check "enable quickbooks" and click "enable".

Some users might also have success with:

  1. Update QuickBooks to the latest version.
  2. Re-register QuickBooks-related DLL files.
  3. Run a QuickBooks File Doctor scan.
  4. Contact QuickBooks technical support.