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

Free Support Forum - aspose.com

Avoid Unexpected ST_TrueFalse Exception during Converting Word DOCX Document to PDF (C# .NET)

When you want to create the document in pdf format with aspose, “Unexpected ST_TrueFalse value.” error is encountered. Test project is attached
AsposeTestProject -Word_(Unexpected ST_TrueFalse value.).zip (696.9 KB)


Upon converting this Word DOCX document to PDF format, we have also managed to observe the following exception on our end:

  Message=The document appears to be corrupted and cannot be loaded.
Inner Exception 1:
InvalidOperationException: Unexpected ST_TrueFalse value.

We have logged this problem in our issue tracking system with ID WORDSNET-22286. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-22286) have been fixed in this Aspose.Words for .NET 21.6 update and this Aspose.Words for Java 21.6 update.