8

I am trying to integrate SSRS reporting manager URL into an Iframe (Using ZK framework). src of Iframe is 'https://localhost/Reports_MYSQL2014/Pages/Folder.aspx'

The page is getting rendered properly but clicking on some links (Upload File, security link on folder) getting error message as

"Refused to display 'https://localhost/Reports_MYSQL2014/Pages/Import.aspx?ItemPath=%2f&&Redi.........................................' in a frame because it set 'X-Frame-Options' to 'SameOrigin'."

How can i disable the 'X-Frame-Options' from SSRS response headers?

bob
  • 4,282
  • 2
  • 22
  • 30
Lejin KR
  • 477
  • 1
  • 3
  • 18

1 Answers1

-1

I don't think the mgmt portal is designed/extensible enough to be embedded.

Use the SSRS v2.0 REST API and create your own list of the reports, folders, etc. inside "Pages/Folder.aspx" to render to the user however you see fit.

Explore it here: https://localhost/Reports/api/v2.0

Sample usage of REST API to get SSSR items for display on a custom UI: https://kpitsimpl.blogspot.com/2020/01/ssrs-rest-api-v2.html

cfitzg
  • 43
  • 10
  • I am sorry I could not help. Perhaps this might work for your situation/requirement? https://stackoverflow.com/questions/32326892/enable-cors-for-reporting-services/62031871#62031871 – cfitzg May 26 '20 at 21:47