SSRS In Smartform Content Control X-Frame-Options
kbt155731
PRODUCTIssue
When trying to use a SSRS report in a Content Control, you receive a broken link error, or the page will not display. This is due to a setting on SSRS where it will not allow the report to be displayed in an iFrame.Symptoms
Open your Browser developer tools and look at the console. There should be an error similar to this:
"Refused to display [URL] in a frame because it set 'X-Frame-Options' to 'sameorigin'"
Resolution
The following Microsoft forum post goes into detail on this issue: https://social.msdn.microsoft.com/Forums/officeapps/en-US/73e90a28-a2f9-48c2-be20-52a72c66d51f/disible-xframeoptions-sameorigin-for-ssrs?forum=sqlreportingservices
To work around this issue, set your SSRS link to be embed ready. Simply add rs:embed=true to your URL.