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

Free Support Forum - aspose.com

Aspose.Words.FileCorruptedException is thrown while importing RTF using .NET

Hi Team,

I have tmp file and which has been saved in rtf format. While loading file into Aspose.Word.Document, the following error has occurred

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

I am using Aspose.Words 20.2 version and tested with latest version(20.6) also same issue. Please let me know How I can fix this issue?

Please refer the screen shot, and attached the sample application.

1.png (24.8 KB)

Aspose_Issue.zip (251.0 KB)

@rameshsannidhi

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-20713 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-20713) have been fixed in this Aspose.Words for .NET 20.8 update and this Aspose.Words for Java 20.8 update.