Article ID: 308260 - Last Review: August 17, 2009 - Revision: 6.1 How to troubleshoot script errors in Internet Explorer on Windows-based computersThis article was previously published under Q308260 On This PageSYMPTOMSA Web page may not display or work correctly, and you may receive an error message that resembles the following error messages: 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. Line: 4 Char: 1 Error: Object doesn't support this property or method. Code: 0 URL: http://Webserver/page.htm A Runtime Error has occured. Do you wish to Debug? Line: 4 Error: Object doesn't support this property or method. Done, but with errors on page. THINGS TO TRYThis article offers five methods that you can try to resolve the issue, and also presents some advanced troubleshooting tips that you can try. Try each method in the order presented until you resolve the issue. If one method does not work, try the next. 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 debuggingIf the only sign of a problem is the error message, and Web sites are working, you can probably ignore the error. Also, if the problem only happens on one or two Web pages, it might be a problem with 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 turn off the Scripting Debugger in Internet Explorer 6, follow these steps:
Method 2: Test a Web page from another user account, another browser, and another computerUse another user account, another browser, or another computer to view the Web pages that triggered a script error to determine whether the problem persists. If the script error persists, there may be a problem with the way the Web page 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 Web page from another user account, browser, or computer, the problem may be caused by files or by settings on your computer. Go to method 3 to continue to troubleshoot. Method 3: Verify that Active Scripting, ActiveX, and Java are not being blocked by Internet ExplorerActive scripting, ActiveX, and Java are all involved in shaping the way information displays on a Web page. If these are blocked on your computer, it may disrupt the display of the Web page. Reset the Internet Explorer security settings to make sure these are not blocked. To do this, follow these steps:
Try to open a Web page where you previously received a scripting error. If you do not receive the error, the issue is resolved. If the issue persists, go to Method 4. Method 4: Remove all the temporary Internet-related filesEvery time that you open a browser to view a Web page, your computer stores a local copy of that Web page in a temporary file. If the size of the temporary Internet files folder becomes too large, some display problems may occur when you open Web pages. Periodically clearing the folder might help resolve the issue.To remove all the temporary Internet-related files from your computer when you use Internet Explorer 6, follow these steps:
Method 5: Install the latest service pack and software updates for Internet Explorer 6 or Internet Explorer 7If you do not have the latest service pack or software upgrades for Internet Explorer 6 or 7, download and install them. They may contain updates that can help resolve the issue.To install Internet Explorer 6 Service Pack 1, visit the following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?FamilyID=1e1550cb-5e5d-48f5-b02b-20b602228de6&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyID=1e1550cb-5e5d-48f5-b02b-20b602228de6&displaylang=en)
Note Internet Explorer 6 Service Pack 1 is recommended for systems that are running versions of Windows earlier than Windows XP.To install the most current software updates for Internet Explorer 6 or for Internet Explorer 7, visit the following Microsoft Web site: http://windowsupdate.microsoft.com
(http://windowsupdate.microsoft.com)
Advanced TroubleshootingThis section is intended for more advanced computer users. Five methods are presented that might help resolve the issue. If you are not comfortable with advanced troubleshooting, go to the "Next Steps" section. Method 1: Verify that Active Scripting, ActiveX, and Java are not being blocked by an antivirus program or by a firewallSee the documentation for the firewall or antivirus program that you use to determine how to make sure that scripts, ActiveX controls, and Java programs are not being blocked. Scripts, ActiveX controls, and Java programs help shape the way a Web page is displayed. If they are blocked, it may disrupt the display of Web pages. Make any necessary changes, and try to open a Web page where you previously received a scripting error. If you do not receive the error, the issue is resolved. If the issue persists, go to advanced troubleshooting method 2.Method 2: Verify that your antivirus program is not set to scan the Temporary Internet Files or the Downloaded Program Files foldersIf 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 or the Downloaded Program Files folders.See the documentation for the antivirus program that you use to determine how to prevent the program from scanning these folders. Make any necessary changes, and try to open a Web page where you previously received a scripting error. If you do not receive the error, the issue is resolved. If the issue persists, go to advanced troubleshooting method 3. Method 3: Turn off Smooth ScrollingIf there is a video display problem, smooth scrolling could cause a script to be improperly timed, resulting in an error. To turn off the Smooth Scrolling feature when you use Internet Explorer 6, follow these steps:
Try to open a Web page where you previously received a scripting error. If you do not receive the error, the issue is resolved. If the issue persists, go to advanced troubleshooting method 4. Method 4: Turn off hardware accelerationMany applications use hardware acceleration to speed up computer processes, which can give computer users a more enjoyable experience. However, if hardware acceleration settings are set incorrectly, they can cause problems in how Web pages display. Turn off hardware acceleration to see whether this helps resolve the scripting errors. Select the appropriate set of steps for your operating system from the following:To turn off hardware acceleration in Windows XP or in Windows Server 2003, follow these steps:
Try to open a Web page where you previously received a scripting error. If you do not receive the error, the issue is resolved. If the issue persists, go to advanced troubleshooting method 5. Method 5: Install the current version of Microsoft DirectXDirectX can improve the display of Web pages. For information about how to install the current version of Microsoft DirectX, visit the following Microsoft Web site:http://www.microsoft.com/windows/directx/default.mspx
(http://www.microsoft.com/windows/directx/default.mspx)
NEXT STEPSIf the issue is not resolved, unfortunately this content is unable to help you any further. For your next steps, you might want to ask someone for help, or you might want to contact Support. For information about how to contact Support, please visit the following Microsoft Web site: http://support.microsoft.com/contactus
(http://support.microsoft.com/contactus)
MORE INFORMATIONInformation about the cause of this issueThis issue occurs because the HTML source code for the Web page 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:
REFERENCES811311
(http://support.microsoft.com/kb/811311/
)
Support WebCast: Microsoft Internet Explorer: Troubleshooting Web content problems
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 the articles listed here do not help you resolve the problem or if you experience symptoms that differ from those that are described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site: http://support.microsoft.com
(http://support.microsoft.com/)
Then, type the text of the error message that you receive, or type a description of the problem in the Search Support (KB) field.APPLIES TO
| Article Translations
|
Back to the top


