Exception threw "The document appears to be corrupt and cannot load" when trying to load RTF file

Hi team,

I have an issue with Aspose Word when trying to load a RTF file, I received an error exception “The document appears to be corrupt and cannot load”.

Here is my sample code:

Document doc = new Document(Dir + "Sample.rtf");
doc.Save(out_file, SaveFormat.Pdf);

I’m using Aspose Word 18.1.0.0

Thanks,
Dung H.Nguyen
Sample.zip (11.3 KB)

@dunghnguyen,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16326. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hello,

Is there any news on this issue?

Thanks,

@dunghnguyen,

Thanks for your inquiry. The issue WORDSNET-16326 has been resolved and its fix will be available in next version of Aspose.Words v18.2. We will inform you via this forum thread once next version of Aspose.Words is published.

Thanks for your patience.

@dunghnguyen,
The issues you have found earlier (filed as WORDSNET-16326) have been fixed in this Aspose.Words for .NET 18.2 update and this Aspose.Words for Java 18.2 update.
Please also check the following articles: