Microsoft KB Archive/938301

= Error message when you use Internet Explorer 7 to visit a Web page: &quot;Error on Page&quot; or &quot;Permission denied&quot; =

Article ID: 938301

Article Last Modified on 10/27/2007

-

APPLIES TO


 * Windows Internet Explorer 7

-



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:

Char:

Error: Permission denied

Code:





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

Keywords: kbtshoot kbprb kbexpertiseadvanced KB938301

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.