Article ID: 903219 - Last Review: August 13, 2007 - Revision: 1.4

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


Expand all | Collapse all

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

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows


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:
http://technet.microsoft.com/en-us/library/bb457150.aspx (http://technet.microsoft.com/en-us/library/bb457150.aspx)

APPLIES TO
  • Microsoft Windows XP Service Pack 2
Keywords: 
kbwebbrowser kbcontrol kbweb kbnofix kbtshoot kbprb KB903219
 

Article Translations