You may receive an "access denied" error message when a Web site redirects you to another Web page on a computer that is running Windows XP Service Pack 2

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry


When you browse a Web site by using Microsoft Internet Explorer on a computer that is running Microsoft Windows XP Service Pack 2 (SP2), you may receive an "access denied" error message. The error message may occur when a Web site redirects you to a Web page that contains script that accesses the document.all collection.


This problem may occur because, when the script code accesses the document.all collection after a client-side script redirect, the context of the earlier document.all collection is lost.


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version         Size       File name
07-Dec-2004 20:21 6.00.2900.2577 3,006,976 Mshtml.dll


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

You receive this error message only if the computer is running Windows XP SP2. After you apply this hotfix, restart the computer, and then follow these steps.

Note This hotfix is included in the MS05-038 Internet Explorer cumulative update. The following steps to set the registry key value are not required to enable this hotfix when MS05-038 is installed on the computer.
  1. Exit Internet Explorer.
  2. Click Start, click Run, type regedit in the Open box, and then click OK.
  3. Locate and then click the following registry key:
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main
  4. Create a new key that is named FeatureControl under the key that is listed in step 3.
  5. Create a new key that is named FEATURE_REDIRECT_COLLECTIONCACHE_KB889386 under the key that is listed in step 4.
  7. On the Edit menu, point to
    New, and then click DWORD value.
  8. Type iexplore.exe, and then press ENTER.
  9. Right-click iexplore.exe, and then click
  10. In the Value data box, type
    00000001, and then click OK.
  11. On the File menu, click


For more information about Internet Explorer object caching, visit the following Microsoft Web site: