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

Free Support Forum - aspose.com

Getting the evaluation watermark after installing a test license

Hello,

i have the following lines in my maven pom.xml:

<dependency>
   <groupId>com.aspose</groupId>
   <artifactId>aspose-words</artifactId>
   <version>18.12</version>
    <classifier>jdk16</classifier>
</dependency>

I just requested a 30 days test license.
After loading it in my code as explained in https://docs.aspose.com/words/net/licensing/, I still get the evaluation watermark on the generated PDF documents.
Is it normal or is there something I still do not understand ?

@lekanenimpa

Thanks for your inquiry. Please check the expiration date of your license file. To check an expiration date of your license, open the license file using notepad. You will see the following tags:

<SubscriptionExpiry>20190531</SubscriptionExpiry>

It means that you can free upgrade to version of Aspose product published before 05/31/2019.

Please make sure that you have applied the license correctly.

Hi Tahir,
here is my code to load the license file:

@Override
    public AsposeWordDocument loadLicense(final byte[] license) {
        try {
            _lic.setLicense(new ByteArrayInputStream(license));
        } catch (Exception e) {
            e.printStackTrace();
        }
        if (_lic.isLicensed()) {
            return this;
        }

        throw new IllegalArgumentException("Given license is not valid.");
    }

As you can see, after loading the license, I check if everything is ok.
If that is not the case, then I throw an exception. When debugging the code, I can clearly see that
the license is loaded and applied correctly. How is an upgrade going to help me here ? I do not get your point.
I think Version 18.12 is the last version of this year, am I right ?

@lekanenimpa

Thanks for your inquiry. Please post your license file via private message. In order to send a private message with attachments, please click on my name and find “Message” button. (see the screenshot). We will investigate the issue on our end and provide you more information. Please do not share your license file publicly.