Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Printing using ReportViewer - SSRS

We are using ReportViewer 2015 in our ASP.NET Web application and using it with IE 11. When users (without admin permissions), try to print reports, they get the following error: enter image description here

If i click, cancel on this error: then the following pop ups appear:

enter image description here

and then regardless we click yes or no, we get the following message:

enter image description here

Previously we were using Report Viewer 9 and this was all working fine but that version of Report Viewer does not render well in IE 11.

Also we are deploying RSClientPrint-x86.inf to all user's machine.

We have also temporary assigned users admin permissions to their machine and when the set up happens on their machine, we have copied the RSClientPrint assemblies and then distributed them but it does not work.

Also even once the assemblies are deployed, as soon as the admin permissions are taken away from the user, their printing stops working again.

Can anyone help?

like image 724
Baahubali Avatar asked Nov 21 '17 07:11

Baahubali


People also ask

How do I print a SSRS report?

Print Reports - Reporting Services (SSRS) After you save a report to a report server, you can view and print the report from the web portal or any application that you use to view an exported report. Before saving a report, you can print it when you preview it. All print processing is performed on demand and on the client computer.

What is SQL Server Reporting Services (SSRs)?

SQL Server Reporting Services (SSRS) is used extensively for reporting operations, and many reports are printed for operational and statutory purposes. When it is integrated with applications, reports are shown using the report viewer control or using web service calls.

How do I export reports from the report viewer?

The simplest exporting that the Report Viewer control supports is to non-image formats like PDF. Assuming that TheReport is the name of the ReportViewer instance and it has a report already displayed within it, then the following routine will export to the given fileName the requested type:

How do I add a report viewer to an ASP NET Project?

Adding the Report Viewer control to a new web project Create a new ASP.NET Empty Web Site or open an existing ASP.NET project. Install the Report Viewer control NuGet package via the NuGet package manager console. Add a new .aspx page to the project and register the Report Viewer control assembly for use within the page.


1 Answers

First, to eliminate the obvious, have the user permissions been set correctly? Quick search yields a link

Second, reporting services use Windows authentication by default. Looks like you want to use forms authentication like so.

EDIT : So it looks like it is an Activex installation rights issue. For Activex installation without admin rights, on an admin command prompt type ocsetup.exe AxInstallService and enable it once done. You will have to configure it using GPMC. More details on that are here.

like image 130
AkshayDandekar Avatar answered Dec 13 '22 06:12

AkshayDandekar