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