Knowledge Base

How to Troubleshoot Script Errors in Internet Explorer

PSS ID Number: 181698

Article Last Modified on 10/1/2002


The information in this article applies to:


This article was previously published under Q181698

SUMMARY

This article describes how to troubleshoot script errors in Internet Explorer versions 4 and 5.

MORE INFORMATION

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

To troubleshoot script errors in Internet Explorer versions 4 and 5 for Windows 95 and Windows 98, use the following steps.

Download the Latest Scripting Engine

Download the latest scripting engine from the following Microsoft Web site:
NOTE: Windows 95 users must be running Windows 95 OEM Service Release 2 (OSR2) or later or be running Internet Explorer 4.0 or later for these files to work properly. Windows 95 users without Internet Explorer 4.0 or OSR2 should install the DCOM update before using these files. To install the DCOM components, visit the DCOM download page at: Users who are running Internet Explorer 3.02 on international versions of Windows 95 (with or without OSR2) should install DCOM before using these files.

Disable Smooth Scrolling

To disable the Smooth Scrolling feature in Internet Explorer version 4.x, follow these steps:
  1. Start Internet Explorer, and then click Internet Options on the View menu.
  2. Click the Advanced tab, and then click to clear the Use Smooth Scrolling check box.
  3. Click OK, and then quit Internet Explorer.
To disable the Smooth Scrolling feature in Internet Explorer 5, follow these steps:
  1. On the Tools menu, click Internet Options.
  2. Click the Advanced tab, and then click to clear the Use Smooth Scrolling check box.
  3. Click OK, and then quit Internet Explorer.

Disable Show Window Contents While Dragging

If you do not have Microsoft Plus! for Windows 95 installed on your computer, skip to the next section. To disable this feature, use the following steps:
  1. Right-click the desktop, and then click Properties.
  2. Click the Plus tab, click to clear the Show Window Contents While Dragging check box, and then click OK.

Reduce the Number of Colors Windows Is Using

To reduce the number of colors Windows is using, follow these steps:
  1. Right-click the desktop, click Properties, and then click the Settings tab.
  2. In the Colors box, click a setting that is less than the current setting, click OK, and then click Yes.

Reduce the Screen Area

To reduce the screen area, follow these steps:
  1. Right-click the desktop, click Properties, and then click the Settings tab.
  2. In the Screen Area box, move the Screen Area slider to a screen area that is lower than your current screen area setting, click OK, and then click Yes.

Disable Hardware Acceleration

To disable hardware acceleration, follow these steps:
  1. Right-click My Computer, and then click Properties.
  2. Click the Performance tab, and then click Graphics.
  3. Move the Hardware Acceleration slider to None, click OK, click Close, and then click Yes.

Disable Active Desktop

To disable Active Desktop, follow these steps:
  1. Right-click the desktop, click Properties, and then click the Web tab.
  2. Click to clear the View my Active Desktop as a web page check box, and then click OK.
NOTE: If any of the preceding sections resolves the issue, you may need to update the driver for your video adapter. For information about obtaining an updated driver for your video adapter, contact the manufacturer of your video adapter, or the manufacturer of your computer. If the steps in the preceding sections do not resolve the issue, continue to the next section.

Install the Current Version of Microsoft DirectX

For information about how to install the current version of Microsoft DirectX, see the following Microsoft Web site:

Delete Internet-Related Folders

NOTE: Deleting the Favori~1 folder as outlined below will delete all your stored favorite links. The folder is re-created when you restart your computer, but the contents of the folder are not re-created. You may want to copy your favorite links to another folder before using these steps.

NOTE: Using the deltree command will cause data loss. If you want to keep your cookies or internet favorites, these directories should only be renamed. Their contents may be copied back into their proper folders once they are recreated in the Windows directory to restore their functionality.

NOTE: If you have a cookie that stores a password for a particular Web site, copy the contents of the Cookies folder to a new folder instead of deleting the Cookies folder. To do so, type the following commands at a command prompt, pressing ENTER after each command

smartdrv.exe
md newfoldername
copy c:\windows\cookies\*.* c:\windows\newfoldername

where newfoldername is the folder to which you want to copy the contents of the Cookies folder.

Note that Smartdrv.exe is not required to delete these files. It is used only to speed the file deletion process.

To delete Internet-related folders, use the following steps.
  1. Restart your computer. When you see the "Starting Windows 95" message, press F8, and then choose Command Prompt Only.
  2. At the command prompt, type the following commands, pressing ENTER after each command, and pressing Y if you are prompted to confirm the deletion of a folder.

    NOTE: These folders are re-created when you restart your computer, but not the contents. All of your saved favorite links in the Favorites folder are deleted when you follow these steps.WARNING: If you wish to keep your Internet Favorites, do not run the "deltree favori~1" command as it will delete the folder containing the Favorites. Please use the following command instead:

    rename favori~1 oldfaves

    If you wish to recover your internet Favorites at a later time, you can browse to the \windows\oldfaves and copy the contents of this folder back into the \windows\Favorites directory. If any of the favorites are corrupted, this may cause the scripting problem to return.

    cd windows
    deltree tempor~1
    deltree cookies
    deltree history
    deltree favori~1

  3. Restart your computer.
  4. Click Start, point to Find, and then click Files Or Folders.
  5. In the Named box, type downloaded program files, and then click Find Now.
  6. Double-click the Downloaded Program Files folder, right-click a file in this folder, and then click Remove. Continue to remove files from this folder in this manner until all files are removed, and then restart your computer.

    NOTE: If you do not intend to reinstall the Microsoft Java Virtual Machine, do not delete the "Win32 Classes" file in the Downloaded Program Files folder.

Additional query words: vb scripting error

Keywords: kbenv kbhowto kbtshoot KB181698
Technology: kbIE400Win95 kbIE400WinNT400 kbIE401Win95 kbIE401Win98 kbIE401Win98SP2 kbIE401WinNT400 kbIE401WinNT400SP1 kbIE401WinNT400SP2 kbIE500Search kbIE500Win95 kbIE500Win98 kbIE500WinNT400 kbIE501Win95 kbIE501Win95SP1 kbIE501Win98SE kbIE501Win98SESP1 kbIE501Win98SP1 kbIE501WinNT400 kbIE501WinNT400SP1 kbIE550Search kbIE550Win95 kbIE550Win95SP1 kbIE550Win98 kbIE550Win98SE kbIE550Win98SESP1 kbIE550Win98SP1 kbIE550WinME kbIE550WinMESP1 kbIE550WinNT400 kbIE550WinNT400SP1 kbIE600Search kbIE600Win98 kbIE600Win98SE kbIE600WinME kbIE600WinNT400 kbIE95Search kbIE98Search kbIE98SESearch kbIENT400Search kbIEsearch kbIEWinMESearch kbOSWin98 kbOSWin98SE kbOSWinME kbOSWinSearch