Microsoft Knowledge Base Email Alertz

Error message when you use Internet Explorer 7 to visit a Web page: Error on Page or Permission 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: 938301 - Last Review: October 27, 2007 - Revision: 1.1

Error message when you use Internet Explorer 7 to visit a Web page: "Error on Page" or "Permission denied"

SYMPTOMS

You set the document.domain property for a Web page to document.location.host or to document.location.hostname. When you use Windows Internet Explorer 7 to visit the Web page, you may encounter one of the following problems:
  • You may receive the following error message in the status bar of Internet Explorer:
    Error on Page.
  • You may receive an error message that resembles the following:
    Line: LineNumber
    Char: CharacterNumber
    Error: Permission denied
    Code: CodeNumber

CAUSE

This problem occurs because of an issue in Internet Explorer 7. This issue occurs when Internet Explorer 7 examines whether the document.domain property has been changed.

WORKAROUND

To work around this problem, do not set the document.domain property to document.location.host or to document.location.hostname.

MORE INFORMATION

For more information about the document.domain property, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms533028.aspx (http://msdn2.microsoft.com/en-us/library/ms533028.aspx)

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

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