Saturday, March 24, 2012

This page contains both secure and nonsecure items

Hi all

This has been driving me nuts for months now, if I access my site from IE
https://db.cornwall.gov.uk/PlanningApplications and then hover over one of
the 2-level menus it comes up with the message:

"This page contains both secure and nonsecure items. Do you want to display
the nonsecure items?"

I've confirmed that there are "no" nonsecure items on this site, it works ok
from Firefox but not IE.

Can someone have a look at the site and see if they get the same problem -
it's been driving me crazy - and why does it only come up when hovering over
the menu item?

Thanks all
KevYou'll find all the answers you need at:
http://blogs.msdn.com/jorman/archiv.../06/526087.aspx

it's because the popup is loaded into a non-secure iframe. A solution is
provided at the link above, but for the sake of posterity:

<script runat="server">
protected override void Render(HtmlTextWriter writer)
{
Page.ClientScript.RegisterStartupScript(typeof(Pag e),
"MenuHttpsWorkaround", Menu1.ClientID +
"_Data.iframeUrl='https://myserver/someblankpage.htm';", true);
base.Render(writer);
}
</script
--
http://www.openmymind.net/

"Mantorok" <mantorok@.mantorok.com> wrote in message
news:e27gr8$n40$1@.newsfeed.th.ifl.net...
> Hi all
> This has been driving me nuts for months now, if I access my site from IE
> https://db.cornwall.gov.uk/PlanningApplications and then hover over one of
> the 2-level menus it comes up with the message:
> "This page contains both secure and nonsecure items. Do you want to
> display
> the nonsecure items?"
> I've confirmed that there are "no" nonsecure items on this site, it works
> ok
> from Firefox but not IE.
> Can someone have a look at the site and see if they get the same problem -
> it's been driving me crazy - and why does it only come up when hovering
> over
> the menu item?
> Thanks all
> Kev
>
Thanks very much!!

Kev

"Karl Seguin [MVP]" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:Omi3JLHZGHA.4168@.TK2MSFTNGP05.phx.gbl...
> You'll find all the answers you need at:
> http://blogs.msdn.com/jorman/archiv.../06/526087.aspx
> it's because the popup is loaded into a non-secure iframe. A solution is
> provided at the link above, but for the sake of posterity:
> <script runat="server">
> protected override void Render(HtmlTextWriter writer)
> {
> Page.ClientScript.RegisterStartupScript(typeof(Pag e),
> "MenuHttpsWorkaround", Menu1.ClientID +
> "_Data.iframeUrl='https://myserver/someblankpage.htm';", true);
> base.Render(writer);
> }
> </script>
> --
> http://www.openmymind.net/
>
> "Mantorok" <mantorok@.mantorok.com> wrote in message
> news:e27gr8$n40$1@.newsfeed.th.ifl.net...
>> Hi all
>>
>> This has been driving me nuts for months now, if I access my site from IE
>> https://db.cornwall.gov.uk/PlanningApplications and then hover over one
>> of
>> the 2-level menus it comes up with the message:
>>
>> "This page contains both secure and nonsecure items. Do you want to
>> display
>> the nonsecure items?"
>>
>> I've confirmed that there are "no" nonsecure items on this site, it works
>> ok
>> from Firefox but not IE.
>>
>> Can someone have a look at the site and see if they get the same
>> problem -
>> it's been driving me crazy - and why does it only come up when hovering
>> over
>> the menu item?
>>
>> Thanks all
>> Kev
>>
>>
>>
>>

0 comments:

Post a Comment