Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear,

I have designed an web application in visual studio 2008 and report is generated in crystal report. It works fine in development server. But if i deploy on IIS7 then i got following error

No printers are installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Drawing.Printing.InvalidPrinterException: No printers are installed.

Please help in resolving these error
Posted

 
Share this answer
 
The error message clearly says the issue.

MSDN points the finger on below things
0) Make sure that the printer exists.
1) Make sure a default printer has been installed.

Troubleshooting Exceptions: System.Drawing.Printing.InvalidPrinterException[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900