Skip to content

How to Fix QuickBooks Script Error- An Error has Occurred

QuickBooks Script Error

Last Updated on August 29, 2024

Script errors are among the most confusing errors you may encounter while working with QuickBooks. These script errors provide no information about the cause and display error messages that can’t be understood. If you are tired of such annoying script error messages, we are here to help. In this guide, we have mentioned the top 9 troubleshooting steps to eliminate script errors in QuickBooks. Along with the troubleshooting instructions, we have also listed a detailed description of QuickBooks Script error and its causes, so follow the entire article until the end for complete info.

If you are new to QuickBooks, troubleshooting the error alone can lead to permanent data loss. The safest approach to resolving a QuickBooks Script error is to contact Support at 1.855.738.2784.

QuickBooks script error message
QuickBooks script error message

What is a Script Error in QuickBooks Desktop?

Script errors are generally related to Internet Explorer, and QuickBooks uses Internet Explorer’s settings to connect with the Internet. If JavaScript or VB Script has installation errors or if, for some reason, Internet Explorer is unable to execute these scripting languages, then a script error emerges in QuickBooks Desktop and displays an error message “QuickBooks Script Error Unable To Get Property Length of Undefined or Null Reference.” However, resolving script errors in QuickBooks does not require immense troubleshooting and can be rectified by resetting Internet Explorer’s settings and implementing a few essential troubleshooting solutions.

Script Error Message: An error has occurred on the script of this page Line: 7 Char: 561 Error: Unable to Get Property Length of Undefined or Null Reference Code: 0 URL:https://a166211981.cdn.optimizely.com/client_storage/a166211981.html
Script Error Unable To Get Property
QuickBooks Script Error Unable To Get Property

NOTE: The error message on your screen might have a different Line, Char, and URL.

Reasons that Trigger QuickBooks Desktop Script Error

There are several reasons behind the occurrence of the script error in QuickBooks. But the below-listed causes are the most common ones that have been reported by multiple users –

  1. The error may show if the script processing tools or features have been turned off in QuickBooks.
  2. If the script debugging element is enabled in the system,
  3. A damaged Windows user can cause such an issue.
  4. Previously made changes on the system were not saved and verified.
  5. The data downloaded online does not sync with the script software.

Now that the reasons are known let’s review the solutions you can implement to address all the abovementioned reasons.

How to Identify QuickBooks Script Error?

If you notice QuickBooks behaving unusually, the following could be the signs that indicate the presence of script error –

  1. Whenever you work on Internet Explorer, it malfunctions or responds slowly to your requests.
  2. While using QuickBooks, it becomes challenging to navigate the options.
  3. Inability to download updates for QuickBooks Desktop.
  4. Frequent time-out messages appear on the browser screen.

If you are not getting an error message notifying the script error but are getting these signs, follow the troubleshooting solutions in the next section.

How to Fix Script Error in QuickBooks?

Step 1: Add Intuit® as a Trusted Website in Internet Settings

Adding Intuit as a trusted site on the system will not restrict QuickBooks from connecting to the Intuit servers and might help resolve the error.

  1. Press Windows + R, and type inetcpl.cpl, press Enter, and from under Settings, go to the Security tab.
  2. Under the Trusted Sites section, add *Intuit.com as a trusted website and return to the Trusted Sites window.
    Trusted Sites Option Internet Explorer
  3. Now unmark the Require server verification (https:) option.
  4. Exit the Trusted Sites window and unmark the Enable Protected Mode option.
    Enable Enhanced Protection Mode Internet Explorer
  5. Exit internet settings and try to rerun QuickBooks Desktop. If you still get the scripting error in QuickBooks, follow all the troubleshooting steps below.
Script Debugging Warning

If you still get a script error while performing any action in QuickBooks, move to the next troubleshooting solution.

IMPORTANT: If you get an error message that Script Debugging is disabled, follow this article to Enable Script Debugging.

Step 2: Clear Internet Cache Data

Clearing the cache ensures no junk files saved in the browser obstruct QuickBooks from connecting to the internet and fetching information from there.

  1. Under the settings of Internet Explorer, go to the Browsing History section.
  2. Click Delete and select history, cookies, and temporary internet files.
  3. Hit the Delete button.
    Clear Browser Data Internet Explorer
  4. Click Apply and then OK.

Retry performing the same operation that triggered the script error earlier. If you reencounter the same problem, move to the next troubleshooting solution.

Step 3: Run Internet Explorer in the Compatibility View

If you are using Windows 7 or earlier versions, which are unfortunately no longer supported by Microsoft, follow the instructions below and run Internet Explorer in compatibility mode.

  1. Open Internet Explorer, and from under the Settings icon, click Tools.
  2. Now open the Compatibility View settings to open the Compatibility View window.
    Internet Explorer Compatibility View settings
  3. Put a checkmark next to the Display all websites in Compatibility View checkbox.
  4. Click Close to save the changes.

If you still can’t resolve script errors in QuickBooks, follow the next solution and disable add-ons in Internet Explorer.

Step 4: Turn off Add-ons in Internet Explorer

Add-ons integrated into Internet Explorer can result in several issues, including script errors. Follow the instructions below and remove any add-ons you have integrated into Internet Explorer.

  1. Open Internet Explorer, and from under the Tools, select Internet Options.
  2. Under the Programs tab, click Manage Add-ons.
    Manage Add-ons Internet Explorer
  3. Now click the add-on and select Disable from the bottom side of the screen.
  4. Click OK and exit Internet Explorer.

If disabling add-ons also doesn’t help resolve QuickBooks script errors, follow the next troubleshooting solution.

Step 5: Clear SSL Certificates from Internet Explorer

Clearing SSL certificates is also a potential solution to resolve such issues in QuickBooks; thus, follow the instructions below to do the same.

  1. Click the Gear icon at the top of Internet Explorer and select Internet Options.
  2. Under the Content tab, click the Clear SSL State button.
    Clear SSL State Internet Explorer
  3. Click OK to save the changes.

If you re-encounter a script error in QB, follow the next solution.

Step 6: Set Internet Explorer as your Default Internet Browser

Not having Internet Explorer as the default browser on old Windows operating systems can trigger several errors. Thus, follow the instructions below and set IE as the default browser on your system.

  1. Under the settings of Internet Explorer, go to the Programs tab.
    Make Default Internet Explorer
  2. Click the Make Default button and checkmark the Tell me if Internet Explorer is not the default web browser option.

If you still encounter script errors after making Internet Explorer your default browser, proceed to the next troubleshooting solution.

Detailed Instructions: Make Internet Explorer your Default Internet Browser

Step 7: Turn off Script Error Notification in the Browser Settings

Another approach to fix this issue is to disable the script error notifications.

  1. Open Internet Explorer and click the Tool icon at the top-right.
  2. Click Internet Options and then navigate to the Advanced tab.
    Display a notification about every script error Internet Explorer
  3. Remove the check mark from the “Display a notification about every script error” option.
  4. Save the settings by clicking OK.

Follow the next solution if this also doesn’t help resolve the error.

Step 8: Add the URL in the Error Message to the Restricted Websites List in QuickBooks

Follow the instructions below and add the Intuit URL to the restricted websites list.

  1. Open QuickBooks, and from the Help tab, click Internet Connection Setup.
  2. Click Next and then Advanced Connection Settings.
    Restricted Sites Internet Explorer
  3. Now, from the Security tab, click the Restricted Sites option.
  4. Click Sites and copy and paste the URL that you are getting in the error message; an example is: “https://QuickBooks.intuit.com/content/dam/intuit/QuickBooks/sandbox/custPerf/cust-adrum.js
  5. Now click Add and then hit Close.
  6. Finally, click OK and Done to save the changes.

This is the latest troubleshooting method for resolving script errors in QuickBooks 2020 or any previous application version. If this doesn’t help, follow the next solution.

Step 9: Reinstall Internet Explorer (For Windows 10 Users)

The instructions below will help reinstall IE, which might help resolve the issue.

  1. Using the Windows Start menu, open the Control Panel and move to the Add/Remove Program section.

  2. Turn Windows features on or off
    Turn Windows features on or off

    Now select Turn Windows features on or off option and remove the checkmark from Internet Explorer 11.

  3. Restart your Windows and return to the Turn Windows features on or off settings.

  4. Put a checkmark next to the Internet Explorer 11 option and restart your PC again.

  5. Run QuickBooks and check if this resolves the script error.

What if the QuickBooks Script Error is not Resolved after Troubleshooting?

If you are still getting QuickBooks script error while accessing the company file, try to Update QuickBooks Desktop, and if this does not resolve the issue, get in touch with us at 1.855.738.2784 for immediate help and support.

Leave a Reply

error: Content is protected !!