PDF print issue from IIS

Hello Aspose,
We are trying to print PDF documents using Aspose Print.
We are giving the PDF path location to print Aspose method from IIS server, there will be usually about 15-20 documents with 5-6 pages each PDF.
We are using PrintDocumentWithSettings method for printing PDF, it prints 5-6 documents from server (IIS) and then does not print the remaining documents.
Can you let us know if there is anything that needs to be done when printing from IIS, as in local it prints all the documents without any issues.

Thanks,
Sharath

@Sharath_kavayah,

Kindly create a small application project, which reproduces this problem in your environment, and then send us a ZIP of this project. We will deploy this application to the IIS Server and replicate the said problem in our environment. Your response is awaited.

Hello Imran,
Please find the attached project with the print PDF functionality which we are using.
when this code is deployed to IIS server in production, as said earlier when 20-30 documents are there only 5-6 documents are getting printed and the rest does not get printed, even though the loop renders (please find attached image Aspose_PDF) where you can see the method is getting called and there is no error but the printing never happens. Let me know if you need any other information.

Note :

  1. We have Aspose licence which we use in our project, for demo project have used evaluation Aspose version.
  2. Have attached few items in the project which i am looping, feel free to add them or loop through them if required.

Thanks,
Sharath

You can see here that all the calls are made and there are no errors logged in Network, but the printing does not happen, we call the aspose print method and we are not sure what is happening there.
Aspose_PDF.png (239.8 KB)

@Sharath_kavayah,

There is no demo project attached to your posts. Kindly review and send a ZIP of the project. If the size of ZIP is more than 3MB, then please upload this file to any free file sharer server (e.g. Google drive) and then send us its download URL in the post.

Hello Imran,
Please find the link below:

@Sharath_kavayah,

We are investigating your scenario in our environment and will get back to you soon.

Hello Imran,
Every functionality of Aspose is being done properly like creating a word document, merging all the word documents into a single word document and then converting the single
word document to PDF.
Once the above mentioned functionalities are done we are giving the PDF to aspose Print, which is not printing and it is throwing an error as attached in the image.
Error Message.png (14.7 KB)

@Sharath_kavayah,

We are unable to replicate the print error in our environment. With the view of the snapshot, it appears as there may a problem in the local network. Please track the complete call stack of the error, and share with us.