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.
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
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 –
- The error may show if the script processing tools or features have been turned off in QuickBooks.
- If the script debugging element is enabled in the system,
- A damaged Windows user can cause such an issue.
- Previously made changes on the system were not saved and verified.
- 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 –
- Whenever you work on Internet Explorer, it malfunctions or responds slowly to your requests.
- While using QuickBooks, it becomes challenging to navigate the options.
- Inability to download updates for QuickBooks Desktop.
- 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.
- Press Windows + R, and type inetcpl.cpl, press Enter, and from under Settings, go to the Security tab.
- Under the Trusted Sites section, add *Intuit.com as a trusted website and return to the Trusted Sites window.
- Now unmark the Require server verification (https:) option.
- Exit the Trusted Sites window and unmark the Enable Protected Mode option.
- Exit internet settings and try to rerun QuickBooks Desktop. If you still get the scripting error in QuickBooks, follow all the troubleshooting steps below.
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.
- Under the settings of Internet Explorer, go to the Browsing History section.
- Click Delete and select history, cookies, and temporary internet files.
- Hit the Delete button.
- 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.
- Open Internet Explorer, and from under the Settings icon, click Tools.
- Now open the Compatibility View settings to open the Compatibility View window.
- Put a checkmark next to the Display all websites in Compatibility View checkbox.
- 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.
- Open Internet Explorer, and from under the Tools, select Internet Options.
- Under the Programs tab, click Manage Add-ons.
- Now click the add-on and select Disable from the bottom side of the screen.
- 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.
- Click the Gear icon at the top of Internet Explorer and select Internet Options.
- Under the Content tab, click the Clear SSL State button.
- 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.
- Under the settings of Internet Explorer, go to the Programs tab.
- 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.
- Open Internet Explorer and click the Tool icon at the top-right.
- Click Internet Options and then navigate to the Advanced tab.
- Remove the check mark from the “Display a notification about every script error” option.
- 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.
- Open QuickBooks, and from the Help tab, click Internet Connection Setup.
- Click Next and then Advanced Connection Settings.
- Now, from the Security tab, click the Restricted Sites option.
- 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“
- Now click Add and then hit Close.
- 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.
Using the Windows Start menu, open the Control Panel and move to the Add/Remove Program section.
Turn Windows features on or off Now select Turn Windows features on or off option and remove the checkmark from Internet Explorer 11.
Restart your Windows and return to the Turn Windows features on or off settings.
Put a checkmark next to the Internet Explorer 11 option and restart your PC again.
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.
Edward Martin is a Technical Content Writer for our leading Accounting firm. He has over 10 years of experience in QuickBooks and Xero. He has also worked with Sage, FreshBooks, and many other software platforms. Edward’s passion for clarity, accuracy, and innovation is evident in his writing. He is well versed in how to simplify complex technical concepts and turn them into easy-to-understand content for our readers.