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

Running samples in 3.0.1.0 fails with license error

Thread ID:

Created:

Updated:

Platform:

Replies:

23466 Jan 12,2005 08:21 PM Jan 13,2005 01:46 PM Windows Forms 4
loading
Tags: GridControl
Stephen Trinder
Asked On January 12, 2005 08:21 PM

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 07:04 AM

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 12:47 PM

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 01:27 PM

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 3.0.1.0 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 01:46 PM

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

CONFIRMATION

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.

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.

;