LICENSE on Linux

Hello!

I'm testing the tools on a dummy project and when deploying with a valid key in Windows there is absolutely no problem.

When I deploy on a Linux machine, the message of "Invalid license key" appears on the web.

Do I need to do any extra steps for the key to validate correctly on Linux?


Thanks.


1 Reply

AK Arun Kumar Ragu Syncfusion Team November 25, 2024 05:04 PM UTC

Hi Dani Falso,


Greetings from Syncfusion Support.


The "Invalid license key" error might occur due to several reasons, particularly when deploying to a windows/linux servers. Please follow the steps below to ensure that the license key validates correctly:


  • License Key Registration:
    • Ensure that the license key is registered in the ‘Program.cs’ file.

 

Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Your_License_Key");

 


  • Check Syncfusion Package/CDN Versions:
    • Make sure all Syncfusion packages used in your application are in same version.
    • Ensure whether you are using the CDN link for concern package versions.


  • Verify the License Key:
    • Confirm that the license key registered in your application matches the version of the Syncfusion packages you are using.
    •  If you’ve recently upgraded the Syncfusion package versions, make sure to update your license key to the corresponding version.


  • Cleaning and Deploy:
    • Before deploying, clean the project by using the command:  dotnet clean
    • Remove bin and obj folders, rebuild the project, and then deploy.


Reference: Overview of Syncfusion licensing errors - Syncfusion


If the issue persists, please provide the following:


  • The version of the Syncfusion packages you are using.
  • If you have upgraded the Syncfusion package, please specify the version it was upgraded from and the version it was upgraded to.
  • Did you using the CDN links for scripts? if share the link.
  • Could you please share the steps you followed to generate the license key?


Above details will help us to provide the solution promptly.


Regards,

Arun Kumar R


Loader.
Up arrow icon