Hello everyone.
I’m trying to load a docx by stream, but I always receive the exception the file is corrupted:
"The document appears to be corrupted and cannot be loaded"
But I can save a copy of this document and open by Microsoft word without errors.
Any idea about this issue?
I have attached the document that I’m trying to load and my code is below:
private Aspose.Words.Document GetDocument(MemoryStream stream)
{
var doc = new Aspose.Words.Document(stream); // <-- I got the exception here
return doc;
}