Link to home
Start Free TrialLog in
Avatar of Matt Pinkston
Matt Pinkston

asked on

IFRAME in a ASPX file no longer working

I have the following IFRAME statement in my .aspx code which use to work fine now everyone is getting an error saying this content cannot be displayed in a frame...

<iframe name="I1" id="I1" width="905" src="inc_main30.aspx" marginwidth="1" marginheight="3" height="590" border="0" frameborder="0">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>

error occurs when user clicks this (the destination site did migrate from 2010 to 2013 SP)

<td class="style37" onMouseOver="this.bgColor='#e3e3e3'" onMouseOut="this.bgColor='#F7F7F7'" bgColor=#F7F7F7 onClick="document.getElementById('I1').src='http://kc-pursuit.sharepoint.xxx.com/sites/kc5216/Lists/ActivePursuits/USPSSites.aspx';">Site Listing (All Sites)</td>
Avatar of sammySeltzer
sammySeltzer
Flag of United States of America image

What type of error are you getting? You didn't say.

Recently, I had similar situation where an app I built with php using an iframe similar to yours that has been working for over two years stopped working with an error that says, URL not found when I user clicks to submit a record.

After extensive googling, I discovered that something changed on the server on the security tab.

The security was elevated and the checkbox that says, Protected Mode (requires restarting internet explorer) was checked.

I reduced the elevated security back to middle and then unchecked the Protected Mode checkbox and that solved my issue.

It may not solve yours but it is worth a try assuming you have similar errors.
Avatar of Matt Pinkston
Matt Pinkston

ASKER

error is

This content cannot be displayed in a frame
ASKER CERTIFIED SOLUTION
Avatar of sammySeltzer
sammySeltzer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial