PDA

View Full Version : permission denied error in IE6 and IE7



pankaj.ghadge
10-23-2008, 07:55 AM
hello
I am useing frame in my application and i am creating a dynamic contain from left frame to right frame.

In firefox application works well but in IE it gives an error like permission denied

I don't know this error comes due to my mistake or some thing else is needed to set to overcome from this error. I have searched on google but haven't got the information ...

please tell me.....................

jscheuer1
10-23-2008, 03:51 PM
Scripts cannot access pages in frames or parent pages from frames if both pages are not on the same domain. In some cases the pages may be on the same domain, but have a different base domain name according to the browser, like:


http://www.somedomain.com

and:


http://somedomain.com

or if one uses a named domain server address and the other uses a numbered domain server address, even if they would resolve to the same domain/host.

Different browsers will react differently to these situations. The best way to avoid it (if it is the problem) is to make sure all addresses used for the pages have the exact same absolute domain paths.

Another possibility is that sometimes the code used to access pages in frames from the parent vary by browser, if this is the problem - IE is not getting the code it understands and thinks you are trying something that violates its security restrictions.

Or it could just be that security is set higher in your copies of IE than in your other browser(s).