ReportViewer Client Print Control “Unable to load client print control”?

From stack overflow

Unable to load Client Print Control!
Everytime, clients wanted to print report by clicking the button print on their report viewer, they always got this error message.

I had spent nearly two weeks to fix this problem.
My environment is:
– Window Server 2003 Standard Edition R2
– Report Server Version 10.X.X.X
– Clients with windowXP SP3
My Solution is:
– Replacing the CAP file ( in C\Program Files\Microsoft SQL
Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin\
– Extract the and destribute it to clients.

Hear is the CAB file:





Converting PDF to .tif

In case you happen to need to convert a PDF to a .tif this seems to be a good way.

Here is a commandline that should work well for letter-sized pages of a multi-page PDF file: (Using ghostscript)

gswin32c.exe -o page_%03d.tif -sDEVICE=tiffg4 -r720x720 -g6120x7920 input.pdf

In case you want to do this under program control you could use GhostSharp,

FileStream doesn’t release resources (using bitmap)

From here

Image image = Image.FromFile(fileName);

Bitmap bmp = new Bitmap(image);


return Image.FromHbitmap(bmp.GetHbitmap());