AD
Administrator
Syncfusion Team
July 31, 2006 05:53 AM UTC
Hi Angel,
Typically this error occurs if you do not have a license file in your project when it was compiled or the license file contains incomplete information.
Please follow the steps outlined below :
(i) Delete all the Syncfusion dlls and policy files in the GAC (C:\WINDOWS\Assembly folder on a Windows XP machine or C:\WINNT\Assembly folder on a Windows 2000 machine)
(ii) Run the Assembly Manager tool choosing v4.2.0.37 Prebuilt Release option. The Assembly Manager tool can be accessed from Start Menu >> Programs >> Syncfusion >> Essential Suite 4.2.0.37 >> Assembly Manager. Once again, go to the GAC and delete Syncfusion policy files only. Makes sure that the dlls present in the GAC are of version 4.2.0.37.
(iii) Open your project in the designer and and remove all the Syncfusion references. Re-add them from the ...\Syncfusion\Essential Suite\Assemblies folder. Make sure they are of version v4.2.0.37
(iv) Also in the designer, make sure that a licenses.licx file is present in the project. It is mandatory to have a licenses.licx file in the project during compilation so that the licensing information gets embedded in the exe generated. If you do not have one, then please follow the steps below to generate the licenses.licx file :
Add a "dummy" form in your project, and then add some Syncfusion controls onto the form. You could delete the form once the licenses.licx file is regenerated.
Also, not all controls need to be added - licensing is done on a per product level, so just one control from each syncfusion assembly that you are using needs to be added.
From Syncfusion.Grid.dll - the GridControl
3.Now rebuild your project and run it.
Let us know how it goes.
Regards,
Haneef