Windows 7 结合 IE 10 和打印报告时出现问题。 当我们打印来自报告管理器“http:///reports”的报告时,浏览器崩溃。 但是不同IE版本的Windows 7都没有问题。 我尝试了 SQL Server 2005 的报表管理器。 Microsoft SQL Server 报告服务版本 9.00.4035.00
事件日志显示这些消息
错误的应用程序名称:IEXPLORE.EXE,
版本:10.0.9200.16736,时间戳:0x5258c4cc
故障模块名称:RSClientPrint.dll,版本:2005.90.4035.0,时间戳:0x492b18a3
异常代码:0xc0000005
故障偏移量:0x0001741e
错误进程 ID:0x530
错误的应用程序启动时间:0x01cee51eb59fe612
错误的应用程序路径:C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
故障模块路径:C:\Windows\Downloaded Program Files\RSClientPrint.dll
报告编号:f6fae729-5111-11e3-bbba-000c29735f93
我已经尝试过这些解决方案
1.更新SQL服务器
- Microsoft Report Viewer 2008 SP1 Redistributable Report Viewer Redistributable 2008 Service Pack 1 GDIPLUS.DLL 安全更新
2.手动部署控件
从 C:\Program Files\Microsoft SQL 中提取文件
服务器\MSSQL.3\Reporting Services\ReportServer\bin\rsclientprint.cab 并将这些文件复制到 Windows\Downloaded Program Files\然后通过打开命令行 regsvr32 注册 RSClientPrint.dll RSClientPrint.dll
但是那些解决方案没有用。
是否有解决此问题的替代方案
最佳答案
您可以通过在其 CSS 样式上设置 display: none !important;
或删除用户对它的权限,从 ReportingServices 中删除“打印”图标。
ActiveX打印控件没有任何实用值(value),反正弊大于利。
我唯一的其他建议是在客户端计算机上卸载并重新安装 ReportViewer。
某些 IE 更新可能已损坏它,或者 ReportingService ServicePack 可能已破坏向后兼容性。
或者,如果您将页面设置为 IE5-Quirks 模式,它可能会开始工作。
<meta http-equiv="X-UA-Compatible" content="IE=5">
在 ReportViewer.aspx 中,类似于此处:
C:\Program Files\Microsoft SQL Server\MSSQL<instance name>\Reporting Services\ReportServer\Pages\ReportViewer.aspx
如果他们绝对想打印它,他们可以将报告导出为 PDF/Excel 并从 Acrobat Reader 打印。
顺便说一句,删除打印图标(在本示例中针对德语、法语、意大利语和英语)如下所示(在 2008 R1 中):
input[type="image"][title="Drucken"], input[type="image"][title="Print"], input[type="image"][title="Imprimer"], input[type="image"][title="Stampa"]
{
display: none !important;
}
您可以在这里找到更多邪恶的 SSRS 黑客攻击:
关于sql - 从 Report Manager SQL Server 2005 打印时 Windows IE 10 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20072451/