The included Syncfusion license is invalid - Blazor WebAssembly

Hi,
  I'm using the Essential Studio Enterprise Edition - Community license and trying to create a Blazor WebAssembly app. I have the license for version 18.2.0.44 for the Blazor Platform. Things work fine as I've added Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense in the Program.cs as mentioned in the docs.
However, because I don't want to commit this license key into Git, I followed the recommendation found in this link - https://www.syncfusion.com/kb/9179/syncfusion-license-register-without-hardcoded . However, if I do this, I always get the error "The included Syncfusion license is invalid" once the app is launched.

Any recommendations for this? Removing the license key before committing to Git every time is a hassle and there's a  chance it might even be missed.

Thanks!

3 Replies

KJ Kalap Johnson Peter Paulraj Syncfusion Team August 3, 2020 03:13 PM UTC

Hi Amit, 

Thanks for contacting Syncfusion support. 

Q1) However, because I don't want to commit this license key into Git, I followed the recommendation found in this link - https://www.syncfusion.com/kb/9179/syncfusion-license-register-without-hardcoded. However, if I do this, I always get the error "The included Syncfusion license is invalid" once the app is launched. 

A1) We suspect that the License key added in your environment variable might not be retrieved. Could you please check whether the license key retrieved properly from environment variable. 

Also, If you upgraded to latest version, you should generate and register the corresponding version license key in your application, because our license key’s are version and platform specific. 

If still the issue occurs, please share us the following details to check the reported issue. 

1. License key used in your application 
2. List of Syncfusion assemblies/NuGet packages used 
3. Screenshot of the registered license key. 

Q2) Any recommendations for this? Removing the license key before committing to Git every time is a hassle and there's a  chance it might even be missed. 

A2) You can use the nuget packages from our licensed Blazor installer. In this case, you don’t need to register the license keys. 

If you are using the Syncfusion nuget packages from nuget.org then you need to register the license key in your application. As of now we don’t have any options for this, else license error message will be displayed. 

Let us know if you need further assistance. 

Regards, 
Kalap Johnson Peter P.


AM Amit August 4, 2020 12:02 PM UTC

Hi Peter,
  We suspect that the License key added in your environment variable might not be retrieved. Could you please check whether the license key retrieved properly from environment variable.  --> For this if I run the batch file manually, I do see that it fetches the license just fine and the file gets updated too.

1. License key used in your application 
2. List of Syncfusion assemblies/NuGet packages used --> Syncfusion.Blazor (18.2.0.44)
3. Screenshot of the registered license key. 

I should post the key here you mean, is that really ok to do so? 

You can use the nuget packages from our licensed Blazor installer. In this case, you don’t need to register the license keys. --> How can I try this?



KJ Kalap Johnson Peter Paulraj Syncfusion Team August 4, 2020 03:39 PM UTC

Hi Amit,

We have created an incident under your account. You can follow up with that incident for further updates

Regards,
Kalap Johnson Peter P.


Loader.
Up arrow icon