ReportViewer 的打印按钮与 IE 10 不兼容? [英] ReportViewer's Print Button Incompatible with IE 10?

查看:23
本文介绍了ReportViewer 的打印按钮与 IE 10 不兼容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这两天我一直在寻找答案.我们有一个使用 ReportViewer 9 的应用程序.但是,单击 IE10 中的打印按钮会导致浏览器停止工作(使用调试"或关闭程序"按钮).其他一切似乎都运行良好.

I have been searching for the answer for this for 2 days. We have an application that uses ReportViewer 9. However, clicking on the print button in IE10 causes the browser to stop working (with the "Debug" or "Close Program" buttons). Everything else seems to work fine.

我们尝试使用 ReportViewer 10,但遇到了同样的问题.

We tried using ReportViewer 10 but we get the same issue.

我们正在使用 Visual Studio 2010、Windows 7、IE 10,并以 .NET 4.0 为目标.崩溃发生在 IDE 中并通过 IIS.

We are using Visual Studio 2010, Windows 7, IE 10, and targeting .NET 4.0. The crashes happen in the IDE and through IIS.

  1. 我已经尝试将我的网站添加到受信任的站点,降低了安全设置,并且我想我已经尝试了自定义"中复选框的所有可能组合.保险箱.

  1. I have tried adding my website to Trusted Sites, lowered the security setting, and I think I've tried every possible combination of checkboxes in the "custom" security box.

我已经尝试启用保护模式和增强保护模式,以及自定义安全级别中的各种复选框组合,听起来很有希望.

I've tried enabling Protected Mode and Enhanced Protected Mode, with a variety of check box combinations from Custom security level that sounded promising.

我曾尝试强制 IE10 以 64 位模式运行(包括选项卡),但我们的应用仍然强制选项卡以 32 位运行.

I've tried forcing IE10 to run in 64-bit mode (including the tabs), but our app forces the tab to run in 32-bit anyway.

有人建议这可能是 Kill Bit 问题,所以我尝试编辑注册表以忽略 Kill Bit,只是为了看看它是否可以工作(它没有).

Someone suggested that it might be a Kill Bit issue, so I tried editing the registry to ignore kill bits just to see if it would work (it didn't).

另外,我很确定我已经尝试了我已经提到的所有变量的几乎所有排列.(此时我有点筋疲力尽,所以我可能错过了 1 :S)

Also, I'm pretty sure I've tried just about every permutation of all the variables I've already mentioned. (I'm a little burnt out at this point, so I might have missed 1 :S)

这个线程 看起来很有希望,但我无法让它工作.它正在谈论 Win8,但我认为我可以将它们应用于我的情况.

This thread seemed promising but I could not get it to work. It is talking about Win8 but I thought I might be able to apply them to my situation.

我找到了一个建议,将 BuildProvider 程序集更改为 type=Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WEBFORMS ..." (而不是 Common),但到目前为止这也不起作用.

I found a suggestion changing the BuildProvider assembly to type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WEBFORMS ..." (instead of Common), but so far that is not working either.

尝试安装 Report Viewer 11,并安装我们应用程序的一个非常旧的版本.两者都给了我相同的结果.

Tried installing Report Viewer 11, and installing a very old version of our application. Both give me the same result.

推荐答案

啊哈!好的,事实证明我的问题不在于 ReportViewer,而在于 RSClientPrint.谷歌搜索后,我很快发现答案是:升级到 Sql Server 2008 R2 SERVICE PACK 2.

Aha! OK, so it turns out that my issue is NOT with ReportViewer, but rather with RSClientPrint. Once I did a google search for that I quickly found that the answer is: Upgrade to Sql Server 2008 R2 SERVICE PACK 2.

您使用 R2/SP2 获得的 RsClientPrint 版本是 10.50.4000,而我的版本是 10.50.1600.

The version of RsClientPrint you get with R2/SP2 is 10.50.4000, while the version I had was 10.50.1600.

总之,RSClientPrint 10.50.1600 似乎与 IE10 不兼容,但版本 10.50.4000 兼容.

In conclusion, it appears that RSClientPrint 10.50.1600 is NOT COMPATIBLE with IE10, but version 10.50.4000 IS.

我真的希望这对其他人有帮助!

I REALLY hope this helps someone else!!

这篇关于ReportViewer 的打印按钮与 IE 10 不兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆