Article ID: 308260 - Last Review: April 30, 2012 - Revision: 14.0

How to troubleshoot script errors in Internet Explorer

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.

On This Page

Expand all | Collapse all

SYMPTOMS

When you try to view a webpage in Windows Internet Explorer, the webpage may not be displayed or work correctly. Also, you may receive error messages that resemble the following:

RESOLUTION

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.

Method 1: Disable script debugging

Method 2: Test a webpage from another user account, browser, or computer

Method 3: Verify that Active Scripting, ActiveX, and Java are not being blocked by Internet Explorer

Method 4: Remove all temporary Internet files

Method 5: Install the latest service pack and software updates for Internet Explorer

Method 6: Resolve script errors when you try to print from Internet Explorer

Advanced Troubleshooting

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.

Click here to view or hide detailed information

NEXT STEPS

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:
http://support.microsoft.com/contactus (http://support.microsoft.com/contactus)

MORE INFORMATION

More information about the cause of this problem

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.

REFERENCES

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:
http://support.microsoft.com (http://support.microsoft.com)
In the Search Support (KB) box, type a description of the problem or the text of the error message that you receive.

APPLIES TO
  • Windows Internet Explorer 9
  • Windows Internet Explorer 8
  • Windows Internet Explorer 7
  • Microsoft Internet Explorer 6.0
Keywords: 
kbresolve kberrmsg kbenv kbprb kbtshoot kbcip KB308260