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 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.

Articles
Blogs
Kits
Forums

I recently ran into this problem and have read many “fixes” on google from several sources none of which seem to really be a fix. I have simply decided it really can’t be fixed but here are two workarounds incase someone might want to use them. The first one is to switch to category view for the control panel, which changes user accounts to single click and does not generate this error. You could also change your mouse behavior to single click under folder options and thus receive no error. I am not a fan of category view for the panel, nor am I a fan of single-click for program execution, so I just right click the icon and choose “open”, which also works. Or I open the run box and type NUSRMGR.CPL and hit enter. This is faster than opening the Control Panel anyway.
when I try to forward or send a message internet explorer stops it.
I never had a script error massage before i just download IE8 beta ,and i got them in line one i am trying to clear it for hrs i am runing window vista ,, can you help me more Thank you