Problem printing a report using Reportviewer

Asked

Viewed 2,151 times

1

Problem

I have several reports Report Services Client that when I try to print happens 2 possible errors:

  1. If not installed the rsclientprint.dll the following message appears when I try to print the report: inserir a descrição da imagem aqui

  2. If the rsclientprint.dll and its modification date is 2009 the browser IE stops responding when I try to print the report. inserir a descrição da imagem aqui inserir a descrição da imagem aqui

Remarks

  1. When is installed the rsclientprint.dll 2010, works normally. inserir a descrição da imagem aqui

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

  3. On the server works normally printing, the problem only occurs when I try to print remotely from any other machine.

Is there any other way I can make the printing work without rsclientprint.dll? Or is it possible to control for it to always install the 2010?

  • From the information you showed, the error is in the same dll linkage (hence the runtime error). I was just wondering: what’s wrong with using the 2010?

  • The component is automatically installed by the browser, however time it installs 2009 files and time it installs 2010 files.. simply random. And when it gets installed the 2009 problem. It is impossible to send the 2010 files and try to teach all my lay users (+ 50) how to exchange the files and the problem will continue with new users.

  • I found 2 links that can help generate an installation package: http:/juliobattisti.com.br/tutorials/herbertgois/programandocsharp025.asp and http://techne.cesar.org.br/gerando-pacote-de-instalacao-no-visual-studio-2008/

1 answer

2

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

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

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

  • First of all I use Visual Studio Professional, can you tell me how to create this Setup? And even if my users access through the web will work on their machine?

  • Once installed Redistributable will work yes. The link that is in the answer may be enough if you install it on each client’s computer.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.