<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help with SSRS 2019 X-Frame-Options in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/3758773#M33537</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you get any solution to this one? I am facing the same problem&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 18:47:08 GMT</pubDate>
    <dc:creator>sinch</dc:creator>
    <dc:date>2024-03-12T18:47:08Z</dc:date>
    <item>
      <title>Help with SSRS 2019 X-Frame-Options</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/2907924#M27564</link>
      <description>&lt;P&gt;Hi guys, not sure if I am asking this correctly, but we are trying to launch URL links to SSRS2019 reports from a web site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;we previously had SSRS2014 with links that are working, however upgrading to SQL2019 has caused us to&amp;nbsp;&lt;/P&gt;&lt;P&gt;get the following error&lt;/P&gt;&lt;P&gt;Refused to display '&lt;A href="http://devxxxxxxx/" target="_blank" rel="noopener"&gt;http://devxxxxxxx/&lt;/A&gt;' in a frame because it set 'X-Frame-Options' to 'sameorigin'.&lt;/P&gt;&lt;P&gt;I have reviewed this reference&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver15" target="_blank" rel="noopener"&gt;Server Properties Advanced Page - SQL Server Reporting Services (SSRS) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which is indicating I need to update the CustomHeaders attribute.&amp;nbsp; I've tried several variants with no success&lt;/P&gt;&lt;P&gt;The best I can get is the following (note I have replaced the URL name with xxxx&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;&amp;lt;CustomHeaders&amp;gt;&lt;BR /&gt;&amp;lt;Header&amp;gt;&lt;BR /&gt;&amp;lt;Name&amp;gt;X-Frame-Options&amp;lt;/Name&amp;gt;&lt;BR /&gt;&amp;lt;Pattern&amp;gt;(?!(http|https):\/\/([^\/]+)\/*xxxxx.*$)&amp;lt;/Pattern&amp;gt;&lt;BR /&gt;&amp;lt;Value&amp;gt;ALLOW-FROM&amp;lt;/Value&amp;gt;&lt;BR /&gt;&amp;lt;/Header&amp;gt;&lt;BR /&gt;&amp;lt;/CustomHeaders&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has then caused the error to&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refused to display '&lt;A href="http://devxxxxxx/" target="_blank" rel="noopener"&gt;http://devxxxxxx/&lt;/A&gt;' in a frame because it set multiple 'X-Frame-Options' headers with conflicting values ('SAMEORIGIN,ALLOW-FROM'). Falling back to 'deny'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something I am missing?&lt;/P&gt;&lt;P&gt;Also note I can get the URL working if I add&amp;nbsp;?rs:embed=true to the end of it, however thats a bit much on all existing URL's&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 23:12:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/2907924#M27564</guid>
      <dc:creator>KRem</dc:creator>
      <dc:date>2022-11-15T23:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SSRS 2019 X-Frame-Options</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/2908742#M27572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="472462" data-lia-user-login="KRem" class="lia-mention lia-mention-user"&gt;KRem&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to this error message, this is because the server is set up to serve the page you are trying to put into the iframe. It does not allow you to put the page into an iframe on another site.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;See the following documentation for more information about X-Frame-Options.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options" target="_blank"&gt;X-Frame-Options - HTTP | MDN (mozilla.org)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 08:37:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/2908742#M27572</guid>
      <dc:creator>v-henryk-mstf</dc:creator>
      <dc:date>2022-11-16T08:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SSRS 2019 X-Frame-Options</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/2910992#M27588</link>
      <description>&lt;P&gt;Thanks very much for the reply Henry, you are correct that the SSRS server not set up to allow it to be put into an iFrame and thats the issue I'm trying to find a fix for.&amp;nbsp; ie on the SSRS server, what configuration can I change to allow it to be pulled through by the web application (note both are internal).&amp;nbsp; In PowerBI there is a value in the CustomHeaders attribute that I've used to fix the issue but I'm not sure of the equivalent in SSRS.&amp;nbsp; The reference documentation link here for SSRS server properties:&amp;nbsp;&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver15" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver15&lt;/A&gt;&lt;/P&gt;&lt;P&gt;indicates that I should be able to set it but I dont seem to be able to work it out.&amp;nbsp; Am I on the wrong path?&amp;nbsp; Cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 00:47:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/2910992#M27588</guid>
      <dc:creator>KRem</dc:creator>
      <dc:date>2022-11-17T00:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with SSRS 2019 X-Frame-Options</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/3758773#M33537</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you get any solution to this one? I am facing the same problem&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 18:47:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Help-with-SSRS-2019-X-Frame-Options/m-p/3758773#M33537</guid>
      <dc:creator>sinch</dc:creator>
      <dc:date>2024-03-12T18:47:08Z</dc:date>
    </item>
  </channel>
</rss>

