Skip to main content

PDF Viewer SDK licensing

Without an active license the PDF Viewer SDK applies a watermark to the viewed PDFs. Try the PDF Viewer SDK for free. See the product demo in action. Install PDF Viewer SDK locally from the npmjs website. Get in touch with the Pdftools sales team through the Contact page to get a full license and remove the watermark.

Review how to enter the license key in the Basic usage documentation.

Troubleshooting

The following sections can help you to fix specific issues related to the PDF Viewer SDK licensing.

License key cannot be set

If the license key cannot be set, the call to the PdfWebViewer constructor results in an error.

Possible causes

  • There is a typographic error in the license key.
  • When the key was copied, the operation altered the characters in the key, such as commas.
  • The key has a wrong format.
  • The key belongs to a different product.
  • The key is an evaluation license key and it has expired.

Solution

Make sure the key is issued for the PDF Viewer and has the following format:

<4H,V4,VIEWWEB,XXXXXXXXXXXXXXXXXXXX>

If an evaluation license key has expired and you want to extend the period of evaluation, use the Contact page to request a new evaluation license key.

License check fails at runtime

In this case, the license can be set and the call to the constructor PdfWebViewer is successful. However, when opening a PDF file, you are prompted with message: "The current license does not permit running the product on this domain."

Possible causes

  • The license key is not meant to be used with the current domain.

Solution

Ensure that the domain on which the PDF Viewer is running matches the domain to which the license key is registered.