Invalid License Key

I have the license key sent to me via email but each time I get an error message, "he included Syncfusion license key is invalid"  with the options of OK and "Claim License".


//this code fails everytime within the App.xaml.cs file constructor.

            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("my license key"); 




2 Replies

PR Prince March 25, 2025 05:27 PM UTC

this is a .NET MAUI and I copied the key to the clipboard from the "Claim License Key" page.



KR Kalaiyarasu Rasu Syncfusion Team March 26, 2025 02:30 PM UTC

Hi Prince,

We have checked the Syncfusion MAUI packages v29.* with the shared license key in the chat, and the reported issue is not replicated to us. Refer the screenshot below.


We suspect that there is a version mismatch in the Syncfusion assemblies/NuGet packages while upgrading to v29.1.33. Please ensure that all the referenced Syncfusion NuGet packages/assemblies in your project are on the same version (v29.1.33) as the license key.


Sometimes, old Syncfusion packages might be referred from NuGet cache in the project.

So, could you please try cleaning your project, clear the NuGet cache from both “%userprofile%” folder and the NuGet installed location, deleting the bin\obj folders and rebuild your application, then check whether it resolves the issue?

Syncfusion license keys are major version and product-specific and the generated license key is just a string that needs to be registered before any Syncfusion control is initiated. Please ensure that you have registered the license key in the entry point of your application.

If you use Syncfusion assemblies from NuGet packages (nuget.org), and if you're upgrading from one major version to another, such as from v28.* to v29.* you should generate and register the corresponding version and product license key in your projects to prevent trial license warnings

Refer to the following documentation link to get the corresponding version Syncfusion license key. 

https://help.syncfusion.com/maui/licensing/how-to-generate

Refer to this link for registering the license key,

https://help.syncfusion.com/maui/licensing/how-to-register-in-an-application 



If you are still facing the issue, try registering the license key in MauiProgram.cs.



Find below the knowledge base article to know about which version license key should use in application,

https://www.syncfusion.com/kb/8951/which-version-syncfusion-license-key-should-i-use-in-my-application 

Sometimes, old Syncfusion packages might be referred from NuGet cache in the project.

So, could you please try cleaning your project, clear the NuGet cache from both “%userprofile%” folder and the NuGet installed location, deleting
the bin\obj folders and rebuild your application, then check whether it resolves the issue?

If the reported issue is still not resolved,  please share us the following details to check issue further from our side, 

  1. List of Syncfusion NuGet packages\assemblies used and its version,
  2. Registered license key in your application,
  3. Target Framework and Platform of your application, 
  4. Screenshot of license key registered place.
  5. OS Language of your machine.
  6. Region and Time Zone settings in your machine.

Let us know any concerns.


Regards,

Kalaiyarasu R


Loader.
Up arrow icon