.Net PDF generation problem : InvalidOperationException


Hello,

I'm using Aspose Words .Net library for many months without any problem but I'm facing an issue concerning docx file conversion to PDF file.

I simply get all bytes from the docx file, open a memorystream and give the stream to Aspose library for a PDF conversion.

The conversion step is throwing System.InvalidOperationException.

My Aspose.Words.dll version is 16.1.0.0. .Net framework version is 4.6.1.

Please find in attachment a sample project reproducing the problem.

Best regards

Hi Sébastien,


Thanks for your inquiry. After an initial test with Aspose.Words 16.11.0, we were unable to reproduce this issue on our end. We would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link:
http://downloads.aspose.com/words/net

Best regards,

Thank you, it works great with the latest version.