Error Message When You Browse the Web: An Error Has Occurred in the Script on This Page (Q306831)


The information in this article applies to:

  • Microsoft Internet Explorer versions 5.5 , 5.5 Service Pack 1 , for Windows 95
  • Microsoft Internet Explorer versions 5.5 , 5.5 Service Pack 1 , for Windows 98
  • Microsoft Internet Explorer versions 5.5 , 5.5 Service Pack 1 , for Windows 98 Second Edition
  • Microsoft Internet Explorer versions 5.5 , 5.5 Service Pack 1 , for Windows NT 4.0
  • Microsoft Internet Explorer versions 5.5 , 5.5 Service Pack 1 , for Windows Millennium Edition
  • Microsoft Internet Explorer versions 5.5 , 5.5 Service Pack 1 , for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows 98
  • Microsoft Internet Explorer version 6 for Windows 98 Second Edition
  • Microsoft Internet Explorer version 6 for Windows NT 4.0
  • Microsoft Internet Explorer version 6 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows Millennium Edition
  • Microsoft Internet Explorer version 6 for Windows XP

 


SYMPTOMS

When you are browsing a Web page, you may receive an error message similar to one of the following:

An error has occurred in the script on this page.
Line: line
Char: character
Error: Class not registered

-or-

On the Status Bar, you may receive the following message:

Done, but with error on page

If you double-click the Status Bar message, and then click Show Details , you receive the following error message:

An error has occurred in the script on this page.
Line: line
Char: character
Error: Class not registered

CAUSE

This behavior can occur if the Urlmon.dll file is not registered.
 


RESOLUTION

To resolve this issue, follow these steps:

  1. Click Start , and then click Run .

     
  2. In the Open box, type Regsvr32 urlmon.dll , and then click OK .

     
  3. When prompted with the DllRegisterServer in urlmon.dll succeeded message, click OK .