Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team
This document explains how to upload the license using a powershell/CMD terminal.
import sys
import json
file_path = sys.argv[1]
with open(file_path, 'r') as file:
contents = file.read().replace('\r', '')
lines = contents.split('\n')
data = {}
for line in lines:
if '=' in line:
key, value = line.split('=')
data[key] = value
result = {"cmd.license": data}
json_data = json.dumps(result,indent=4)
with open("./license.json", "w", newline='\n') as output_file:
output_file.write(json_data)
Python.exe .\txt2json.py <#path-where-the-license-is-located #e.g. C:\Users\user\Destop\licence.txt#>
cd <#path-where-replicate-is-installed #e.g. C:\Program Files\Attunity\Replicate\bin #>
repctl.exe connect
repctl.exe [-d <replicate_data_dir>] importlicense license_file=<location>license.json
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
repctl.sh importlicense format: This explains repctl.sh in a Linux deployment. There is a slight difference because the script is written in Perl instead of Python.
An error is displayed when licensing the QlikView server in the QlikView Management Console:
Unable to acquire valid license information
This error may also be seen when attempting to license a QlikView Publisher.
Verify if your license has expired. The date in your LEF must extend past the version you are attempting to license.
Example: PRODUCTLEVEL;3;;2018-04-30
In this example, no release (including service releases) after 2018 can be licensed with the provided license.
Similarly, verify if your license has a time limit.
Example: TIMELIMIT;;;2018-04-30
Contact your account owner or the partner you have purchased the license from.
000002784 (article)
Applying a Signed License Key (SLK) fails with the following error message:
The datetime property is too low for the following property: updated
Qlik Sense Enterprise on Windows November 2022 IR to Patch 1
Upgrade to November 2022 Patch 2.
See Release Notes for ID QB-17039.
Product Defect ID: QB-17039
Internal Article: 000007375
This error is thrown by the QRS when the validator for the License property update fails on the condition:
if (date < DateTimeUtilities.SQLMinValue)
The DateTimeUtilities.SQLMinValue derives from new DateTime(SqlDateTime.MinValue.Value.Ticks, DateTimeKind.Utc);
When applying the license a DateTime lower than the min value is attempted to be set in the updated property.
Qlik Sense Desktop can authenticate against Qlik Sense Enterprise Client-Managed, Qlik Sense Enterprise SaaS and Qlik Sense Business. This is how customers can continue to use Qlik Sense Desktop, and it provides a very economical option when paired with Qlik Sense Business.
The following requirements need to be met:
Configuring Qlik Sense Desktop authentication link
How to authenticate Qlik Sense Desktop against SaaS editions
How to authenticate Qlik Sense Desktop against a Qlik Sense Enterprise on Windows server
You can purcahse Qlik Replicate, Qlik Compose, and Qlik Enterprise Manager by contacting a local sales office.
Once you have completed the order and a deal has been signed, a license is delivered by email. You will receive a license.txt file. This file contains details such as the product expiration date (if any).
This usually happens within a day of Qlik receiving the order.
If you lose access to the email holding the license, you can instead log on to the Qlik Support Portal an access the original case which includes your license details.
You can also find your license directly in the product after you have licensed it.
Your license will allow you to:
To get a better understanding of what your individual license allows, review your license.txt file.
Qlik Replicate:
license_type= (evaluation or permanent)
licensed_to= (your company name)
licensed_by= (the Qlik region responsible for providing the license)
serial_no= (serial internal reference)
expiration_date= (date of expiration)
hosts= (host names in which Replicate will run. If blank, means that any host can run)
source_types= (the source endpoints purchased by customer)
target_types= (the target endpoints purchased by customer)
features= (additional features)
version= (version of Replicate)
issue_date= (issue date)
checksum= (check sum so the engine can check validity)
Qlik Compose will in addition include:
host_role: (DEV, TEST, PROD or “*” for all)
source_db_types: (applicable for Compose for Data Warehouses only)
dwh_type: (Databases that’ll be used as DWH)
dl_type: (Databases that’ll be used as DL)
number_of_dms: (total number of Data Marts)
number_of_developers: (available if host_role is DEV)
managed_dwh_size: (size of the DWH)
Qlik Enterprise Manager is similar to Qlik Replicate
There is one license for Qlik Enterprise Manager Monitoring and another license for Qlik Enterprise Analytics.
Please note that in order to have Qlik Replicate servers added to your Qlik Enterprise Manager monitoring, they need also to have a valid license, otherwise you will get an “Unauthorized” error when adding a Qlik Replicate server.
Qlik Replicate allows you to modify your license directly through the Qlik Replicate UI. See Requesting a license.
You can also apply licenses to Qlik Replicate servers programmatically by using the QEM API REST calls as seen in PutServerLicense
Qlik Products have generally utilized license keys to enforce license entitlements and use rights. During activation, the licensed entitlement is downloaded to the product in the format of a Licensing Enabler File (LEF). Activation requires internet connectivity to the deployment and is triggered by entering a 16-digit serial number and a corresponding control number. Offline activation is also supported using a manual LEF by copying and pasting a text file into the activation user dialog. Communication is through an http protocol.
Introduced with the February 2019 release[GM1] of Qlik Sense Enterprise, Qlik has developed an alternative process for product activation. There have been several drivers for this change, including a move to an https protocol for a more secure connection between the Customer deployment and Qlik infrastructure. More information follows below.
To allow for Customers to make the decision when to move, Qlik has introduced the use of a Signed License Key to determine which activation method to use. Over time Qlik Licensing Service will replace the current activation process, but for now both methods of activations will work.
As mentioned above, Qlik has added one additional way to activate Qlik products.
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWT’s can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA.
Although JWT’s can be encrypted to also provide secrecy between parties, we will focus on signed tokens. Signed tokens can verify the integrity of the claims contained within it, while encrypted tokens hide those claims from other parties. When tokens are signed using public/private key pairs, the signature also certifies that only the party holding the private key is the one that signed it. That is why we refer to this as the Signed License Key.
With the use of a Signed License Key, there are more Product and deployment offers to use.
All of the above is enabled by the use of the Signed License Key. This made possible as the local deployment will sync entitlement data with all deployment’s using the same Signed License Key through an online database, License Backend, hosted by Qlik within Qlik Cloud.
This is initiated by entering a Signed License Key to the Control Panel. The request is performed by the service Licenses using port 443 (https protocol procedures applies).
Signed license Key
|
Example data |
A Signed License Key based on one of Qlik’s internal keys.
|
eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6ImEzMzdhZDE3LTk1ODctNGNhOS05M2I3LTBi MmI5ZTNlOWI0OCJ9.eyJqdGkiOiI2MjNhYTlhZi05NTBmLTQ3ZjctOGJmMC1mNGQzOWY0MmQ5N mMiLCJsaWNlbnNlIjoiOTk5OTAwMDAwMDAwMTI1MyJ9.YJqTct2ngqLfl2VP3jxW4RsDNK2MTL-BpJ WnBdIfF5gGbJcX0hc__tfIa2ab5ZrL9h6tsZxTwgucTFiRTAOz8PaOQP7JTnhPCyrBZwpnmhvCrSHx2 C-HbCARFUIueBzMg8fgvWH-3HxBuxx6jnDhekDTUbb12vBq7CySampJkgMT7QsDdUkeJy5E7O0U 8yhd1RtEDeuTbeX35eIdQUN4DyJWHHPiT9qZt1AV0_Ofe1iLKxYZMa5jC0kIsVwYnRCJzibZlrLE7mS VlNitxmcm8OoUrR_ZIk8VuOkoz_qqy8N_wwrt7FcT2slWz50XzuL8TIWY9mcGIL |
Assignment information (what user has what type of access assigned) is synchronized from the license service to license.qlikcloud.com every 10 minutes.
Changes to a license (such as adding additional analyzer capacity) can take up to 24 hours to be retrieved.
Data Element | Comment | Example Data |
Signed License Key | See above | |
Cause | Initial or Update | “Initial” |
User agent | build by the License service version (operating system) and Product (e.g. QSEfW, QCS, QSEfE, QV) | Licenses/1.6.4 (windows) QSEfW |
Data Element | Comment | Sample Data |
License definition | content variable based on product and entitlement | "name": "analyzer_time", "usage": {"class": "time", "minimum": 5}, "provisions": [{ "accessType":"analyzer"} ],"units": [{"count": 200, "valid": "2018-06-01/2018-12-31"}]}, "name": "professional", "usage": { "class": "assigned", "minimum": 1 }, "provisions": [{ "accessType": "professional" }],"units": [{ "count": 10, "valid": "" }]} |
(Time schedule is not disclosed and includes grace time to support outages in the internet connection, a/k/a Optimistic Delegation.)
Data Element | Comment | Sample Data |
Signed License Key |
See above | |
Array Element id | Used for internal match only | 1 |
Allotment name | alternatives are Analyzer_Time, Core_Time | “analyzer_time” |
Year/Month | YYYY-MM | 2018-11 |
Consumption | for this deployment since last sync | 242 |
Source | hashed ID to make each deployment unique, e.g. a Qlik Sense Enterprise on Windows and a Qlik Sense Enterprise on Kubernetes will have different Source ID's | fbe89d02-6d24-4595-915e-c52ce76f2195 |
User agent | same construct as for as activation request | Licenses/1.6.4 (windows) QSEfW |
Data Element | Comment | Sample Data |
Total consumption | Used by the Product for enforcement. Deny access will be executed if quota has been exceeded. Quota is set in the LEF. Additional quota for the month could be managed as Overage in the LEF. This would contain an Overage Value (COUNT) or the value YES. Total quota for the month is calculated as licensed quota + Overage quota. If the LEF contains the value YES, there will be no cap on the capacity for the Year/Month. |
12345 |
Data Element | Comment | Sample Data |
Signed License Key | See above | |
Allotment name | Professional / Analyzer | “professional” |
Subject | Domain / User ID; if this an add or delete transaction. By delete the subject will be removed immediately. An internal id will be used to secure sync to other deployments using the same Signed License Key. The internal id will disappear within 60 days after a delete transaction. (This information is stored for all assigned users until such a time that the assignment is deleted at which point it is deleted. The information is used for synchronizing assignments across deployments in order to facilitate the single-license-multi-deployment scenario. It is encrypted in transit and at rest.) |
“acme\bob”
(For information on how data is submitted and stored in the audit logs see here) |
User agent | Build by the License service version (operating system) and Product (e.g. QSEfW, QCS, QSEfE, QV) | Licenses/1.6.4 (windows) QSEfW |
Source | Hashed ID to make each deployment unique, e.g. a Qlik Sense Enterprise on Windows and a Qlik Sense Enterprise on Kubernetes will have different Source ID's | fbe89d02-6d24-4595-915e-c52ce76f2195 |
Sync metadata | Versioning information about the subjects and list of subjects to manage the synchronization process | { "source": "my assignments", "bases": [{ "license": "1234 1234 1234 1234", "version": 0 }], "patches": [{ "instance": "", "version": 0, "license": "1234 1234 1234 1234", "allotment": "analyzer", "subject": \\generated4, "created": "2019-04-18T10:01:35.024031Z" } |
Data Element | Comment | Sample Data |
Signed License Key | See above | |
Subject | Including subjects changed by other deployments | “acme\bob” |
Sync metadata | Versioning information about the subjects and list of subjects to manage the synchronization process | { "bases": [{ "license": "1234 1234 1234 1234", "version": 17 }], "patches": [{ "instance": "5382018630938057025", "version": 14, "license": "1234 1234 1234 1234", "allotment": "analyzer", "subject": ACME\\bob", "created": "2019-04-18T10:01:35.024Z", "rejection": "" }] |
This Reference Guide is intended solely for general informational purposes and its contents do not form part of the product documentation. The information in this guide is subject to change without notice. ALL INFORMATION IN THIS GUIDE IS BELIEVED TO BE ACCURATE BUT IS PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Qlik makes no commitment to deliver any future functionality and purchasing decisions should not be based upon any future expectation.
When buying a QlikView Client Managed license with SaaS add-on together with a Qlik Sense Enterprise license for the cloud, changes applied to one of the environment are not reflected in the other ones.
So, it is not possible to understand, from one single window, how many Professional and Analyzer seats have been assigned in total. Customers need therefore to check both environments and count the assigned license manually.
As of September 2022, the QlikView with-SaaS-add-on and the Qlik Cloud licenses are tied only by contractual agreement.
There is no technical integration between the two.
It's the customer's contractual responsibility to make sure that the number of allocated professional and analyser licenses are not exceeded. As of now, there is no technical functionality, for the customer, at the moment, to cross-verify the two serial numbers or to block allocating more seats than what was agreed contractually.
Upon launch, the Qlik Sense Desktop needs to be authenticated against either the Qlik Sense SaaS backend or a Qlik Sense Enterprise server.
! Client authentication is not supported on test servers.
This authentication is done using an authentication link.
Clicking Add authentication link brings up instructions:
If you have user access for Qlik Sense Enterprise, you can authenticate against the Qlik Sense Enterprise server when you start Qlik Sense Desktop.
Your Qlik Sense administrator will provide you with information about how you can receive the link using one of the following methods:
Qlik Sense Desktop must be installed on your computer before you start any of the following procedures.
Do the following:
Why do I not see the Client authentication option?
Before you can authenticate, the Qlik Sense Enterprise authentication link must be generated by your administrator in the Qlik Management Console. See Generate and distribute an authentication link (Help.com).
A dialogue box opens asking you to confirm that you want to open the authentication link using Qlik Sense Desktop (QlikSenseBrowser). Confirm the dialogue.
Qlik Sense Desktop opens and a new authentication button for the enterprise server is added to the welcome page under Authenticate against Qlik Sense Enterprise.
Click the authentication button to log in. You may be asked to enter your Qlik Sense Enterprise credentials.
You are now authenticated and Qlik Sense Desktop opens.
After this, when you launch Qlik Sense Desktop, you can click the authentication button and log in using your Qlik Sense Enterprise credentials.
Your administrator can provide you with the authentication link. For instructions on how the administrator can obtain the link, see Generate and distribute an authentication link (Help.com).
Client-side, do the following:
Click the authentication link provided by your Qlik Sense administrator.
If you cannot click the link, copy the link into your browser and press return.
If you are using Google Chrome, you must select the link option from the address bar that does not say Google Search.
A dialogue box opens asking you to confirm that you want to open the authentication link using the Qlik Sense. Confirm the dialogue.
Qlik Sense Desktop opens and the authentication link is added to the welcome page under Authenticate against Qlik Sense Enterprise.
Click the authentication link. You may be asked to enter your Qlik Sense Enterprise credentials.
You are now authenticated and Qlik Sense Desktop opens.
After this, when you launch Qlik Sense Desktop, you can click the authentication button and log in using your Qlik Sense Enterprise credentials.
Do the following:
The next time that you launch Qlik Sense Desktop, an authentication link will be added to the welcome page under Authenticate against Qlik Sense Enterprise.
Click on the authentication link. You may be asked to enter your Qlik Sense Enterprise credentials.
You are now authenticated and Qlik Sense Desktop opens.
After this, when you launch Qlik Sense Desktop, you can click the authentication button and log in using your Qlik Sense Enterprise credentials.
Source: Starting Qlik Sense Desktop
When applying a Qlik Sense License Key to Qlik Sense Enterprise, the license cannot be activated.
An error is returned:
There was an error when getting license information from the license server
When the issue is connectivity related, the following string may also be registered among the log lines:
...
wsarecv: An existing connection was forcibly closed by the remote host.","errorType":"*url.Error"},...
OR, in the Repository Trace System logs:
...
ERROR QlikServer1 System.Repository.Repository.Core.Licensing.LicenseServer.LicenseServerFacade 29 58250808-d4f0-40d8-ba4c-73290bc63979 DOMAIN\qvservice There was an error when getting license information from the license service. LicenseDefinition: {"error":"LICENSES-InternalServerError","message":"Post \"https://license.qlikcloud.com/v1/definitions/signed\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","errors":[{"code":"LICENSES-030","title":"Post \"https://license.qlikcloud.com/v1/definitions/signed\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}]}, LicenseOverview: The remote server returned an error: (500) Internal Server Error.
...
Environment:
Make sure the HTTPS port for outbound connections is opened (example: port 443 - mostly used - but the port number might differ for the end-user). The port is used for accessing the endpoint at https://license.qlikcloud.com which is required to activate the license key. See Testing connection to license.qlikcloud.com should return HTTP 404 Not Found
If a Web proxy is required for Internet access, see steps in image below which are documented under proxy configuration for Qlik License Service communication.
Proxy configured
If the license cannot be applied even though HTTPS port (example: port 443) is opened, or the proxy configured for Qlik License Service communication correctly; please reach out to the technical Product Support team. (How to raise a Technical case).
Verify that the license you purchased is for the correct product.
Example: Signed License Keys cannot be used if a license is Token-based Only. In this case, a license number and Control Number need to be used.
A token license looks like:
00000000000000
OVERAGE;NO;;
PRODUCTLEVEL;50;;2020-12-31
SPECIAL_EDITION;TEST;;
TEST_EDITION;YES;;
TOKENS;3000;;
End users lost their license assignments and the Qlik Sense Enterprise on Windows management console prompts for the signed license key.
Attempting to relicense the system may fail with either:
There was an error when getting license information from the license service
Only one license per product level is allowed
Qlik Sense Enterprise on Windows
If reapplying the license to Qlik Sense fails, please contact Qlik Support through our LIVE chat to have your license verified for possible issues.
The license backend may have been unavailable for too long or a license has been disabled.
00036071
After purchasing a license with Analyzer Capacity, no analyzer minutes can be found in the license.
Review your LEF (License Enabler File) to verify if the license correctly includes the following tags:
ANALYZER_TIME;1000;;
ANALYZER_TIME_UNIT;6;;
Both tags are required. Note that the TIME; value in your instance may differ.
If these tags are missing, contact us through chat so that the license status can be resolved.
How to request a control number and LEF
What is a Analyzer Capacity license?
How to Assign an Analyzer Capacity License
Qlik Sense Enterprise on Windows
Qlik Cloud
Entering the Qlik Catalog license fails with:
core.error.code.INVALID_LICENSE_KEY_PROVIDED The license key is invalid. Please contact Qlik Catalog support or your team administrator.
The license key used contains invalid characters, such as line breaks.
Example: Copying a license key out of a PDF adds line breaks at each new line. These are invalid. Please use the full string.
Troubleshooting the error: Error adding license LEF does not give server permissions when applying a Qlik GeoAnalytics license.
The LEF must have the property GEO_SERVER;YES;;
000003138
You are a prospective customer and are looking to purchase a Qlik Cloud subscription.
You are a prospective customer, having never purchased Qlik licenses before and are interested in learning more about Qlik products and making a purchase:
You are an existing Customer, having previously purchased a license directly from Qlik and wish to purchase additional licenses or CALs:
You are an existing Customer and purchased your licenses through a third party (not directly from Qlik) and wish to purchase additional licenses or CALs:
Customer sets up Dynamic allocation for Professional Users and explicit allocates their licenses for Analyzer users. They notice users are being assigned both.
This only concerns QlikView, not Qlik Sense.
This was reported to R&D with ID QV-23240 and assessed as a current design limitation.
If both Professional and Analyzer dynamic allocation are enabled and if the user has been pre-assigned, the user could get an additional user license. For instance: user has been pre-assigned to Analyzer, and Professional and Analyzer dynamic allocations are set: when user requests access and there is a non-empty quota of Professional user licenses, the user will be assigned a Professional user license in addition to the pre-assigned Analyzer license.
R&D is currently considering possible improvement actions around this area.
Unable to start License service. ERROR: System.AggregateException: One or more errors occurred. ---> System.Security.Cryptography.CryptographicException: Keyset does not exist
System.ArgumentException: Basic authentication is enabled but username is missing
This article details a selection of product levels and related products as well as what license activation methods are supported for the individual license type.
Note that these are for product types only and not for specific features. If you have a question about the content of your LEF, contact us through our live chat and we'll be happy to clarify for you.
Product Family | User Model / License Tye | PRODUCTLEVEL | Supported Activation Method | Version Introduced | License Source Database |
---|---|---|---|---|---|
Qlik Sense SaaS | Professional/Analyzer/Analyzer Capacity | 51 | Onboarding email or MyQlik | 1.0 | LBE |
Qlik Sense Client Managed | Professional/Analyzer & Analyzer Capacity | 50 | QLS / SLK | Feb 2019 onwards |
LBE for SLK LEF Server for license & control (only possible without Analyzer Capacity & Cloud Service) |
Qlik Sense Client Managed | Professional/Analyzer, Analyzer Capacity with Overage | 50 | QLS / SLK | Feb 2020 onwards | LBE Server |
Qlik Sense Tokens | Tokens | 50 | License & Control LEF | Sense GA | LEF Server |
Qlik Sense | Core based (including QAP) | 50 | License & Control LEF | Sense GA | LEF Server |
QlikView Server |
Named user / Document / Session CALs |
10 | License & Control LEF | QlikView GA | LEF Server |
QlikView Server | Professional, Analyzer& Analyzer Capacityunified AMP key or QlikView Infrastructure Add-on to QSE Client Managed license. | 50 | QLS / SLK | April 2019 onwards (12.40) | LBE Server |
QlikView Server | Professional, Analyzer & Analyzer Capacity QlikView Infrastructure Add-on to QSE SaaS only. | 10 | QLS / SLK | May 2021 QlikView 12.60 onwards | LBE Server |
QlikView Desktop (Local Client) | Desktop License | 3 | License & Control LEF | QlikView GA | LEF Server |
NPrinting | 60 | QLS / SLK (Feb 2020 on) | February 2020 | LBE Server | |
NPrinting | 60 | License & Control LEF | Prior to Feb 2020 | LEF Server | |
GeoAnalytics Server | 90 | License & Control LEF | LEF Server | ||
GeoAnalytics Server | 90 | QLS / SLK | SLK from May 2021 | LBE Server | |
Qlik Catalog & QC for QVD | Tables | 95 | QLS / SLK | September 2020 onwards | LBE Server |
WebConnectors | License & Control LEF | From Feb 2021 no license required | LEF Server | ||
SAP Connector | 80 | License & Control LEF | SLK support expected June/July 2021 | LEF Server |
The distribution of QlikView apps from QlikView Distribution Service to Qlik Cloud fails with the error "TestCloudLicense: Failed - Unauthorized. Failed to retrieve qv_nodes tag."
Please, reach out to your account manager to have that fixed.