title: How to resolve "This content cannot be displayed in a frame" error - CRM 2013 + Sharepoint 2013?
body: <p>I am trying to display/embed a Power View report from Sharepoint 2013 'document library' into CRM 2013 dashboard. </p>
  
  <p>CRM 2013 - On Premise, Sharepoint 2013 - On Premise. </p>
  
  <p>Below are the steps I followed: </p>
  
  <ol>
  <li>Developed a sample Power View report in Excel 2013 using CRM OData Feed</li>
  <li>Uploaded the Power View report (.xlsx) to Sharepoint 2013 <strong>Document Library</strong></li>
  <li>In CRM, created a System Dashboard and added an IFrame. </li>
  <li>Copied the Power View report URL and appended "&amp;action=embedview" to the query string. </li>
  <li>Updated the string above into the CRM Dashboard IFrame URL property. Un-ticked the 'Restrict cross-frame scripting ' check box. Saved and Published the dashboard. </li>
  </ol>
  
  <p>(as suggested in - <strong><a href="http://markmargolis.wordpress.com/2013/11/18/embedding-power-view-reports-in-crm-2013-the-easy-way/" rel="nofollow">Embedding Power View reports in CRM 2013</a></strong> , <strong><a href="http://www.concurrency.com/blog/powerview-reports-dynamics-crm/" rel="nofollow">PowerView reports in CRM</a></strong>)</p>
  
  <p>Opening the dashboard in CRM displays 'This content cannot be displayed in a frame' error. </p>
  
  <p>What I have tried so far : 
  Changing IE settings  based on -- <strong><a href="http://markmargolis.wordpress.com/2013/01/07/crm-2011-sharepoint-iframe-error/" rel="nofollow">article</a></strong></p>
  
  <p>I've seen this one too -- <strong><a href="http://blogs.msdn.com/b/officeapps/archive/2012/12/12/iframing-sharepoint-hosted-pages-in-apps.aspx" rel="nofollow">IFraming Sharepoint hosted apps</a></strong> but couldn't to understand what needs to be done. When I tried opening my 'document library' using 'Open in Explorer' and changed the <strong>/Forms/AllItems.aspx</strong> to include the tag below, it broke the document library. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;WebPartPages:AllowFraming runat="server" /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Please assist. </p>