Aspose is displaying an 'Evaluation Only' message

Hello,

We have a valid Aspose.Total for .NET license. Recently, we have changed some .PDF files to .Word files and received the following issue: Evaluation Only. Created with Aspose.Words. Copyright 2003-2022 Aspose Pty Ltd..

Some information:

  • Issue happens to .Word file.
    *Issue seems to happen randomly,
    *We recently upgraded our project from .NET 4.8 to .NET 7.

This issue is affecting our production customers, leading to escalated situations. We urgently need a quick response or solution as soon as possible.

Can you give me some suggestion?
Thanks

@suren Please check the following points:

  • Make sure your call to SetLicense gets executed. Step through in the debugger.
  • Make sure your code does not catch an exception thrown by Aspose.Words licensing code. For example, Aspose.Words will throw if it cannot find the license.
  • Make sure the input documents do not already have the evaluation message. Aspose.Words does not delete existing evaluation messages.
  • Make sure SetLicense is executed before you instantiate any Document object.

Hi @alexey.noskov Thanks for the response.
I’ve thoroughly checked everything and all seems to be in order. Attached herewith is the screenshot of the method we employed.

@suren Thank you for additional information. As I can see you are setting the license each time Aspose.Words is used. This is not required. It is enough to set license once per application domain. Please try setting the license in a static constructor of the class that uses Aspose.Words.

@alexey.noskov The changes have been implemented and deployed to the UAT server, but unfortunately, the problem persists. The issue appears to be intermittent

@suren Unfortunately, it is difficult to tell what might cause the problem on your side without ability to reproduce it on our side. Such behavior (random adding an evaluation watermark) can be observed when a cracked version of Aspose.Words is used. Please make sure you use an official version of Aspose.Words (installed from NuGet or downloaded from Aspose site).

@alexey.noskov Thanks for response. We possess a valid Aspose.Total for .NET license, but how can we verify its validity?

@suren You can try applying the license in a simple console application and check whether any exception are thrown or watermark is generated in output document.