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

Free Support Forum - aspose.com

Can't remove metadata from CompareDocs results: throws corrupt document error

We have a Scrub client that is trying to remove metadata (Aspose from a document that has been created by the comparison program compareDocs. The result generated is a DOCX in Compatibility Mode and it acts like a corrupt document. Attempting to remove metadata throws an error that the file is corrupt. If I simply resave the file, thus removing the Compatility Mode, it processes without the error. This occurs with every CompareDocs results they generate and they have a case open with that vendor as well.

Our developer ran Office Open XML validation tool on the file and got 28 errors.
Then he tested it with his stand-alone Aspose project (updated to the latest
version 16.11) and it reported that the file was corrupted.
He’s pretty sure the Aspose team can fix this and the sample document has been attached.

Kristen Theologus
Scrub Product Specialist

Hi Kristen,

Thanks for your inquiry. We will appreciate it if you please share your sample code along with input/output documents here, so we will test the scenario and guide you accordingly.

We are sorry for the inconvenience.

Best Regards,

There is no output document because the library chokes on opening the document and therefore our code doesn’t have a chance to run.

Hi Kristen,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 16.12.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-14636. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

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

This message was posted using Notification2Forum from Downloads module by aspose.notifier.