We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Invalid license version on initial page load with Sync call

Hello,

I have a page with a grid and stock chart controls with stock events. The grid has dates with buttons that can be used to load different data into the chart. I noticed I needed to use a synchronous call for the stock events to show properly on page initialized or the subsequent calls using the grid to change the stock data will not show the stock events reliably. After changing to a sync call during initialization, for the very first page load I get:

The included Syncfusion license (v20.2.0.*) is invalid for version 20.3.0.57. Please refer to this help topic for more information.

If I refresh the browser or change the stock data using the grid, the license error goes away.

protected override void OnInitialized()

{

// Async service call to database to populate grid data = no error message, but stock events don't work reliably.

xxx = await ServiceCall

// Sync service call to database to populate grid data = License error message on very first page load, but stock events DO work properly / reliably.

xxx = ServiceCallSync


Thanks,

Justin K









1 Reply

JM Jeyaseelan M Syncfusion Team December 2, 2022 07:29 AM

Hi Justin,


Syncfuion license keys are version and platform-specific. So, please ensure that all the referenced Syncfusion assemblies\NuGet packages or script files are on the same version(v20.3.0.57) as license key’s version(v20.3.0.57).


You should generate and register the license key for version(v20.3.0.*). 

The generated license key is just a string that needs to be registered before any Syncfusion control is initiated
.


We have introduced a new licensing system starting with version 16.2.0.x release of Essential Studio. These modifications apply to all evaluators and only to paid customers who use NuGet packages from nuget.org

https://blazor.syncfusion.com/documentation/getting-started/license-key/overview

If you are using the NuGet packages from nuget.org or trial assemblies\packages from the trial installer, then you should generate and register the license key in your application.

If the license key is not properly registered, below license errors will be displayed.

https://blazor.syncfusion.com/documentation/getting-started/license-key/licensing-errors

If you didn’t wish to register the license key in your application, you could download the licensed installer from your account and you can use that in your application. In this case, no license message will be displayed. Find below the details to download and install the licensed version of our installer,

https://blazor.syncfusion.com/documentation/installation/web-installer/how-to-download#download-the-licensed-version


Installation steps: https://blazor.syncfusion.com/documentation/installation/web-installer/how-to-install

Please follow the steps in the below KB article to generate the license keys for your desired version and setups.

https://www.syncfusion.com/kb/8976/how-to-generate-license-key-for-licensed-products

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


  1. List of Syncfusion NuGet packages\assemblies or script files used and it’s version.
  2. TargetFrameWork and Platform of your application.
  3. Screenshot of license key registered place by hiding the license key.


Regards,

Jeyaseelan M


Loader.
Live Chat Icon For mobile
Up arrow icon