0
Answer

Printing the image through web service is not woking when deployed on IIS 7.0

Ask a question
Rehan wali

Rehan wali

14y
2.1k
1
I am trying to print the image using web Service, and it gives me the result when I directly call the webService method ( i mean before deploying it directly through VS), but when I deployed my service on IIS and call the method for printing, service just goes into sleep. I have just created the PrintReport Method in a seprate class and added it's reference in the Service. When i traced the problem it just got stuck on the line mReportPrintDocument.Print(); where mReportPrintDocument is the object of PrintDocument. What can be the issue? may be I am missing the printer rights or some kind of configuration. Thanx