Free Support Forum - aspose.com

Aspose.PDF creates DOC that Aspose.Words cannot open

I have a 3 page pdf file.

Aspose.Pdf.Document doc = new Aspose.Pdf.Document("file.pdf");

doc.save("file.doc", Asose.Pdf.SaveFormat.Doc);

Aspose.Words.Document docw = new Aspose.Words.Document("file.doc");

This throws an exception "The document appears to be corrupted and cannot be loaded". The inner exception is "Stream Length must be non-negative and less than 2^31 - 1 - origin.Parameter name: value". Note that the doc file opens with no errors in Microsoft Word.

Thanks,

Hi

Thanks for your request. The issue is already resolved. The fix will be included into the next version of Aspose.Words that comes out in few days. We will let you know once it is available.

Best regards,

The issues you have found earlier (filed as WORDSNET-5326) have been fixed in this .NET update and in this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.