Expected Header Drawing Error


Received the following error merging the atteched file

Expected header drawing, but got something else. Please report this file to word@aspose.com.

My program was performing the following line of code

doc.Save(dstStream, SaveFormat.FormatDocument);

and dstStream is declared as

MemoryStream dstStream = new MemoryStream();



Thank you for considering Aspose.

First, please try to download and install the latest version of Aspose.Word, currently you seem to be using some old one. If that doesn't help, please reattach the file as I can't find anything attached.