How to remove **x-frame-option** from the Report Server? (SSRS)

Reus Weijie Hu 1 Reputation point
2021-12-15T07:48:28.36+00:00

sql server version 2019

How to remove x-frame-option from the Report Server? (SSRS)**I know it can be configured on the URL by adding **embed=true, but I would like to ask how to notify the configuration and remove x-frame-option.

Just like it says in the documentation,https://learn.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver15
157785-picture1.png

But it didn't work after I added it.157769-picture2.png

So I would like to ask how to modify through configuration, or SSRS configuration file (web.config)

157833-image.png

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,729 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Reus Weijie Hu 1 Reputation point
    2021-12-15T07:52:48.673+00:00

    The same project does not have the x-frame-Option property on SQL Server2012, so this (x-frame-Option) should be unique to SQL2019?

    0 comments No comments

  2. Isabellaz-1451 3,611 Reputation points
    2021-12-15T09:54:54.22+00:00

    Hi @Reus Weijie Hu

    For example, you shouldn't add a HSTS configuration if your server isn't configured for https. Incompatible headers may result in browser rendering errors.

    Maybe you should configure the https first.

    Best Regards,
    Isabella


    If the answer is the right solution, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments