Saving to PDF file throws exception

Hi


I’m using Aspose.Words trial version to modify a Word document (docx) and saving it as a pdf file. This causes an exception “System.InvalidOperationException: Stack empty.”. Saving as a docx file works fine and I can open the document in Microsoft Word.
Were could I look for solutions?

Regards,
Oskar

Might note that the PDF file is created but can’t be opened as it is corrupted.

If I open the docx file then there is not problem in saving it as an PDF file.
Hi Oskar,

Thanks for your inquiry. Could you please attach your input Word document you're getting this problem with here for testing? We will investigate the issue on our end and provide you more information.

Best regards,