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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Addressing the “Unable to grant runtime license” error

Platform: Miscellaneous |
Control: Install and Configuration |
Published Date: April 30, 2011 |
Last Revised Date: June 26, 2019
Tags: license, install

 

Unable to grant runtime license error

 

 

This issue may arise due to one of the below scenarios.

1. Your project may contain more than one Syncfusion.Core references.

To correct this, perform the following steps:

·   Open your project in any text editor and make sure that only one Syncfusion.Core entry is referenced. If more than one entry is available, keep only one entry and remove the other Syncfusion.Core entries.

·   After removing the Syncfusion.Core entry, reload your application and then remove the bin and obj folders. 

·   Next, recompile your project and run it.

2. The Licenses.licx file may not have been added in your project as an embedded resource.

Make sure that the Licenses.licx file is embedded in your project file as an embedded resource. Use the License Enabler utility to embed the License.licx file in your project.

There are two ways to add the licenses.licx file in your project:

Method 1 – Adding the Licenses.licx file manually

  1. Open your project.
  2. Right-click on the project node in Solution Explorer.
  3. Choose Add New Item.
  4. Browse to the location “{Installed Drive}:\Program Files\Syncfusion\Essential Studio\{Version}\Templates” and choose the licenses.licx file.
  5. After adding the file, click on the license file node in Solution Explorer and open the Properties window.
  6. Set the Build Action property as Embedded Resource.

Please refer to the screen shot below.

 Set the Build Action property as Embedded Resource for licenses.licx file

Method 2 – Adding the Licenses.licx file using the Licensing Enabler utility

1.     Open the Syncfusion Dashboard.

Adding the Licenses.licx file using the Licensing Enabler utility

  1. Run License Enabler.
  2. In License Enabler, choose Select Single Project, if you want to add the License.licx file to a single project. Choose Select folder, if you want to add the License.licx file to all projects in a particular folder.
  3. Click Do It to embed the license.licx file in the project(s).

Once you have embedded the file using either one of the above methods, reload your project, compile it, and run it.

If you follow the above steps and are still not able to resolve this runtime licensing error, please check that the licenses.licx file is embedded properly.

For more about License Enabler, please visit License Enabler.

ADD COMMENT
You must log in to leave a comment
Comments
Valeriu Zabulica
Apr 20, 2015
There is no Licensing Enabler in Syncfusion Dashboard Reply

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon