If you are getting messages such as: “A Runtime Error has occurred. Do you wish to Debug?” or “Internet Explorer Script Error. An error has occurred in the script on line 1. Do you wish to continue running scripts on this page?” Here are some tips to stop them:

There are a few reasons why you are getting this Internet Explorer script error. The first is that the author of the webpage has simply made some sort of programming error and this is typically the most common reason.

The next reason is that you are possibly running a pop-up killer of some kind which closes the pop-up too quickly which causes the script of the website to fail and thus giving you the error because it didnt complete.

The third reason is that you have some sort of spyware or adware infection that tries to launch something such as a popup but causes script errors.

How to stop the Internet explorer script error message from showing up:

You can tell your Internet Explorer to ignore these errors when they occur and not show you an alert about them. Here is the procedure:

  • Open Internet Explorer
  • In the top menu, Click on Tools and then Internet Options
  • Click on the Advanced Tab
  • Find where it says “Disable Script Debugging” and tick the box beside it
  • Now, Find where it says “Display a notification about every script error” and untick the box beside it.

What to do when you get an Internet Explorer script error in Control Panel when opening User Accounts:

You get a script error in Control Panel when clicking on User Accounts and see:

Internet Explorer Script Error
An error has occurred in the script in this page.
Line: 4
Char: 1
Error: Access is denied
Code: 0
URL: res://C:\Windows\system32\nusrmgr.cpl/nusrmgr.hta
Do you wish to continue running scripts on this page?

And the option of pressing Yes or No, no matter which one you press the User Accounts dialog opens anyway.

There isnt really a fix for this error, it seems to be an undocumented error in Windows XP SP2 but there is a way to avoid it. Simply dont press User Accounts many times. If you press it 3 times or more it will occur.

What to do if you are still getting errors
If you are still getting errors even after disabling them in IE, then it is possible that you have some adware installed and you will need some adware removal software such as Ad-Aware Personal.