We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Loading Attached docx Document Not Working

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")


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I cannot reproduce the problem on my side, I can successfully open/save your document using the latest version of Aspose.Words. Please try using the latest version. You can download it from here:


Best regards.