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

Free Support Forum - aspose.com

Problems when converting files


We have the following code:

        public static void Convert(string inputFileName, string outputFileName)
            var d = new Document(inputFileName);
            d.Save(outputFileName, SaveFormat.Docx);

Conversion of some files failed.

File: https://www.studentischer-pool.de/wp-content/uploads/2014/12/pool_formular_anmeldung_v4.odt
Result: Function hangs forever.  

File: https://www.smashwords.com/books/download/298015/3/latest/0/0/ru-he-zuo-yi-ge-kuai-le-de-pa-jin-sen-bing-ren10da-mi-jue-parkinsons-treatment-chinese-edition-10-secrets-to-a-happier-life.rtf
Result: Most of text is lost.

Checked with the latest trial version of Aspose (16.1.0).

See solution with source codes in attachemt.

Hi Sergey,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the following issues at our side. For the sake of correction, we have logged these problems in our issue tracking system as follow:

WORDSNET-13241 : Contents are lost after saving Rtf to Docx
WORDSNET-13242 : Aspose.Words.Document hangs while loading Odt

You will be notified via this forum thread once these issues are resolved. We apologize for your inconvenience.

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

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