Discussion:
IFrame Mixed Zone Error ? ? ?
(too old to reply)
MLibby
2004-07-08 21:39:02 UTC
Permalink
I'm using an IFrame on an aspx page that I am developing. The IFrame displays another page that is locationed on the same server and in the same application. Everything works great until the user browses to another site and then presses the back button. When that happens the IFrame page gets an Unknown Zone (Mixed) warning along with an access denied error. The user can press the refresh button to clear the error and correctly display the page again. How do I resolve this warning/error?

Mike
--
mcp, mcse, mcsd, mcad.net, mcsd.net
Steven Cheng[MSFT]
2004-07-09 06:32:10 UTC
Permalink
Hi Mike,

From your description, you have an ASP.NET web page which embeded a Iframe
element to display another page in the same application. However, when the
user navigate from this page to another external site and use the browser's
"back" button to turn back to the page, he'll get Unknown Zone (Mixed)
warning along with an access denied error, yes?

First, I'd like to confirm the following things:
1. What's the OS and IE version you're using? Also, have you tried visit
the page from some other clients with different browser settings ?

2. Also, are there any script code in the page or iframe page? Generally
such runtime error is likely caused by the script code access the data in a
cross-site domain. Have you tried create a simple page and embeded a Iframe
which also contain a simple page and do the same test to see whether this
error occur? I think this may help isolate the problem.

3. In addition, from some former issue, I noticed that you can look at the
setting for these options (Local Intranet &
Trusted Sites) in IE:

- Lauching programs and files in an IFRAME

- Navigate sub-frames across different domains

try toggling the above options to see whether it helps.

Also, if you have anyother new findings, please also feel free to post
here. Thanks.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Steven Cheng[MSFT]
2004-07-10 09:19:45 UTC
Permalink
Hi Mike,

Thanks for you reply and the detailed answers. Well, it seems that we can
now narrow down the problem to the cross- domain data accessing via the
script code. I'm not sure how many script code you've used in your page and
the iframe page. Generally the most likely cause will be in the "onload"
event, have you put any scripts in it? Also, I think it'll be better if you
can provide a simple demo page to repro the behavior so that we have have
a furhter test on our side.
Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
MLibby
2004-07-10 11:52:01 UTC
Permalink
Yes, we run scripts in the onload event to start a timer that loads multiple pages into the IFrame one at a time and resizes the IFrame accordingly. I'll work on putting together a sample demo page.

Thanks,
Mike
--
mcp, mcse, mcsd, mcad.net, mcsd.net
Post by Steven Cheng[MSFT]
Hi Mike,
Thanks for you reply and the detailed answers. Well, it seems that we can
now narrow down the problem to the cross- domain data accessing via the
script code. I'm not sure how many script code you've used in your page and
the iframe page. Generally the most likely cause will be in the "onload"
event, have you put any scripts in it? Also, I think it'll be better if you
can provide a simple demo page to repro the behavior so that we have have
a furhter test on our side.
Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Steven Cheng[MSFT]
2004-07-13 11:52:25 UTC
Permalink
Hi Mike,

Thanks for the response and I'll hold on this issue and wait for your
update. If you have any other findings, also feel free to post here.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Steven Cheng[MSFT]
2004-07-15 11:08:19 UTC
Permalink
Hi Mike,

Have you got any further progress on this issue? If there're anything
else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Loading...