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

Free Support Forum - aspose.com

.Net PDF generation problem : InvalidOperationException


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 .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:

Best regards,

Thank you, it works great with the latest version.