title: MS CRM2013 IFRAME display Error
body: <p>I am practicing with <strong>Microsoft Dynamics CRM 2013</strong> using REST 0Data endpoint with Web Resources.I have added an Iframe in case form and assigned a pagein the IFRAME URL and  wrote the code snippet given on <a href="http://msdn.microsoft.com/en-us/library/gg309549.aspx" rel="nofollow noreferrer">Microsoft Website</a></p>
  
  <p><img src="https://i.stack.imgur.com/mmLrY.png" alt="see the structure of my CRM Web Resouces with Code"></p>
  
  <p>Now when I open a case from CRM Sales dashboard to check this IFRAME, it showing different errors in different browsers</p>
  
  <p><strong>in Chrome</strong> it display the text of the page but gives below error repeatedly</p>
  
  <blockquote>
    <p>Sandbox access violation: Blocked a frame at
    "<a href="https://diecho.crm5.dynamics.com" rel="nofollow noreferrer">https://diecho.crm5.dynamics.com</a>"  from accessing a frame at
    "<a href="https://diecho.crm5.dynamics.com" rel="nofollow noreferrer">https://diecho.crm5.dynamics.com</a>".   The frame being accessed is
    sandboxed and lacks the "allow-same-origin" flag.</p>
  </blockquote>
  
  <p><strong>in Firefox</strong> it display the text and when I open the Only Iframe code in different tab it gives below error in console</p>
  
  <blockquote>
    <p>NetworkError: 404 Not Found -<br>
    <a href="https://diecho.crm5.dynamics.com//ClientGlobalContext.js.aspx" rel="nofollow noreferrer">https://diecho.crm5.dynamics.com//ClientGlobalContext.js.aspx</a>" </p>
    
    <p>Error: Context is not available. { throw new Error("Context is not available."); } </p>
    
    <p>NetworkError: 404 Not Found -<br>
    <a href="https://s3-eu-west-1.amazonaws.com/987fsdr3e47f993ofskljd9/zone1-1003.js" rel="nofollow noreferrer">https://s3-eu-west-1.amazonaws.com/987fsdr3e47f993ofskljd9/zone1-1003.js</a></p>
  </blockquote>
  
  <p><strong>in IE8</strong> it gives below error:</p>
  
  <blockquote>
    <p>This content cannot be displayed in a frame  To help protect the
    security of information you enter into this website,  the publisher of
    this content does not allow it to be displayed in a frame.</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/vvW49.png" alt="see IFRAME error in IE8 in CRM 2013"></p>
  
  <p>Please Help me</p>
  
  <ul>
  <li>How to fix these errors?</li>
  <li>What am I missing to enable on CRM or on Browser side to see the page in IFRAME?</li>
  </ul>