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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Running samples in fails with license error

Thread ID:





23466 Jan 13,2005 01:21 AM UTC Jan 13,2005 06:46 PM UTC WinForms 4
Tags: GridControl
Stephen Trinder
Asked On January 13, 2005 01:21 AM UTC

Hi. I have just got the new version and have tried to run the CalenderCells sample. It fails on the this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); line, with a "A valid license could not be granted for the type Syncfusion.Windows.Forms.Grid.GridModel." Anyone else getting this? I checked the KB and open issues and there''s nothing in there. Copy Local is set to false on all my Syncfusion references. Thanks, -Stephen

Administrator [Syncfusion]
Replied On January 13, 2005 12:04 PM UTC

Are you running the prebuilt sample from the sample browser on a system where our product is installed? That should work. We do not ship license.licx files with our samples, so if you need to run them on a system that does not have Syncfusion installed, then you should build the sample on a licensed system (after touching the form so the license.licx file is created.)

Stephen Trinder
Replied On January 13, 2005 05:47 PM UTC

The product is installed on my PC (though at the end of the installation it gave an error that one of the components could not be updated and to run Assembley Manager). I should have mentioned that the sample runs fine if I just click "Run sample", but if I open the project in C# and then run it, I get the license error. Thanks, -Stephen

Administrator [Syncfusion]
Replied On January 13, 2005 06:27 PM UTC

Open the form in the designer, and then click the grid. Under the grid''s propertygrid, you should see a Touch It verb. Click that and then try compiling things again. (This should make sure the proper license file is there.) If that does not work, here are some things to try. You should check you GAC (WIndows\Assembly folder) to make sure you see the Syncfusion assemblies there. Also, remove any syncfusion policy files you might see. If not, try running the Assembly Manager (from the Syncfusion Start menu) and select the prebuilt assemblies. If that does not resolve the problem, I would suggest resetting yor toolbox and reloading the 3010 controls.

Stephen Trinder
Replied On January 13, 2005 06:46 PM UTC

Hi Clay. The "Touch It" verb did the trick. Thanks for your help! -Stephen


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

Live Chat Icon For mobile
Live Chat Icon