Microsoft KB Archive/903219

From BetaArchive Wiki
Knowledge Base


You receive an "Access denied" error message after you upgrade to Windows XP Service Pack 2

Article ID: 903219

Article Last Modified on 8/13/2007



APPLIES TO

  • Microsoft 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


SYMPTOMS

After you upgrade to Microsoft Windows XP Service Pack 2 (SP2), you receive the following error message in Microsoft Internet Explorer:

Access Denied

This problem occurs if one of the following conditions is true:

  • A frame in a frameset contains an ActiveX control. The ActiveX control opens a Web page in a different frame of the frameset. The control opens the page by using a relative path.
  • A Microsoft Visual Basic DHTML application page uses the BaseWindow.Navigate method to open a Web page by using a relative path.


CAUSE

This problem occurs because Windows XP SP2 introduced Microsoft Internet Explorer Zone Elevation Blocks to help protect your computer.

RESOLUTION

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.

To resolve this problem, we recommend that you use one of the following methods:

  • Use a fully qualified URL in the ActiveX control code or in the Visual Basic DHTML application that calls the BaseWindow.Navigate method.
  • Use the location.href method instead of using the Navigate method.

Additionally, although we do not recommend that you disable Zone Elevation Blocks, you can do this by changing the following registry entry to 0 (zero):

HKEY_LOCAL_MACHINE\Software\Microsoft \Internet Explorer\Main\FeatureControl\FEATURE_ZONE_ELEVATION\iexplorer.exe


To do this, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following subkey:

    HKEY_LOCAL_MACHINE\Software\Microsoft \Internet Explorer\Main\FeatureControl\FEATURE_ZONE_ELEVATION

  3. Right-click iexplorer.exe, and then click Modify.
  4. In the Value data box, type 0, and then click OK.
  5. On the File menu, click Exit.


MORE INFORMATION

For more information about Zone Elevation Blocks, visit the following Microsoft Web site:

Keywords: kbwebbrowser kbcontrol kbweb kbnofix kbtshoot kbprb KB903219