Error Message: An Error Has Occurred In the Script on This Page

ID: Q183808

The information in this article applies to:

SYMPTOMS

When your computer is configured to use Web View and you open a folder, you may receive the following error message:

   Internet Explorer Script Error

   An error has occurred in the script on this page.

     Line:  <line number>
     Char:  <character number>
     Error: <error>
     Code:  <code number>

   Do you want to continue running scripts on this page?

CAUSE

This behavior can occur if one or more of your hypertext template (.htt) files are damaged.

RESOLUTION

When you finish the steps in each of the following sections, test to determine if the issue is resolved. If the issue is resolved, do not continue to the remaining sections. If the issue is not resolved, continue to the next section.

Extract the Appropriate .htt File

If you only receive script errors when you open one of the following folders, extract the appropriate related .htt file from the Ie4shl95.cab file for Internet Explorer 4.0 for Windows 95:

Folder:         Web View .htt:
Control Panel   Controlp.htt
My Computer     Mycomp.htt
Printers        Printers.htt

   For additional information about using the Extract command to extract a
   file, see the following article in the Microsoft Knowledge Base:

      ARTICLE-ID: Q129605
      TITLE     : How to Extract Original Compressed Windows Files

Remove Web Customization

If multiple folders are causing the script error, remove Web customization from any folder that generates the error message. To remove customization from a folder, use the following steps:

1. Open the appropriate folder.

2. On the View menu, click Customize This Folder, click Remove

   Customization, click Next, and then click Finish.

3. Close the folder.

Remove and Reinstall the Windows Desktop Update

If the issue is not resolved, remove and reinstall the Windows Desktop Update component to refresh the .htt files. In Windows 98, reinstall Windows 98 to refresh the .htt files. For information about how to remove and reinstall the Windows Desktop Update component, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q165695
   TITLE     : How to Add or Remove Windows Desktop Update

Additional query words: 4.00
Keywords          : kbenv kberrmsg msiew95 msient 
Version           : WINDOWS:4.0,4.01
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: March 18, 1999