System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q308260
If you are a Small Business customer, find additional troubleshooting and learning resources at the Support for Small Business
(http://smallbusiness.support.microsoft.com)
site.
Problems with this Web page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.
If you click Show Details, you may see details about the error that resemble the following:
A Runtime Error has occured. Do you wish to Debug? Line: <Line_Number> Error: <Error_Message>
The following warning message may also appear in the Internet Explorer Status bar:
Done, but with errors on page.
If you try to print a webpage in Internet Explorer, you may receive a script error that resembles the following. (Note that the line number may be different.)
An error has occurred in the script on this page. Line : <Line_Number> Char: <Character_Number> Error : <Error_Message> Code: 0 URL: res/ieframe.dll/preview.js.
You can try to resolve this problem by using one or more of six simple methods. Try each of these methods in the order in which they're listed until the problem is resolved.
This article is intended for a beginning-to-intermediate computer user. You may find it easier to follow the steps if you print this article first.
If the only sign of a problem is the error message, and if the websites are working, you can probably ignore the error. Also, if the problem occurs on one or two webpages, the problem may be caused by those pages. If you decide to ignore the errors, you can disable script debugging.
Note If this problem occurs on more than one or two sites, do not disable script debugging. Go to Method 2 now.
To try to narrow down the source of the problem, use another user account, another browser, or another computer to view the webpages that triggered the script error.
If the script error persists on multiple webpages, try this method. If the script error persists on a particular webpage, there may be a problem in the way that the webpage is written. You can probably ignore the error and disable script debugging as described in Method 1.
If the script error does not occur when you view the webpage through another user account, in another browser, or on another computer, the problem may be caused by files or settings on your computer. In this case, go to Method 3 to continue troubleshooting.
Active scripting, ActiveX, and Java are all involved in shaping the way that information is displayed on a webpage. If these features are blocked on your computer, this may disrupt the display of the webpage. You can reset your Internet Explorer security settings to make sure these features are not blocked. To do this, follow these steps:
On the Tools menu, click Internet Options. If you can't see the Tools menu, press Alt to display the menus.
In the Internet Options dialog box, click the Security tab.
Click Default Level.
Click OK.
Note ActiveX controls and Java programs are turned off in the High security level in Internet Explorer.
Collapse this imageExpand this image
Try to open a webpage on which you previously received a scripting error. If you do not receive the error, the problem is resolved. If the problem persists, go to Method 4.
Every time that you open a browser to view a webpage, your computer stores a local copy of that webpage in a temporary file. If the size of the temporary Internet files folder becomes too large, some display problems may occur when you open webpages. Periodically clearing the folder might help to resolve the problem.
On the Tools menu, click Internet Options. If you can't see the Tools menu, press Alt to display the menus.
Click the General tab.
Under Temporary Internet files, click Settings.
Click Delete Files, and then click OK.
Click Delete Cookies, and then click OK.
Under History, click Clear History, and then click Yes.
Click OK.
Try to open a webpage on which you previously received a scripting error. If you do not receive the error, the problem is resolved. If the problem persists, go to Method 5.
If you do not have the latest service pack or software upgrades for Internet Explorer already installed, download and install them. They may contain updates that can help resolve the problem.
To install the most current software updates for all versions of Internet Explorer, visit the following Microsoft website:
Outdated printer drivers can cause problems when you print from Internet Explorer. To resolve these problems, try updating to the latest printer driver for your printer. To do this, click the specific link for your version of Windows, and follow the steps in the article.
2652062
(http://support.microsoft.com/kb/2652062/
)
You receive a script error and are unable to print from Internet Explorer 9
Important In some cases, an updated version of the driver may not be available through Windows Update. You may have to visit the manufacturer's website to locate and download the latest printer driver for your printer.
This section is intended for more advanced computer users. It includes five methods to help resolve the problem. If you are not comfortable with advanced troubleshooting, go to the "Next Steps" section.
To determine how to make sure that scripts, ActiveX controls, and Java programs are not being blocked, see the documentation for the firewall or antivirus program that you use. Scripts, ActiveX controls, and Java programs help shape the way a webpage is displayed. If these features are blocked, this may disrupt the display of webpages. Make any necessary changes, and then try to open a webpage on which you previously received a scripting error. If you do not receive the error, the problem is resolved. If the problem persists, go to advanced troubleshooting Method 2.
If an antivirus program interprets a script as a virus, and prevents it from running, a script error may occur. To prevent this, make sure that the antivirus program is not scanning the Temporary Internet Files folder or the Downloaded Program Files folder.
To determine how to prevent the program from scanning these folders, see the documentation for the antivirus program that you use. Make any necessary changes, and then try to open a webpage on which you previously received a scripting error. If you do not receive the error, the problem is resolved. If the problem persists, go to advanced troubleshooting Method 3.
If you experience is a video display problem, smooth scrolling may cause a script to be timed incorrectly. This can generate an error.
To turn off the Smooth Scrolling feature when you use Internet Explorer 6, follow these steps:
On the Tools menu, click Internet Options. If you can't see the Tools menu, press Alt to display the menus.
On the Advanced tab, click to clear the Use Smooth Scrolling check box.
Click OK, and then exit Internet Explorer.
To turn off the Smooth Scrolling feature when you use Internet Explorer 7, follow these steps:
On the Tools menu, click Internet Options. If you can't see the Tools menu, press Alt to display the menus.
On the Advanced tab, under Browsing, click to clear the Use Smooth Scrolling check box.
Click OK, and then exit Internet Explorer.
Note If this resolves the problem, check whether there is an updated driver available for your video adapter. To obtain an updated driver, contact the manufacturer of your video adapter or of your computer.
Try to open a webpage on which you previously received a scripting error. If you do not receive the error, the problem is resolved. If the problem persists, go to advanced troubleshooting Method 4.
Many applications use hardware acceleration to speed up computer processes. However, if hardware acceleration settings are set incorrectly, they can cause display problems when you view webpages. You can turn off hardware acceleration to see whether this helps resolve the scripting errors. To do this, follow the appropriate steps for your operating system.
Windows 7
Click Start, type desk.cpl in the Open box, and then press Enter.
Click Advanced settings.
Click the Troubleshoot tab, and then move the Hardware Acceleration slider to None.
Click OK two times.
Windows XP and Windows Server 2003
Click Start, type desk.cpl in the Open box, and then press Enter.
Click the Settings tab, and then click Advanced.
Click the Troubleshoot tab, and then move the Hardware Acceleration slider to None.
Click OK two times.
Windows Vista
Open the Display item in Control Panel. To do this, click Start
Collapse this imageExpand this image
, type desk.cpl in the Start Search box, and then click desk.cpl in the Programs list.
Click Display Settings, and then click Advanced Settings.
Collapse this imageExpand this image
If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
Move the Hardware Acceleration slider to None.
Note If this resolves the problem, you may have to update the driver for your video adapter. For information about how to obtain an updated driver for your video adapter, contact the manufacturer of your video adapter or of your computer.
Try to open a webpage on which you previously received a scripting error. If you do not receive the error, the problem is resolved. If the problem persists, go to advanced troubleshooting Method 5.
DirectX can improve the display of webpages. For information about how to install the current version of Microsoft DirectX, visit the following Microsoft website:
If these methods do not resolve the problem, this article cannot help you any further. For your next steps, you might want to ask someone you know who is confident in working with computers to help you. Or, you might want to contact Microsoft Technical Support. For information about how to contact Support, visit the following Microsoft website:
This problem occurs because the HTML source code for the webpage does not work correctly with client-side script such as Microsoft JScript or Microsoft Visual Basic script. This problem may occur for one or more of the following reasons:
A problem exists in the HTML source code of the webpage.
Active scripting, ActiveX controls, or Java programs are blocked on your computer or on the network. Internet Explorer or another program, such as antivirus programs or firewalls, can be configured to block Active scripting, ActiveX controls, or Java programs.
Antivirus software is configured to scan your "Temporary Internet Files" or "Downloaded Program Files" folders.
The scripting engine on your computer is corrupted or outdated.
Internet-related folders on your computer are corrupted.
Your video card drivers are corrupted or outdated.
The DirectX component on your computer is corrupted or outdated.
Note Server-side scripts such as Visual Basic scripts in Active Server Pages (ASP) run on a web server. Script errors that occur because of server-side script failures do not produce error messages in Internet Explorer, but they may create a webpage that does not display or work correctly. The troubleshooting information in this article applies to client-side script errors. Contact the administrator of the web server if you suspect that a problem affects a server-side script.
810395
(http://support.microsoft.com/kb/810395)
Script error when you are using Internet Explorer 6
933873
(http://support.microsoft.com/kb/933873)
FIX: You may receive a script error when you try to run a script on a computer that has Internet Explorer 7 installed
If these articles do not help you resolve the problem, or if you experience symptoms that differ from those described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft website: