Articles in this section
Category / Section

How do I remove the licensing error popup, which occurs each time I run my application?

2 mins read

 

Here is some information about trouble shooting tips that will help in configuring the system for a specific version of Syncfusion Essential Studio and to get out of some common licensing issues due to version conflicts.

These following points assume that the user is using the version 5.1.0.51 and the .NET framework 2.0.

1. Make sure that the assemblies for the project are picked up from the public assemblies(C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies) folder alone.

2. Run the AssemblyManager from the dashboard.

3. In the AssemblyManager, select the 'Remove All Versions' option and then click 'Perform Action'. This will remove all the Syncfusion assemblies from the GAC (C:\Windows\Assembly) and the PublicAssemblies folder ({Install Drive}:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies).

4.Then in the AssemblyManager, select the 'Install version 5.1.0.51' option and then click the 'Perform Action'. This will install the Syncfusion assemblies of version 5.1.0.51 in the GAC and the PublicAssemblies folder.

5. Delete the project output (bin/ and obj/) folders.

6. Open the project. In the Solution Explorer of the specific project, for each Syncfusion assembly in the reference tree, open the properties window and check whether the 'path' refers to the public assemblies folder mentioned above and the 'version' of the assembly is 5.102.0.51. The 'SpecifcVersion' property should be made false. This will help the user to build the project with any 5.1.x.xx version of Syncfusion.

7. In the Solution Explorer, click 'Show All Files'. In the project tree, please check if there is a file called 'licenses.licx' with the below entry, Syncfusion.Core.Licensing.LicensedComponent, Syncfusion.Core. If this is not found, or it is different then replace the file with the link given below. Add this to the project. Open the properties of this file. Change the 'BuildAction' property to be 'Embedded Resource' and run the project.

http://www.syncfusion.com/Support/user/uploads/licenses_c8b1591b.zip

8. A Licensing Error message appears as shown here. Please click 'FixIt'.

9. Then a LicensingEnabler dialog appears as shown here. Please click 'Ok'.

10. Then a file ModificationDetected dialog appears as shown here. Please click 'Reload'. This message appears because the "obj/debug/*.exe.licenses" file have been modified to include the Syncfusion licensing information. Inorder to embed this info into the output exe, the user needs to rebuild the application. Please check that this file has the concerned Syncfusion version information. If this contains any other version number to the one that the user is using, the Licensing Error message will appear every time the user runs the application.

11. Please rebuild and run the application once again. This time the user should not see the above mentioned messages.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied