【问题标题】:Calling an SSRS Mobile Report in ASp.net web application在 ASp.net Web 应用程序中调用 SSRS 移动报表
【发布时间】:2018-02-15 20:05:27
【问题描述】:

我有一个应用程序,我希望默认屏幕是我构建的 SQL Mobile 报表。当我导航到报告时,我可以看到它,它看起来不错,但是当我尝试在 iFrame 中打开它时,我收到以下消息

此内容无法在框架中显示。为了帮助保护 您输入本网站的信息的安全性,该网站的发布者 此内容不允许在框架中显示。

如何从我的网络应用程序调用我的 SSRS 移动报告。没有要传递的参数,所以它只是一个直接的调用。谢谢大家。

【问题讨论】:

  • 我在 google chrome 中尝试过,但没有任何效果。我也做了所示的更改。除了通过 iframe 之外,还有其他方法可以显示报告吗?

标签: sql reporting-services sql-server-2016


【解决方案1】:

可能的解决方案:

1- 在浏览器中打开兼容性视图。对于 IE10:https://www.k-state.edu/its/helpdesk/ie10-enable-compatibility-mode.html

2- 关闭 XSS 过滤器:请点击start,输入inetcpl.cpl,然后按Enter。然后选择security 选项卡并单击Internet。转到Custom Level,在底部单击Enable XSS Filter 下的Disable,然后单击OK

3- 转到Tools > Internet Options > Advanced Tab 并按Reset 重置 IE 浏览器并重新启动浏览器。

4- 在您的浏览器中:工具 > Internet 选项 -> 隐私 -> 单击高级按钮 在Advanced Privacy Settings 窗口中,勾选Override automatic cookie handling 并按OK。重新启动浏览器。

5- 尝试其他网络浏览器 :)

参考资料:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/2f95e434-7b30-4401-925e-0739b6227082/ie-8-frame-issue-this-content-cannot-be-displayed-in-a-frame?forum=netfxjscript

https://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/this-content-cannot-be-displayed-in-a-frame/a24b93c8-006c-4280-ba1f-01053665e22f

https://answers.microsoft.com/en-us/ie/forum/ie11-iewindows8_1/this-content-cannot-be-displayed-in-a-frame/c2bfbee1-c253-4836-8423-b58cc58cb9ed?auth=1

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-10-22
    • 1970-01-01
    • 1970-01-01
    • 2013-07-06
    • 1970-01-01
    • 1970-01-01
    • 2013-01-24
    相关资源
    最近更新 更多