function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gsmithfarmergsmithfarmer 

Page Generation differs on Sandbox and Production -- Both Winter 15 - x-frame-options ERROR

On our test Winter-15 sandbox generated page has an IFRAME where the same page on production does not. The IFRAME on the sandbox causes an x-frame-options error (because the framem is in c.cs13.visual.force.com and the page the SFDC code loads on a click a page on cs13.salesforce.com.

On production there are no IFRAMEs. On the sandbox this iframe appears:

<iframe frameBorder="0" id="contentPane" name="contentPane" onload="initContentFrame('https://c.cs13.visual.force.com/apex/Software_License_Validation?id=a085000000BovnNAAR&amp;restrictTo=02i500000096LclAAE&amp;type=auth&amp;core.apexpages.devmode.url=1', true, false , 'https://cs13.salesforce.com' );" src="/blank.html" style="width: 100%; height: 100%" title="Content Pane"></iframe>

The code in this page returns a PageReference under cs13.visualforce.com (not by design....this is the Site root the SFDC backend generates).

Help!

 
ShashankShashank (Salesforce Developers) 
Could you please let me know if you are still facing this issue even after the full Winter '15 issue which might have taken care of this issue?
gsmithfarmergsmithfarmer
The problem went away after a recent sandbox refresh. I check the generated code HTML on the refreshed sandbox and it no longer includes an iframe. The Sandbox was at preview Winter-14 before the refresh.