We are using the following code to print a PDF file. It works most of the time, however occasionally this block of code hangs and the printing function and at that point no one can print any longer from the website and we must do an IISRESET to make printing function again.
Please let me know what is wrong with the Aspose.PDF printing function. The problem according to our logging is that it stops at this line:
Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for the details.
I tested your issue with the latest version of Aspose.Pdf for
.NET and I am unable to reproduce your mentioned issue. I created a Web
Application (.NET 4.0 under IIS 7.5) and performed the print process for more
than 10 times and it executed successfully. I would request you to create a
sample application to replicate the issue and share with us.
Also, as per your code, you are setting the license of
Aspose.Pdf for .NET on every print command which is not recommended. You only
need to set the license once (may be you can place it in Application_Start
event).
Regarding your request of fixing the issue in v7.2, I would
like to inform you about our company policy that if we identify the issue, we
fix and include the fix in the latest version of the product. Bug fixing is not
don in any older version.