Free Support Forum - aspose.com

Docx saved as doc gets corrupted

Dear Aspose team,

We have a docx file that we try to save as doc, but the file gets corrupted.
Word says that it found some errors in the file and editing the file could harm the computer.
We use the following, simple code:

var doc = new Document(path);
doc.Save(outputPath);

I am attaching the file exported.zip (30.8 KB).
Please let us know if we can provide any more details to help you fix the issue.

Best regards,

Daniel Lengyel
32401

@gergelyv,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16922. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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