Problem when printing a report using ReportViewer

1

Problem

I have several Report Services Client reports that when I try to print two possible errors happen:

  • If rsclientprint.dll is not installed, the following message appears when I try to print the report:

  • Ifrsclientprint.dllisinstalledanditsdateofmodificationis2009theIEbrowserstopsrespondingwhenItrytoprintthereport.

  • Observations

  • Whenyouinstallrsclientprint.dll2010,itworksnormally.

  • I do not want solutions like: Permitir o Download de Active X habilitado or Adicionar a página aos sites confiáveis do IE .

  • On the server, printing usually occurs; the problem only occurs when I try to print remotely from any other machine.

  • Is there any other way for me to make print run without rsclientprint.dll? Or is it possible to control for it to always install the 2010 ?

        
    asked by anonymous 04.02.2014 / 20:02

    1 answer

    2

    If you distribute your application on a computer that does not have Visual Studio installed, you can not necessarily assume that the ReportViewer control is available; even after you have installed the .NET Framework. You can work around this by doing the Report Viewer Redistributable download

    Another alternative is to build a Setup program from Visual Studio (Professional) to distribute your application. Once it is detected that your application uses the ReportViewer, it will be included in the distribution of your application.

    VB Express and C # Express do not include the ReportViewer control. This means that if you are using VB Express or C # Express to develop an application you first need to download and then install the Report Viewer Redistributable on your development machine in order to compile project. You also need to install the Report Viewer Redistributable on the entire target machine on which you are installing your application.

        
    07.02.2014 / 15:29