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

license key validation issue

I have an Essential Studio Enterprise Edition Binary with TestStudio license.  Everything is fine until I put tabs onto my MVC form and start getting the error message "This application was built using a trial version of Syncfusion Essential Studio. To remove the license validation message permanently, a valid license key must be included. Claim your free account. "

To test whether this was the cause I removed the Tabs and the error goes away. Are these not part of the community license?


3 Replies

SI Silambarasan I Syncfusion Team February 28, 2023 01:48 PM UTC

Hi Phillip,

Please ensure that you have registered the license key in Application_Start method.
https://ej2.syncfusion.com/aspnetmvc/documentation/licensing/how-to-register-in-an-application


If registered, could you please confirm whether you are using Syncfusion MVC (Html/Tag helpers) components or JavaScript components?

Regards,
Silambarasan Ilango



PH Phillip replied to Silambarasan I February 28, 2023 09:30 PM UTC

Hi Silambarasan,


This is .Net core 6 MVC so I have the registration Key registered in the program.cs which is working because I also have a rich text editor on the same page and removing the tabs removes the errors.


I have done some more investigating and after using your Getting Started sample for Tabs HTML Sample I found that when I add the script at the bottom the message is displayed.

 type="text/javascript">
    var tabObj = new ej.navigations.Tab({
        heightAdjustMode: "Auto"
    });
    tabObj.appendTo('#ej2Tab');


Additionally, when I generated the licence key I told it to create it for ALL platforms.

Thanks

Phillip




BH BharatRam Harikrishnan Syncfusion Team March 1, 2023 01:28 PM UTC

Hi Phillip,


Based on the details provided, you have rendered the Tab as a JavaScript component in your ASP.NET Core MVC application. So, you also need to register the license in _Layout.cshtml (for JavaScript) as follows,


_Layout.cshtml

<head>

<script>

//Register Syncfusion license

ej.base.registerLicense('LicenseKey');

</script>

</head>


UG reference:

https://ej2.syncfusion.com/aspnetcore/documentation/licensing/licensing-troubleshoot#registering-license-key-for-syncfusion-javascript-components-used-in-aspnet-core-app


Regards,

Bharat Ram H


Loader.
Up arrow icon