Microsoft Knowledge Base Email Alertz

Error message when you perform an operation in a frame on a Web page in Internet Explorer 7:Access denied

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 938302 - Last Review: October 27, 2007 - Revision: 1.1

Error message when you perform an operation in a frame on a Web page in Internet Explorer 7:"Access denied"

SYMPTOMS

Consider the following scenario:
  • In Windows Internet Explorer 7, you visit a Web page that contains more than one frame.
  • The servers that host these frames are in the same domain.
  • You perform an operation in one of the frames. For example, you click a button in the frame.
  • You try to perform an operation in another frame.
In this scenario, you may receive the following error message:
Access denied
Note This issue does not occur in Microsoft Internet Explorer 6.

CAUSE

This issue occurs because the document.domain property is case sensitive in Internet Explorer 7. If the document.domain properties of the two frames are different, you will receive this error message.

RESOLUTION

To resolve this issue, set the document.domain property of each frame on the Web page to the same string together with the same case. For example, if you set the document.domain property of the first frame to "contoso.com," you must set the document.domain property of the second frame to "contoso.com." You cannot set the document.domain property of the second frame to "CONTOSO.com" or to "Contoso.com."

APPLIES TO
  • Windows Internet Explorer 7
Keywords: 
kbtshoot kbprb kbexpertiseadvanced KB938302
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate