Free Support Forum - aspose.com

Exception is thrown: Not a legal OleAut date


#1

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


#2

@valuepro

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


#3

Here is the document raising the exception. Thank you.

doc_with_issue.zip (18.0 KB)


#4

@valuepro,

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.