We have a docx document that is created by a Telerik RichTextBox editor in Silverlight, this document opens fine in MS Word 2007 and 2010. However, when I try to load it into an ASPose.Words Doc and then subquently save it, the resulting docx file is empty. I've tried almost every possible combination of Load and Save parameters that I can think of but still nothing works.
Here's the code I'm using, note the docBytes array is built off of the attached file and I also tried it directly by loading the file via the path and get the same results.
Dim doc As New Aspose.Words.Document(New MemoryStream(docBytes))
doc.Save(Server.MapPath("temp") + "\" + Now.Ticks.ToString() + ".docx")