License key exception

Question:

I have a problem adding the license to our code.

Message: The evaluation version of the product has expired.

OR

Message: Bad License Key. PDFNet SDK will work in the demo mode.

Answer:

=====================================================================
Evaluation / Presales

If you are evaluating our product please make sure to get a demo/trial key from here first.

https://dev.apryse.com/

You would then use that key when you call PDFNet.Initialize()

=====================================================================

Verify the following conditions are true:

1) Please make sure you’re using the entire key string (but with no leading/trailing whitespace).

For example if your key is MyCompany:OEM:1234 then you would call

PDFNet.Initialize("MyCompany:OEM:1234");

2) Make sure you are running on the licensed OS/platform. See below for current platforms (*).

3) Also, this needs to be in the first instance of PDFNet.Initialize (there should be only one anyway, but you can get by with multiple in some cases).

4) You call PDFNet.Initialize before any other calls to PDFNet functions.

Finally, if the above doesn’t help, then the key might not be compatible with the version of PDFNet you are trying, so download the latest version of PDFNet and try that one.
http://www.pdftron.com/pdfnet/downloads.html

* To see which OS/platform your license is for, in your license key you will see a string such as “::IAR:AMS(20160509):” The letters “I”, “A” and “R” are the platforms in this example.

Below are some of the most common.

W - Windows
L - Linux
M - Mac
I - iOS
A - Android
B - Web (PDFNetJS)
RP - Windows Metro/Windows Phone 8 (now UWP)

=========================================================================
Further reading

WebViewer guide : Apryse Documentation | Documentation
WebViewer Server guide : Apryse Documentation | Documentation
PDFNet SDK guide : Apryse Documentation | Documentation

Regarding the platform letters, what is “R” and “+” means?

@mcsmiley I updated the original post, for “R”.

As for “+” you can disregard that, it doesn’t represent anything meaningful to clients.

1 Like