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

Free Support Forum - aspose.com

Aspose.Words Hangs When Processing RTF File


We have an RTF document that will cause Aspose.Words to hang when processing the file. We are using Aspose.Words to remove unwanted metadata from a document such as document properties. We are using version 11.0.0. Sample code below is provided by our developer to recreate the issue.

using System;

using Aspose.Words;


class TestRunner {



  • Initialises the Aspose Licence.


    private static void initLicence() {

    Aspose.Words.License license = new Aspose.Words.License();




    static int Main(string[] args) {


    Console.Out.WriteLine(“Opening document”);

    Document doc = new Document(args[0]);

    Console.Out.WriteLine(“Opened document”);


    Console.Out.WriteLine(“Saved document”);

    return 0;





    In use the code prints out “Opening document” and then hangs.

    We are araising the issue to be considered for a future release.



Hi Kim,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 11.0.0, I managed to reproduce this issue on my side. For the sake of correction, I have logged this issue in our bug tracking system. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved.

Sorry for inconvenience.

Best Regards,

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

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