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

By Martin Cole

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.

Delete Temporary Files

Step 1

Make sure any browser windows are closed.

Step 2

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

Step 3

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 4

Restart the system.

Register Urlmon.dll

Step 1

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

Step 2

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

Step 3

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

Register Internet Explorer Problems

Step 1

Enter the "Start" menu.

Step 2

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

Step 3

Type the following, pressing "Enter" on your keyboard after each file name: RegSvr32 softpub.dllSoftpub.dllWintrust.dllInitpki.dllRsaenh.dllMssip32.dllCryptdlg.dllDssenh.dllGpkcsp.dllSlbcsp.dllSccbase.dll

Step 4

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

Step 5

Restart your computer

Disable Third-Party Browser Extensions

Step 1

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

Step 2

Close any Internet Explorer windows.

Step 3

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

Step 4

Click on the "Advanced" tab in the Internet Options window.

Step 5

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

Step 6

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

Step 7

Restart the computer

Disable Script Debugging

Step 1

Enter the "Start" menu and select "Internet Explorer."

Step 2

Click on "Tools," then "Options" and then the "Advanced Tab."

Step 3

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

Reinstall Internet Explorer

Step 1

Enter the "Start" menu and select "Control Panel."

Step 2

Open "Programs," then choose "Uninstall a Program."

Step 3

Click on "View Installed Updates."

Step 4

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

Step 5

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

Step 6

Follow the instructions to install the browser.

Step 7

Restart your computer.