Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
csaina
New Member

Problem with Update Power Bi Report Server to the January 2020

Update Power Bi Report Server to the January 2020 version, since then I have the following error
Refused to display 'https://xxxx? Rs: embed = true' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

I only have Report Server installed

2 REPLIES 2
Jon-Heide
Employee
Employee

This is a known problem with the January 2020 release and a patch update is planned to be released. In the meantime, the issue can be resolved as follows:

 

The new CustomHeaders advanced server property in the January 2020 PBIRS release contains the following default value:

 

<CustomHeaders> <Header> <Name>X-Frame-Options</Name> <Pattern>(.+)((\/api)|(\/(mobilereport|report|powerbi|excel|pages)\/(.+)(rs:embed=true|rc:toolbar=false)))</Pattern> <Value>SAMEORIGIN</Value> </Header> </CustomHeaders>

 

The default value is causing failures in embedded scenarios when upgrading to the January 2020 PBIRS version. Currently, the workaround is to replace SAMEORIGIN with a wildcard:

 

Change this:   <Value>SAMEORIGIN</Value>

 

To this:   <Value>*</Value>

  

HI @Jon-Heide ,

 

Do you have an estimated date to deliver this patchy mc patch? 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.