Skip to content

Fix QuickBooks Script Error | An Error has Occurred in the Script

QuickBooks Script Error

Script errors are one of the most confusing errors you may encounter while opening your QuickBooks company file. Script error in QuickBooks provides no information about the cause and display an error message that can’t be clearly understood. If you are tired of such annoying script error messages then here in this article we have mentioned top 8 troubleshooting steps that you can follow to get rid of such scripting 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 not aware how scripts work in QuickBooks, then troubleshooting the error at your own can lead to permanent data loss. The safest approach to resolve QuickBooks Script error is to  get in touch with Support at 1.855.738.2784.

QuickBooks script error message

QuickBooks script error message

What is Script Error in QuickBooks Desktop?

Script errors are generally related to the Internet Explorer, and QuickBooks by default uses Internet Explorer’s settings to connect with the internet. If JavaScript or VB Script are having any installation errors or in case due to some reasons if Internet Explorer is unable to execute these scripting languages then 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 error in QuickBooks does not require immense troubleshooting and can easily be rectified by resetting Internet Explorer’s settings.

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
QuickBooks Script Error is Undefined

Script Error Unable to Get Property

NOTE: You might notice a different Line, Char, and URL in the error message.

Factors that Trigger QuickBooks Script Error

There are numerous reasons that work behind the occurrence of the script error in QuickBooks. But the below listed causes are the most common ones that have been seen in multiple user devices –

  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 on the device.
  3. A damaged Windows user can cause such an issue.
  4. Previously made changes in the computer device were not saved and checked.
  5. In situations where the data downloaded online does not sync with the script software, QuickBooks users may encounter a problem.

How to Identify QuickBooks Script Error?

If you are encountering the script error, these will be the activities that you might notice on your device which confirm the error –

  1. Whenever you work on Internet Explorer, it starts to malfunction or responds slowly to your requests.
  2. If the Windows firewall does not include QuickBooks as an exception, it thus prohibits its online activities.
  3. While using QuickBooks, it becomes difficult to navigate on the screen.
  4. Inability to download updates for QuickBooks Desktop.
  5. Frequent time out messages appear on the browser screen.

How to Fix Script Error in QuickBooks?

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

  1. Open Internet Explorer and from under the Settings go to the Security tab.
  2. Under the Trusted Sites section add *Intuit.com as a trusted website and go back to the Trusted Sites window.
    Trusted Sites Option Internet Explorer
  3. Now unmark 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 Explorer and try to run QuickBooks Desktop again and still if you get the scripting error in QuickBooks then follow all the troubleshooting steps mentioned below.

Script Debugging Warning

IMPORTANT: If you are getting an error message Script Debugging is disabled then follow article on How to Enable Script Debugging in Internet Explorer.

Step 2: Clear Internet Explorer Cache Data

  1. From 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.

Step 3: Run Internet Explorer in Compatibility View

  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 check-mark next to the Display all websites in Compatibility View checkbox.
  4. Click Close to save the changes.

Step 4: Turn off Add-ons in 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.

Step 5: Clear SSL Certificates from Internet Explorer

  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.

Step 6: Set Internet Explorer as your Default Internet Browser

  1. From 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.

Detailed Instructions: Make Internet Explorer your Default Internet Browser

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

  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 “Display a notification about every script error” option.
  4. Save the settings by clicking OK.

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

  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 Restricted Sites option.
  4. Click Sites and copy and paste the URL that you are getting in the error message, an example is given below: “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 that will help you resolve script error in QuickBooks 2020 or any previous version of the application.

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

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

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

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

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

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

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

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

Leave a Reply