December 29, 2022

Fix An Error Has Occurred in the Script On This Page

Computer users are familiar with script errors. This error occurs in a browser when it can’t execute VBScript, JavaScript, or other scripting language instructions from a web page. This error can also occur in desktop applications too. An error has occurred in the script on this page is reported mostly with Internet Explorer. Apart from it, there are other programs as well that can result in this issue like an error has occurred in the script on this page chrome. This error can occur on different Windows versions including 7,8, and 10. Let us explore more about this script error, what causes it, and different methods to fix it on your system.

Fix An Error Has Occurred in the Script On This Page

How to Fix An Error Has Occurred in the Script On This Page on Windows 10

Follow this guide to know about the solutions to fix an error has occurred in the Script on this page issue.

What Causes an Error has Occurred in the Script on this Page?

There are a number of reasons that can cause script errors on your PC. Let us look at these script error-causing reasons in detail below:

  • Third-Party Browser Extensions: One of the main reasons to cause script issues are enabled third-party extensions. Therefore, you can try disabling these extensions to resolve the problem.
  • Missing Java from Windows: The next prominent culprit is when the script is trying to run on a machine with missing Java. Therefore, you must install Java in case it is not present on your device.
  • Enabled Script Error Notifications: Another reason behind the script error is if you have enabled script error notifications. You must disable these notifications to avoid browser session interruption.
  • Unregistered Urlmon.dll: Scripts on your device running on IE does not function properly and cause an error if this file is unregistered.
  • Antivirus Blocking Software: Third-party antivirus program installed on your device can also block the software along with its components and thus the script error.

To resolve the script error, follow the methods below as they are presented in the order to fix it efficiently depending upon the reason behind the error on your system.

Method 1: Close Background Apps

There are a number of apps that run in the background and can cause interference with other programs like JavaScript. Therefore, you must close or disable these active background apps on your system. To do so, you can check our guide on How to Disable Background Apps in Windows 10 and close these interfering apps.

Close Background Apps

Method 2: Disable Startup Items

Another way to fix an error has occurred in the script on this page is by disabling startup items. As soon as your system starts, startup applications begin running and can interfere with other programs from working properly. Therefore, you must disable these startup items, and to do so, refer to our helpful guide on How to Disable Startup Programs in Windows 10.

disable startup app

Also Read: Fix Error Applying Transforms in Windows 10

Method 3: Disable Antivirus (If Applicable)

An error has occurred in the script on this page Chrome can be avoided by disabling third-party antivirus program. Sometimes, the antivirus can block certain programs from working on your PC and in this case can cause script errors too. You can try excluding certain apps or programs to improve the stability and performance of your software. You can also disable the antivirus program and to do so, follow our guide on How to Disable Antivirus Temporarily on Windows 10.

Disable Antivirus

Method 4: Disable Third-Party Browser Extensions

The next method to resolve an error has occurred in the script on this page Windows 10 is by disabling third-party browser extensions that might be causing scripting errors. To disable browser extensions, check the steps listed below:

1. Launch Google Chrome and click on the three dots icon at the top right corner of the screen.

Click on three dots

2. Select More tools from the drop-down menu and click on Extensions next.

Select More tools and click on Extensions. Fix An Error Has Occurred in the Script On This Page

3. Now, toggle off the web extensions in your Chrome app.

Toggle off the web extensions

Also Read: Fix Network Error 0x00028001 on Windows 10

Method 5: Enable JavaScript

JavaScript is essential for the proper functioning of programs and websites installed on your system. Therefore, ensure that JavaScript is enabled in the web browser you are using. You can read our guide on How to Enable or Disable JavaScript in your Browser to follow this method properly.

Enable JavaScript

Method 6: Register Urlmon.dll File

An error has occurred in the script on this page can also occur if urlmon.dll file is not registered. It is one of the most used Dynamic Link Library files that is used by scripts powered by Internet Explorer. Therefore, you must re-register the file to resolve the mentioned error.

Note: The following steps can be performed on any Windows version.

1. Press the Windows + R keys simultaneously to open the Run dialog box.

Open Run dialog box

2. Next, type Regsvr32 urlmon.dll in the box and press the Enter key.

Enter Regsvr32 urlmon.dll

3. On being prompted by UAC (User Account Control prompt) and click on Yes.

4. On successful procedure, you will encounter the DllRegisterServer in urlmon.dll succeeded message.

DllRegisterServer in urlmon.dll succeeded message. Fix An Error Has Occurred in the Script On This Page

Also Read: Fix Windows 10 Network Profile Missing Problem

Method 7: Disable Script Error Notifications

If you still have not been able to resolve the script error on your device then you can try disabling the notifications to avoid disturbance while operating system. Even though it is just a workaround and will only help you with disabling notifications and not the error, you can still follow the steps below to disable these notifications:

1. Hit the Windows key, type Control Panel, then click on Open.

Open Control Panel

2. Search internet options in the box and press the Enter key.

Search internet options

3. Click on Internet Options from the results in the left panel.

Click on Internet Options

4. In the Internet Properties window, click on the Advanced tab and navigate to the Browsing category.

Navigate to the Browsing category. Fix An Error Has Occurred in the Script On This Page

5. Now, uncheck the box for Display a notification about every script error.

6. Next, click on Apply to save the modifications.

Hence, these are the methods to solve An error has occurred in the script on this page on Chrome.

Frequently Asked Questions (FAQs)

Q1. What is a script error?

Ans. The script error is an error sent by the browser to the onerror callback when they originate from a third-party script. This usually happens when third-party scripts are from a different origin.

Q2. How can I fix the script error in Outlook?

Ans. In Outlook, on receiving new mail, you can receive a script error message. In order to fix this error, you can delete the filter file.

Q3. Are script errors viruses?

Ans. Script errors are not viruses but only an error with the VBScript file. The error can appear on any Windows version and does not depend on any specific software.

Q4. Can I turn off scripts in Outlook?

Ans. Yes, turning off scripts in Outlook is possible.

Q5. Can scripts damage my computer?

Ans. A web script virus can affect records of your system and damage system performance.


We hope that our doc on an error has occurred in the script on this page was helpful in guiding you well about different methods in which you can fix the problematic error. Refer to the methods and let us know which one helped you out. Leave your comments below if you have any queries or suggestions.