Licensing troubleshoot in EJ2 JavaScript Licensing control

12 Aug 20245 minutes to read

Is an internet connection required for license validation

No, Internet connection is not required for the Syncfusion Essential Studio license validation. The Syncfusion license validation is done offline during application execution. Apps registered with a Syncfusion license key can be deployed on any system that does not have an internet connection.

Upgrade from the trial version after purchasing a license

To upgrade from the trial version, there are two possible solutions:

  • Uninstall the trial version and install the fully licensed build from the License & Downloads section of the Syncfusion website.

  • If you are using Syncfusion controls from the npm, replace the currently used trial license key with a paid license key that can be generated from the License & Downloads section of Syncfusion website. Refer to this topic for more information regarding registering the license in the application.

The license registration is not required if you reference Syncfusion scripts from the Licensed installer. These licensing changes apply to all evaluators who refer to the Syncfusion scripts from the evaluation installer and those who use the Syncfusion NuGet packages form nuget.org.

Where can I get a license key

License keys can be generated from the License & Downloads or the Trial & Downloads section of the Syncfusion website.

Get Community License

The Syncfusion license keys are the version and platform-specific, refer to the KB to generate the license key for the required version and platform. Also, refer to this KB to know which version of the Syncfusion license key should be used in the application.

While using the ASP.NET Core controls with the Javascript(ES5) components, you need to register the license key in both the Javascript(ES5) and the ASP.NET core. Since the license is validated at the client side for Javascript(ES5) components and server-side for the ASP.NET core components.

Refer EJ2 scripts without registering the license key

Registering the Syncfusion license key in the application is mandated from version 20.1 for all the Syncfusion EJ2 platforms to avoid licensing warnings. The end-users can easily inspect the License key registered in the script due to the nature of the JavaScript. If you are a licensed customer and don’t want to expose your key due to security reasons or other reasons, follow the following steps to ej2 scripts without registering the license key in the application.

Using scripts from the licensed installer

License registration is not required for licensed users if referring to the script from a licensed installer. The following steps will guide you to get the installed script from your machine.

  • After installing the licensed build from a licensed installer, go to the installed location and navigate to the EJ2/Installed Version/Web (Essential JS 2)/JavaScript/ej2-js-es5.

Registry Location

  • Navigate to the ej2-js-es5 package folder and access the ej2.min.js from the scripts folder and utilize the minified ej2 script in the application.

Installation Location

Using scripts from the CRG

If you are a licensed customer, you can download scripts from the CRG which doesn’t require the license registration by signing in with the Syncfusion account. You can check your license status by clicking my account icon as follows.

image

Refer to the CRG documentation to know more about how to refer to scripts.

Will the registered license key expire

No, the Syncfusion license keys won’t expire for a particular version and you can continue to use it. So, you won’t face any problems on the live site. If you have used the trial key, it will expire in 30 days and we don’t recommend using it in production.

If you upgrade to newer versions of the Syncfusion packages, you have to generate new license keys and use them.

When to generate new license key while upgrading

You don’t need to generate and change license keys for minor version upgrades. However, when upgrading from one major version to another major version, you must generate a new license key and update it in your application.

For example,

  • If you are using a version like 25.1.X, it is important to use the same version for all Syncfusion components in your application. The license key generated for version 25.X.XX can be used. This key can be used across all minor versions within that major version, v25. This means you can upgrade all packages to 25.2.X while still using the same license key.

  • However, if you upgrade from one major version to another—such as from 25.1.X to 26.1.X—you will need to generate a new license key for the latest version and update it in your application.

Note: The above-mentioned guidelines are not applicable to our packages on version 20.X.XX, where 20.1 denotes one major version and 20.2 another major version. However, starting with our release version 21, we have adjusted the pattern. So if you are using 20.1.X, when you upgrade to 20.2.X, you have to generate new license keys for 20.2.X and change in the application. Therefore, these guidelines apply to versions 21 and later.

License registration for multiple developers on your project

Syncfusion license key is a version based and it’s not based on the developer. You don’t have to register different keys for each developer. Just register one valid license key when developing and publishing the software.

Can I use the same key for all the web apps under the project

Yes, you can use the same license key for all the web apps.

Does the license registration access any resources or data

No, the license registration doesn’t access any data or resources.

License & Downloads shows the “Essential Studio Enterprise Edition Binary with Test Studio” and the “Project License”. Which license to use

Use any licenses shown on the accounts & downloads page. It shows two licenses because if you are part of your company’s enterprise portal Global license and an individual license is also assigned to your account, on your account & downloads page, the individual license and your enterprise portal Global license are shown.

Project License

Refer to the KB article which explains the Licenses offered by Syncfusion.