File Corrupted Exception with word document created using word online

Hi,


I am attempting to load a word document that was created using word online and getting a FIleCorruptedException when attempting to load the document.

Document doc = new Document(“CreatedInWordOnline.docx”);

A sample document is attached.

Thanks for any insight.

Hi there,

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-12228. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Is there any more information about this bug, possibly a work around? We have a product in production that needs to support this scenario.

Hi there,

Thanks for your inquiry. Unfortunately, there is no workaround available for this issue using Aspose.Words. However, If you could re-save your document using MS Word, this will help you to fix this issue.

We will inform you via this forum thread once this issue is resolved. Thanks for your patience.

Unfortunately, this is a server-side product that is processing documents and not all users will have access to the desktop version of Word.


We do however have full control of the docx file (open xml) before loading it into Aspose.Words for further processing.

If I can get information about what is causing the problem, there is a chance we can fix the document before sending it to Aspose.Words. Any information will be helpful.

Thanks.

Hi there,

Thanks for your inquiry.

Unfortunately, there is no workaround available for this issue using
Aspose.Words. We will inform you via this forum thread once this issue is resolved. We apologize for your inconvenience.

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


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