Microsoft KB Archive/306831

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

Article ID: 306831

Article Last Modified on 5/7/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0

-



This article was previously published under Q306831



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:

Char:

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:

Char:

Error: Class not registered



CAUSE
This issue may 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.

If the issue persists, follow these steps:  Open the Java Virtual Machine. To do so, visit the following Java Web site:

http://www.java.com/en

 Close all instances of Internet Explorer. Click Start, click Control Panel, and then double-click Internet Options. Click the Advanced tab. Under Browsing, click to clear the Enable third-party browser extensions (requires restart) check box. Restart Internet Explorer.</li></ol>

If the issue persists, follow these steps:
 * 1) Open Internet Explorer.
 * 2) Click Tools, and click Internet Options.
 * 3) Click the Advanced tab.
 * 4) Under Browsing, click to select the Disable Script Debugging check box.
 * 5) Click OK to close all windows, and then restart the computer.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to troubleshoot this issue, click the following article numbers to view the articles in the Microsoft Knowledge Base:

308260 How to troubleshoot script errors in Internet Explorer

If the issue persists, follow these steps: <ol> Download and install Java Virtual Machine. To do this, visit the following Java Web site:

http://www.java.com/en

</li> Close all instances of Internet Explorer, click Start, and then click Control Panel.</li> Click Network and Internet Connections, and then click Internet Options.</li> Click the Advanced tab.</li> Clear the Enable third-party browser extensions (requires restart) check box under Browsing.</li> Restart Internet Explorer. If the problem is not resolved, go to step 7.</li> Open Internet Explorer, click Tools, and then click Internet Options.</li> Click the Advanced tab, and then select the Disable Script Debugging check box under Browsing.</li> Click OK to close all the windows.</li> Restart the computer.</li></ol>

Keywords: kberrmsg kbprb KB306831

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.