Last post Feb 27, 2012 03:01 PM by deedee1969
Aug 09, 2010 03:23 PM|roryg|LINK
I have a web app written in VB using VS2008 VB and the built in Crystal Reporter.
When printing any report from my web application, both on the development system (Windows 7 x64) and live system (Server 2008 x64), and both with IIS7 I receive the following error message, after clicking the “Print” button in the printer selection popup.
"An error occurred on the server. Printing will be stopped. Would you like to view the error information?"
If I click “yes”, a blank page is displayed, and then the report prints.
If I click “No”, the report prints.
Yet if I deploy the same web application to IIS6 and run a report I do not get the error, and the report prints successfully.
I have read many cases on the web relating to this error, but I cannot find a definite resolution.
Any suggestions greatly appreciated.
Thanks in advance
Sep 22, 2010 11:19 PM|AlexRamos|LINK
I had the same problem, this is how I was able to fix it:
Go to IIS7 and change the application pool for your application from DefaultAppPool to Classic .Net AppPool. When an application pool is in Classic mode, IIS 7.0 handles requests as in IIS 6.0 worker process isolation mode, this fixed the problem.
Feb 27, 2012 03:01 PM|deedee1969|LINK
Thank You this fixed my problem.