Replacing license files

We received new license files for Aspose.Words and Aspose.PDF. All I did was change the set license statement to reflect the new files (did not update the dll) and now I get the message
‘At most 4 text fragments can be added in evaluation mode.’
These are the setlicense statements:
LicPDF.SetLicense("\tlhfms\Aspose\Aspose.Pdf.Lic") this one works
LicPDF.SetLicense("\tlhfms\Aspose\Aspose.Pdf.NET.Lic") this is the one that errors.

@jeff.russell

Can you please share why you are still using the older version of the API? Please try to use the latest version of the API as always recommended with the renewed license.

Concerning to the issue that you are facing, there are many changes which have been done in the API and the license version has also been changed. For example, the latest version of the license file uses SHA256 and newer versions of the API are able to recognize it.

Please also note that you can use older license with older version of the API for as long as you want. You only need to upgrade or renew your license in case you want to use the latest or higher version of the API which is not supported by your existing license. Please keep using the old license in case you are not upgrading the DLL Versions. In case you need to upgrade you API version, you can use your new license.