We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Time Out while generating pdf using aspose words

Hello Support,


We are using Aspose Words 15.9.0.0 to generate PDF document from Docx files.

Before generating the document we set values for Merge Filelds using
testDoc.MailMerge.Execute(fieldNames, fieldValues);

Then we call : testDoc.Save(outputFile, SaveFormat.Pdf);

After we call the Save method we generate an image for the first page of word doc.
testDoc.Save(docTempImagePath, SaveFormat.Jpeg);

The problem occurs when number of users start using the page which has this functionality.
First we saw the time out error in event log. We have increased timeout of page but no improvement.

Also after increasing the timeout of page the page keeps loading and nothing happens. For some of the users we notice timeout in event log. Other users we believe do not wait for the page to load and for them we do not see the timeout in event log.

After we restarted the Application Pool the functionality works as it is.

Please suggest asap what to do next because it is happening in our production site.

FYI: The size of the docx files is not very big. I checked two of them today and it is around
260KB.



Hi Somnath,


Thanks for your inquiry. Please upgrade to the latest version of Aspose.Words for .NET 16.1.0 and see how it goes on your end. Hope, this helps.

In case the problem still remains, please attach the following resources here for testing:

  • Your input Word document
  • Please create a standalone console/web application (source code without compilation errors) that helps us reproduce your problem on our end and attach it here for testing.
  • IIS and Windows versions

As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click ‘Reply’ button that will bring you to the ‘reply page’ and there at the bottom you can include any attachments with that post by clicking the ‘Add/Update’ button.

Best regards,