Microsoft KB Archive/308260

From BetaArchive Wiki

Article ID: 308260

Article Last Modified on 11/26/2007



APPLIES TO

  • Windows Internet Explorer 7 for Windows XP
  • Windows Internet Explorer 7 for Windows Server 2003
  • Windows Internet Explorer 7 in Windows Vista
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0
  • Microsoft Internet Explorer 6.0



This article was previously published under Q308260

SYMPTOMS

A Web page may not display or work correctly, and you may receive an error message that is similar to any one of 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.

If you click Show Details, error details that are similar to the following error details may appear:

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.

The following warning message may also appear in the Microsoft Internet Explorer Status bar:

Done, but with errors on page.

Steps to resolve the problem

Method 1: Disable script debugging

If the only sign of a problem is the error message, and Web sites are working OK, you should probably just ignore the error. Also, if the problem only happens on one or two sites, it might be a problem with that site. If you decide to ignore the errors, you can disable script debugging.

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

If the problem only occurs when you view one or two Web pages, view the pages from another user account, from another browser, or from another computer to determine whether the problem persists. If the script error persists, there may be a problem with the way the Web page is written. If the script error does not occur when you use the Web page from another user account, the problem may be caused by files or by settings for your user profile. If the script error does not occur when you use the Web page from another browser or from another computer, continue troubleshooting.

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

Reset the Internet Explorer security settings for the current Web page. 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 applets are turned off at the High security level in Internet Explorer.

Method 4: Remove all the temporary Internet-related files

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.
  6. Click OK.
  7. Click Delete Cookies.
  8. Click OK.
  9. Under History, click Clear History, and then click Yes.
  10. 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.

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

To install Internet Explorer 6 Service Pack 1, visit the following Microsoft Web site:

To install the most current software updates for Internet Explorer 6 or for Internet Explorer 7, visit the following Microsoft Web site:

Troubleshooting steps for advanced users

This section is intended for advanced computer users. If you are not comfortable with advanced troubleshooting, you might want to ask someone for help or contact support. For information about how to do this, visit the following Microsoft Web site:

Method 1: Verify that Active Scripting, ActiveX, and Java are not being blocked by an antivirus program or by a firewall

Verify that a program on your computer such as an antivirus program or a firewall is not configured to block scripts, ActiveX controls, or Java applets.

Method 2: Verify that your antivirus program is not set to scan the "Temporary Internet Files" or the "Downloaded Program Files" folders

See the documentation for the antivirus program that you are using to determine how to prevent the program from scanning the "Temporary Internet Files" and "Downloaded Program Files" folders.

Method 3: Turn off Smooth Scrolling

To turn off the Smooth Scrolling feature when you use Internet Explorer 6, follow these steps:

  1. On the Tools menu, click Internet Options.
  2. On the Advanced tab, click to clear the Use Smooth Scrolling check box.
  3. Click OK, and then exit Internet Explorer.

Note If this resolves the issue, 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.

To turn off the Smooth Scrolling feature when you use Internet Explorer 7, follow these steps:

  1. On the Tools menu, click Internet Options.
  2. On the Advanced tab, under Browsing, click to clear the Use Smooth Scrolling check box.
  3. Click OK, and then exit Internet Explorer.

Note If this resolves the issue 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.

Method 4: Turn off hardware acceleration

To turn off hardware acceleration in Windows XP or in Windows Server 2003, follow these steps:

  1. Click Start, type desk.cpl in the Open box, and then press ENTER.
  2. Click the Settings tab, and then click Advanced.
  3. Click the Troubleshoot tab, and then move the Hardware Acceleration slider to None.
  4. Click OK two times.

To turn off hardware acceleration in Windows Vista, follow these steps:

  1. Open the Display item in Control Panel. To do this, click Start[GRAPHIC: the Start button], type desk.cpl in the Start Search box, and then click desk.cpl in the Programs list.
  2. Click Display Settings, and then click Advanced Settings. [GRAPHIC: User Access Control permission] If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
  3. Move the Hardware Acceleration slider to None.

Note If this resolves the issue 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.

Method 5: Install the current version of Microsoft DirectX

For information about how to install the current version of Microsoft DirectX, visit the following Microsoft Web site:

MORE INFORMATION

Information about the cause of this issue

This 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:

  • A problem in the HTML source code of the Web page.
  • Active scripting, ActiveX controls or Java applets 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 applets.
  • 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 may also create a Web page 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 a problem with a server-side script.

REFERENCES

811311 Support WebCast: Microsoft Internet Explorer: Troubleshooting Web content problems


810395 Script error when you are using Internet Explorer 6


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:

Then, type the text of the error message that you receive, or type a description of the problem in the Search Support (KB) field.


Additional query words: vb scripting error tshoot 181698 q181698 kb181698

Keywords: kberrmsg kbtshoot kbenv kbprb kbresolve KB308260