I'm evaluating Aspose.Words and am having some trouble getting it to create Document objects from MemoryStreams.
The document is uploaded, converted to a byte array, and saved to a SQL database in an image column. On retrieval, it's converted back into a byte array and I try to create a Document with this code:
MemoryStream ms = new MemoryStream(ByteArray);
Aspose.Words.Document doc = new Aspose.Words.Document(ms, string.Empty, Aspose.Words.LoadFormat.FormatDocument, string.Empty);
This throws an InvalidOperationException, "This is not a structured storage file."
I've attached the sample document I'm working with. Please advise the correct way to perform this task. Thanks.