Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


Workaround

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

↑ Back to the top


More information

For more information about the document.domain property, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


Keywords: KB938301, kbexpertiseadvanced, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 938301
Revision : 2
Created on : 10/27/2007
Published on : 10/27/2007
Exists online : False
Views : 382