Search code examples
asp.net.net-4.0reporting-servicesrdlcreport-viewer2010

Print not working in ReportViewer


Hi i am using Report service client definition (rdlc) for reporting in my asp.net web application. I used a reportviwer for displaying report. But while clicking on the print button of report viwer the following error occures enter image description here

enter image description here Here is my aspx portion

<div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Visible ="false" Width="100%" Height="100%" ShowPrintButton="true">
        </rsweb:ReportViewer>
    </div>

If anybody knows please help me


Solution

  • The print button of SSRS report viewer is an ActiveX control.

    This works only on IE. If you are using any other browser you will not be able to load this control. This ActiveX control is known to cause problems with IE 9 too.

    So unless you stuck to a really old environment of IE7,IE8. Don't bother to use the print control that comes with reportviewer.

    Provide a button to export the same report as PDF, and let your users print from there.