How to troubleshoot script errors in Internet Explorer on Windows-based computers
This 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 debugging
If 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:
On the Tools menu, click Internet Options.
On the Advanced tab, click to select the Disable script debugging check box. and then click OK .
To turn off notification about every script error in Internet Explorer 7, follow these steps:
On the Tools menu, click Internet Options.
On the Advanced tab, click to clear the Display a notification about every script error check box, and then click OK.
Method 2: Test a Web page from another user account, another browser, and another computer
Use 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 Explorer
Active 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:
Start Internet Explorer.
On the Tools menu, click Internet Options.
In the Internet Options dialog box, click the Security tab.
Click Default Level.
Click OK.
Note ActiveX controls and Java programs are turned off at the High security level in Internet Explorer.
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 files
Every 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:
Start Internet Explorer.
On the Tools menu, click Internet Options.
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.
To remove all the temporary Internet-related files from your computer when you use Internet Explorer 7, follow these steps:
Start Internet Explorer.
On the Tools menu, click Internet Options.
Click the General tab.
Under Browsing History, click Delete, and when you are prompted, click Yes to confirm.
In the Delete Browsing History dialog box, under Temporary Internet Files, click Delete Files, and when you are prompted, click Yes to confirm.
Under Cookies, click Delete Cookies, and when you are prompted, click Yes to confirm.
Under History, click Delete History, and when you are prompted, click Yes to confirm.
Click Close, and then click OK to close the Internet Options dialog box.
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 5.
Method 5: Install the latest service pack and software updates for Internet Explorer 6 or Internet Explorer 7
If 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/de