Thursday, May 20, 2010

Fix Script Errors In Internet Explorer

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:

1. On the Tools menu, click Internet Options.
2. 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:

1. On the Tools menu, click Internet Options.

2. 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:

1. Start Internet Explorer.
2. On the Tools menu, click Internet Options.
3. In the Internet Options dialog box, click the Security tab.
4. Click Default Level.
5. 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:

1. Start Internet Explorer.
2. On the Tools menu, click Internet Options.
3. Click the General tab.
4. Under Temporary Internet files, click Settings.
5. Click Delete Files, and then click OK.
6. Click Delete Cookies, and then click OK.
7. Under History, click Clear History, and then click Yes.
8. Click OK.

To remove all the temporary Internet-related files from your computer when you use Internet Explorer 7, follow these steps:

1. Start Internet Explorer.
2. On the Tools menu, click Internet Options.
3. Click the General tab.
4. Under Browsing History, click Delete, and when you are prompted, click Yes to confirm.
5. In the Delete Browsing History dialog box, under Temporary Internet Files, click Delete Files, and when you are prompted, click Yes to confirm.
6. Under Cookies, click Delete Cookies, and when you are prompted, click Yes to confirm.
7. Under History, click Delete History, and when you are prompted, click Yes to confirm.
8. Click Close, and then click OK to close the Internet Options dialog box.



source:-http://support.microsoft.com/kb/308260

No comments: