Hi,
I am facing an issue in which my code stop getting executed after below mentioned line without any exception:
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(mss, objLoadOptions);
What I am trying to do is creating a PDF from a Word Document file using Aspose.Word , which is working fine, and pdf are getting generated, but just after that I am trying to generate a pdf from an HTML string using Aspose.Pdf but the code does not get executed completely. It just stuck in the above-mentioned line and no exception is raised.
Sometimes, the code stops executing and gets stuck while checking the license:
Aspose.Pdf.Document.IsLicensed
The one thing that is fixed is code gets stuck and no pdf gets generated using Aspose.Pdf.
While the whole code is executing fine in the local system and pdf’s are getting generated without any issue. But the same code is not getting executed on the server. I am attaching a sample code which is I have used to generate pdf.Aspose_pdf_Samplecode.zip (1.3 KB)
We have put our solution in the Azure PAAS environment having windows server 2019. Also, we are using a licensed version for both Aspose.Word(v20.5) and Aspose.pdf(v20.5). Can you please look into this and suggest?
Thanks
Pankaj Toshniwal