How to Fix "An Error Has Occurred in a Script on This Page"

You might have been buffering an online video for the past 10 minutes, or perhaps finally found the Web page you sought after an hour of searching; whatever the circumstances, it’s more than a little annoying when you are blocked by the message “An Error Has Occurred in a Script on This Page.” Luckily, there are a range of fixes for this problem. Find the one that works for you and browse the Internet again, frustration free.

...
Remove error messages from your Internet browsing.

Delete Temporary Files

Step

Make sure any browser windows are closed.

Step

Open the "Start" menu, then select “Computer.”

Step

Double-click on the “C” drive, open “Documents and Settings,” then open your user folder. Select “Local Settings,” then enter the “Temp” folder and delete all of the files.

Step

Restart the system.

Register Urlmon.dll

Step

Open the "Start” menu, then select "Run."

Step

Type “Regsvr32 urlmon.dll,” and then click "OK."

Step

Click “OK” on the “DllRegisterServer in urlmon.dll succeeded" message.

Register Internet Explorer Problems

Step

Enter the “Start” menu.

Step

Click on “Run,” then type “CMD” into the box and select “OK.”

Step

Type the following, pressing "Enter" on your keyboard after each file name: RegSvr32 softpub.dll Softpub.dll Wintrust.dll Initpki.dll Rsaenh.dll Mssip32.dll Cryptdlg.dll Dssenh.dll Gpkcsp.dll Slbcsp.dll Sccbase.dll

Step

Type “Exit” and press "Enter" on your keyboard to exit the Command Window.

Step

Restart your computer

Disable Third-Party Browser Extensions

Step

Download Java from the link in the "Resources" section of this article.

Step

Close any Internet Explorer windows.

Step

Open the “Start” menu, click on “Control Panel” and then select “Internet Options.”

Step

Click on the “Advanced” tab in the Internet Options window.

Step

Scroll down using the arrows on the right side and locate “Enable Third-Party Browser Extensions.”

Step

Click on the check box to the left of this to remove the tick, then select “OK.”

Step

Restart the computer

Disable Script Debugging

Step

Enter the “Start” menu and select “Internet Explorer.”

Step

Click on “Tools,” then “Options” and then the “Advanced Tab.”

Step

Click “Disable Script Debugging,” and select "OK" to restart the computer.

Reinstall Internet Explorer

Step

Enter the “Start” menu and select “Control Panel.”

Step

Open “Programs,” then choose “Uninstall a Program.”

Step

Click on “View Installed Updates.”

Step

Double-click on your Internet Explorer. Wait for it to uninstall.

Step

Download Internet Explorer from the link in the "Resources" section of this article.

Step

Follow the instructions to install the browser.

Step

Restart your computer.