Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that 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?

↑ Back to the top


Cause

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

↑ Back to the top


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 receive script errors only 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:

FolderWeb view .htt file
Control PanelControlp.htt
My ComputerMycomp.htt
PrintersPrinters.htt

For additional information about extracting files, click the article number below to view the article in the Microsoft Knowledge Base:
129605 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 Component

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:
165695 How to Add or Remove Windows Desktop Update

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: kbenv, kberrmsg, kbprb, KB183808

↑ Back to the top

Article Info
Article ID : 183808
Revision : 9
Created on : 6/5/2007
Published on : 6/5/2007
Exists online : False
Views : 532