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

Reus Weijie Hu 1 Reputation point

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,

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)


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

    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

    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,

    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