Hi
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.
Thanks.
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 ☼???.(FontInfoCollection , ??? , BinaryReader , BinaryReader, IWarningCallback )
at ☼???.()
at Aspose.Words.Document.(Stream , LoadOptions )
— End of inner exception stack trace —
at Aspose.Words.Document.(Stream , LoadOptions )
at Aspose.Words.Document.(Stream , LoadOptions )
at Aspose.Words.Document…ctor(String fileName, LoadOptions loadOptions)