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

Free Support Forum - aspose.com

Doc is corrupted

I tried to load the attached document and get an error: The document appears to be corrupted and cannot be loaded.
The document is opened successfully by office.

Please advice.


This is the error log:
Aspose.Words.FileCorruptedException: The document appears to be corrupted and cannot be loaded. —> System.ArgumentOutOfRangeException:
Non-negative number required.
Parameter name: value
at System.IO.MemoryStream.set_Position(Int64 value)
at ☼???.:slight_smile:(FontInfoCollection :slight_smile:, :spades:??? :heart:, BinaryReader :clubs:, BinaryReader, IWarningCallback :spades:)
at ☼???.:slight_smile:()
at Aspose.Words.Document.:heart:(Stream :slight_smile:, LoadOptions :heart:)
— End of inner exception stack trace —
at Aspose.Words.Document.:heart:(Stream :slight_smile:, LoadOptions :heart:)
at Aspose.Words.Document.:slight_smile:(Stream :slight_smile:, LoadOptions :heart:)
at Aspose.Words.Document…ctor(String fileName, LoadOptions loadOptions)

Hi Oren,

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-13359. 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-13359) have been fixed in this .NET update and this Java update.

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