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.
ADAdministrator Syncfusion Team 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.)
STStephen TrinderJanuary 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.
ADAdministrator Syncfusion Team 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 184.108.40.206 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.
STStephen TrinderJanuary 13, 2005 01:46 PM
The "Touch It" verb did the trick.
Thanks for your help!