Exception is thrown: Not a legal OleAut date

When I open a Word document (test1.docx), and try to save it as test1.doc or test1.pdf, it throws an exception: Not a legal OleAut date.
Here is my code.

Aspose.Words.Document doc = new Aspose.Words.Document(“test1.docx”);

doc.Save(“test1.doc”); // exception here
doc.Save(“test1.pdf”); // and here, too

When I test this document with Aspose.Words .NET version 18.11, no exception is thrown.
But from versions 18.12 to 19.03, I get this exception.

How can I upload this document here?

Thank you for your help in advance.


Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.

Here is the document raising the exception. Thank you.

doc_with_issue.zip (18.0 KB)


We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-18307. 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-18307) have been fixed in this Aspose.Words for .NET 19.5 update and this Aspose.Words for Java 19.5 update.