Corrected the script error: An Error Has Occurred on a Script in This Page

  • A script error is an error that occurs when instructions in a script are not executed correctly for some reason.
  • A common cause of scripting errors is that the error occurred behind the scenes.
  • A bad code implementation or other bad configuration on the software side is not your problem to fix.
  • However, script errors can also be caused by a problem on your sides, such as your own software or operating system not being able to load the script correctly.
Updated February 2024This tool will stop these errors and fix common problems: Get it at this link
  1. Download and install the software.
  2. It will scan your computer to find problems.
  3. The tool will then correct the issues that were discovered.

Scripting Errors

If for some reason a script cannot execute the instructions correctly, it will produce a script error.

Microsoft Teams and other programs using IE scripts can cause this pop-up to appear when an error occurs in the script.

Script errors occur when instructions within a script aren’t executed correctly for some reason. A script error is most commonly encountered in the browser when the browser fails to execute instructions from a web page that are written in JavaScript or VBScript (or another scripting language). However, they can also occur on a desktop application.

There are two common reasons for scripting errors: either a problem on the web server, as in the case of web browser errors, or a problem with the programming.

If the software implementation is bad, or if other configuration problems exist, then you should wait for a developer update.

The script on this page has crashed when you open Autodesk 2020 or newer products. 

If the script is unable to be loaded correctly on your side, script errors can also result from a problem on your own end. Scripts are blocked by your browser, or they are viewed as threats by your security software, so you have to remove them.

I have made a script for drawing a surface.
The X Y are made with a regular grid.
Z will be the result of the X and Y positions f(X,Y) where f is from an infinite series calculation or convergence calculation (so, no Exp Sin **2 + .. in a single formula for describing the function).
It dont start in Spyder. But work in a terminal.


What is causing the “Script Error on this page” problem?

What is causing the "Script Error on this page" problem?

How To Fix Script Errors

Once you have clicked Ctrl+Shift+N, you can view the Web page that displayed an error. Close the incognito window and disable all add-ons and extensions one by one to figure out which extension is causing the script errors. If the Google-owned Web page displays properly in incognito mode, close the incognito window.

Based on our research, we identified several different culprits responsible for this problem. Based on user reports and common repair strategies to solve this issue, we were able to identify the following culprits:

Java missing on the Windows machine: One of the most common scenarios in which this error occurs is when a script tries to run on a machine that does not have a Java environment installed. If this script applies, you can fix the error by installing Java on your computer.

Web Browser Stop Running This Script

Sometimes JavaScript can cause your browser to ask if you want to stop running the script (for example, display an add, visualize a graph, etc.) If the script is running, the web page will load slowly and you will be asked to stop it.

“The script on this page has encountered an error” Script error when opening Citrix Receiver

Third-party browser extensions enabled for IE: If you have already configured Internet Explorer to allow third-party browser extensions, you have probably just identified the culprit. In this case, you should be able to fix the problem by disabling third-party browser extensions for IE.

urlmon.dll is not registered: This file from the dynamic link library is one of the most likely culprits for this error. The vast majority of scripts run in IE will not work if this file is not registered. If this script applies, you should be able to resolve the problem by saving the urlmon.dll file.

Script Errors Windows 10

My pop-ups stop with some pop-up stoppers, but I receive script errors instead. Here’s how to fix most of that.

Script error notifications are enabled: Note that this error only appears if script error notifications are enabled. If you just want to prevent error pop-ups from interrupting your browsing sessions, you should be able to do so by disabling script error notifications.

Has Occurred

Installing macOS via the internet requires a working and stable internet connection, even if you aren’t installing from the internet.

KMP script is blocked by IE: If the error occurs when using KMPlayer, it is probably due to the fact that the video player uses the Google Analytics plugin. If this script applies, you can fix the problem by adding the web script to the list of restricted sites.

The steps in this article can help you fix this error if you are experiencing it right now. In order to fix the “Error in the script on this page” error, the following methods have been successfully used by other users in a similar situation. At least one user has confirmed the effectiveness of each of the possible solutions listed below.

The computer will restart once you have disabled script debugging.

You should follow the solutions in order of their effectiveness and severity. Whichever solution you choose, irrespective of who is ultimately responsible, will resolve the issue.

Move on to the next method if the first doesn’t work for your script.


How do I solve the script error “An error occurred in the script on this page” problem?

Updated: February 2024

We highly recommend that you use this tool for your error. Furthermore, this tool detects and removes common computer errors, protects you from loss of files, malware, and hardware failures, and optimizes your device for maximum performance. This software will help you fix your PC problems and prevent others from happening again:

  • Step 1 : Install PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista).
  • Step 2 : Click Start Scan to find out what issues are causing PC problems.
  • Step 3 : Click on Repair All to correct all issues.


How do I solve the script error "An error occurred in the script on this page" problem?

Delete temporary files

  1. You should close all browser windows.
  2. You can access the Computer menu by clicking the Start button.
  3. You can delete all the files in the “Temp” folder by clicking on the “C” drive and then selecting “Documents and Settings.”.
  4. The system should be rebooted.

Save Urlmon

  1. You can run a program by choosing “Run” from the “Start” menu.
  2. Using Regsvr32, install urlmon.dll.
  3. When a message appears stating that “URLMON.DLL successfully registered the DLLRegisterServer”, click “OK”.

Problems with writing to Internet Explorer

  1. Start by clicking “Start”.
  2. To run CMD, click Run and type it in the box.
  3. Initpky, Rzaenkh, Missip32, Scriptdlg, Dssenkh, Gpxp, Slbxp, Skkbase: type the following and press enter after each file name: RegSvr32 softpub.dll Wintrust.
  4. To exit the command window, type “Exit” and press Enter.
  5. Your computer needs to be restarted

Disable third-party browser extensions

  1. This article contains a link to a Java download.
  2. Open Internet Explorer in a separate window and close it.
  3. You can open Internet Options by clicking the Control Panel link in the Start menu.
  4. The Advanced tab appears in Internet Options.
  5. You can enable third party extensions by scrolling down using the arrows on the right.
  6. You can uncheck it by clicking the box on the left and clicking OK when you are done.
  7. Your computer needs to be restarted.

Disable script debugging

  1. Open Internet Explorer by selecting it from the Start menu.
  2. Go to the “Tools” tab, followed by “Options” and then “Advanced.”
  3. Your computer will restart once you click “Disable script debugging”.

Reinstall Internet Explorer

  1. Choose “Control Panel” from the menu at the top of the screen.
  2. Choosing “Uninstall a program” in “Programs” will allow you to uninstall it.
  3. By clicking “View installed updates”, you can see the updates that have been installed.
  4. Wait until Internet Explorer is uninstalled after double-clicking it.
  5. This article includes a link to download Internet Explorer.
  6. The browser can be installed by following the instructions.
  7. Your computer needs to be rebooted.


RECOMMENATION: Click here for help with Windows errors.

Frequently Asked Questions

  1. Delete temporary files. Make sure all browser windows are closed.
  2. Save Urlmon.dll. Open the "Start" menu and choose "Run".
  3. Internet Explorer is having trouble writing. Open the "Start" menu.
  4. Disable third-party browser extensions.
  5. Disable script debugging.
  6. Reinstall Internet Explorer.

Regarding the "Error in script on this page" error, by far the most popular culprit is the fact that Java is not installed on this computer. Many affected users have reported that they were able to fix the problem after installing the latest version of JAVA on their computer.

  1. Reload the web page.
  2. Update the web browser.
  3. Load other web pages.
  4. Switch to a different web browser.
  5. Download the web page using a different device.
  6. Remove temporary files from the Internet.
  7. Disable plugins.
  8. Disable hardware acceleration.

It simply means that something unexpected happened that was not planned.

Website | + posts

Mark Ginter is a tech blogger with a passion for all things gadgets and gizmos. A self-proclaimed "geek", Mark has been blogging about technology for over 15 years. His blog,, covers a wide range of topics including new product releases, industry news, and tips and tricks for getting the most out of your devices. If you're looking for someone who can keep you up-to-date with all the latest tech news and developments, then be sure to follow him over at Microsoft.