reportviewer打印问题

cjhchina 2010-05-18 04:24:00
vs2005放入reportviewer控件,但按打印按钮什么反应都没,也不提示下载RSClientPrint控件。
...全文
153 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
cjhchina 2010-05-27
  • 打赏
  • 举报
回复
经过1个星期的研究,终于找到了解决问题的方法,把此方法转载一下,以供参考。
Problem:

Unable to load client print control.


Cause:

This issue is seen when KB 956391 has been installed on the client.


Microsoft Security Advisory: Cumulative security update for ActiveX

http://support.microsoft.com/?id=956391


This update killbits an older version of the RSClientPrint, due a vulnerability on it.

But for this update to work the report server must have been patched as well and perhaps also the ReportViewer control has to be updated.


You should leave KB956391 installed on the client machines and then check the below.


Resolution:

First check the report server version.

It must be 9.00.3073 or 9.00.3282.


If not, update the report server:


Security Update for SQL Server 2005 Service Pack 2 (KB954607)

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=5148b887-f323-4adb-9721-61e1c0cfd213



Now check the version of the ReportViewer control.

You do this by having the customer open a report for viewing on a client machine.

Then have them right click on the report and select “View Source”.


Locate the line that looks like this:


<script src="/TestRSClientPrintReportViewer/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=X.Y.ZZZZ


Now, if the control type is “Reserved.ReportViewerWebPart.axd” then this is an issue with SharePoint.

The “Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies” has been updated to work with the new rsclientprint.dll.

Download center link:

http://www.microsoft.com/downloads/details.aspx?FamilyID=1e53f882-0c16-4847-b331-132274ae8c84&displaylang=en



If the control type is “Reserved.ReportViewerWebControl.axd” we should check the following:

We have 2 different major versions here: 8.00.50727 and 9.00.XXXX.

If you see version 8.00.50727 this means you are browsing reports from within CRM or using the ReportViewer control in a custom 2005 web application.

If you see version 8.00.50727 and the version is earlier than 8.00.50727.1843 then you should install the below on the ReportServer or on the CRM server:


Microsoft Report Viewer Redistributable 2005 Service Pack 1

http://www.microsoft.com/downloads/details.aspx?familyid=82833F27-081D-4B72-83EF-2836360A904D&displaylang=en


If you see version 9.00.XXXX or 9.0.XXXX then you are browsing through Report Manager, Report Server or perhaps a customer web application built with VS 2008.

Then you should install the below on the report server:


Microsoft Report Viewer 2008 SP1 Redistributable

http://www.microsoft.com/downloads/details.aspx?FamilyID=bb196d5d-76c2-4a0e-9458-267d22b6aac6&DisplayLang=en


This will bring you up to version 9.0.30729.1 for the ReportViewer control.


After having updated the ReportViewer control you must issue an iisreset command so that the updated controls will take effect.
乘风破浪dgg 2010-05-19
  • 打赏
  • 举报
回复
服务器端安装个ReportViewer.exe-(2938KB)
too1998 2010-05-19
  • 打赏
  • 举报
回复
还是用这个吧Crystal Reports 9这个很好用~
cjhchina 2010-05-19
  • 打赏
  • 举报
回复
自己顶一下

62,243

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧