QuickBooks script error generally occurs when this software tries to connect to the internet via the internet explorer. Like many other desktop-based applications, QuickBooks uses the internet explorer to perform a host of actions.
In this article, you’ll learn to fix QuickBooks script error.
Alter Internet Explorer settings to fix QuickBooks Script Error
Here are the steps to fix QuickBooks script error:
- Log into Windows with an admin account.
- Launch Internet Explorer.
- Go to the Command Bar and click on Tools.
- Click on Internet Options, then on the Security tab.
- Select Trusted Sites.
- Click on Sites
- In the Add column, enter *.intuit.com.
- Click on Add.
- Go to the Trusted Sites window again.
- Uncheck the option Require server verification.
- Go to Trusted Sites once again.
- Uncheck the option Enable Protected Mode.
- Close Internet Explorer.
You may have to set internet explorer as the default browser in windows to fix QuickBooks script error. To do so, follow the steps provided below:
- Launch Internet Explorer.
- From the Gear icon, select Tools.
- Click on Internet Options.
- Select Programs tab.
- Click on the Make Default option provided under Default Web Browser.
- Click on Ok.
To resolve any unexpected behavior, you can turn off notifications in Internet Explorer by following the steps provided below:
- Launch Internet Explorer and go to Tools.
- From the Internet Options go to the Advanced tab.
- Remove the checkmark against Display a notification about every script error box.
- Click on ok.
Change Firewall Settings
But apart from this, you may have to configure settings for windows firewall, enabling QuickBooks related connections to access the internet without encountering any errors.
You’ll have to set up firewall rules manually – both inbound and outbound rules. After you apply these rules, windows firewall will not block the access requests made by QuickBooks.
To create firewall rules for QuickBooks, follow the steps provided below:
- In the start menu, type Windows Firewall.
- Click on Advanced Settings.
- Click on Inbound Rules, and select New Rule.
- Click on Port, then Next.
- Select TCP, and enter the Specific Local Ports needed for your version of QuickBooks. You’ll learn about specific port numbers later in this post.
- Click on Next.
- Choose Allow the Connection.
- Click on Next.
- After ensuring that all ports profiles are marked, click on Next.
- Enter a name for the rule. This name will help you remember the rule and change it later, if required.
- Click on Finish.
You need to repeat the steps to create an Outbound rule.
Now let’s come to the ports. Versions of QuickBooks above 2019 have dynamic ports: specific ports that are exclusively meant for QuickBooks.
Read More: How To Allow QuickBooks Services Through Windows Firewall?
Here are the ports for versions before 2019:
- v2017: 8019, 56727, 55373-55377.
- v2018: 8019, 56728, 55378-55382.
The dynamic port number for QuickBooks 2019 and above follows the pattern: 8019, XXXXX. XXXXX.
To know the dynamic port number for your version of QuickBooks, follow the steps provided below:
- Go to the Start menu.
- Search QuickBooks Database Server Manager and open it.
- From the Port Monitor tab, find the version of QuickBooks installed on your system.
- Note the Port Number and enter it when creating the firewall rules manually.
You can click on Renew to create a new dynamic port number. But when you create a new dynamic port number, you need to follow the steps below:
- Open the Scan Folders tab.
- Click on Scan Now.
By doing this, you can reset firewall permissions for QuickBooks.
Note: just to reiterate, you can generate dynamic port numbers for versions older than v2019.
Create exceptions for QuickBooks program files
After creating custom firewall rules for ports, you need to create an exception for the QuickBooks program files.
To do so, you can follow the steps provided below:
- Go to the Start menu.
- Click on Windows Firewall.
- Go to the Advanced Settings.
- Select Inbound Rules and click on New Rule.
- Select Program. Click on Next.
- Click on This Program Path. Select Browse.
- Select the executable file that you want to add an exception for.
- Click on Allow the Connection. Select Next.
- Click on Next.
- Add a name for the rule and click on Finish.
Repeat the steps and add an exception for the program by creating a new outbound rule.
Now restart your system so that the changes take effect. But before doing so, save any changes made to QuickBooks data.
Configure your Anti-virus and Firewall programs
In addition to configuring windows firewall for QuickBooks, you must properly configure any installed anti-virus and firewall programs in order to ensure that they aren’t blocking the network connection.
For the steps to properly configure third party security software, you’ll have to contact the software provider.
Conclusion
QuickBooks script error may be difficult to fix. But you can resolve the error by following the methods provided in this article. After following a particular method, restart your system and check for errors. If the error still occurs, then move on to the following method until you resolve QuickBooks script error.
Frequently asked questions
How do I fix a script error in QuickBooks Desktop?
You need to update the internet explorer and set custom firewall rules to resolve QuickBooks script error. Until you set new rules that enable QuickBooks to connect to the internet without being blocked, you’ll keep getting the script error.
Can I change custom firewall rules in future?
Yes, you can. That’s why you must select a unique name for the firewall rule; otherwise, you may simply forget the custom rule and lose the ability to make changes.
Will creating a custom firewall rule for QuickBooks put my data at greater security risk?
No, it won’t. QuickBooks will still use an encrypted network to connect to its server. Your data will be secure.