Error while printing crystal report, with that exception message "No printers are installed".

Posted by Ahmed on Stack Overflow See other posts from Stack Overflow or by Ahmed
Published on 2010-04-12T08:45:07Z Indexed on 2010/06/06 13:42 UTC
Read the original article Hit count: 354

I got an exception with message "No printers are installed." while printing a report for depolyed release of our website.
I use _rptDocument.PrintToPrinter(1, false, 0, 0); to print a report.

I got that exception, even I've more than one printer installed on my machine. Also, I don't get that exception while development, everything while development is going fine.

I used "Publish Web Site" and "Web Project Deployment" options to publish/deploy website, but I got the same result.

Any suggestions?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about deployment