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

Free Support Forum - aspose.com

Document Parsing fails on this test document

The attached document fails with the latest Aspose.Words .NET dll with the following exception:

The document appears to be corrupted and cannot be loaded.

Inner Exception: Unknown color type encountered during WordML import - #0.

The word document opens fine in word, and will process correctly if the line is removed from the header. This is an example of documents received from clients which I just need to convert to text so I can’t resave it with word; is there any way to force Aspose.Words to ignore graphic elements while importing so it doesn’t bail like this? (or is there some kind of workaround for issues like this?)

Hi Tristan,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-11964. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved. As a workaround, please re-save Docx using MS Word. Hope this helps you.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-11964) have been fixed in this .NET update and this Java update.

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