Page 1 of 1

Exception with message valid license could not be granted

Posted: Thu Oct 16, 2008 7:20 am
by 13047041
Hi ,

We were using the trail version of Tee chart for .net v3 .
after acquiring the licence we uninstalled the trial version and installed the licenced version.
after installation and then opening the soloution the reference were ok and the application runs fine on development box.

After compiling and distributing the same application TeeChart.dll we start gettign following exception at othr boxes where licence is not installed.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.LicenseException: An instance of type 'Steema.TeeChart.Chart' was being created, and a valid license could not be granted for the type 'Steema.TeeChart.Chart'. Please, contact the manufacturer of the component for more information.
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)

at Steema.TeeChart.Chart..ctor()

at Steema.TeeChart.TChart..ctor()

the application is shipped with TeeChart.dll 3.5.3188.18560
are we distributing the right dll?

Thanks for the help

Posted: Thu Oct 16, 2008 7:51 am
by narcis
Hi Amit,

Yes, this is the right assembly to distribute.

Could you please read this thread about the same licensing issue?

Thanks in advance.

Link to tutorial 17

Posted: Thu Oct 16, 2008 11:15 am
by 13047041
Hi ,
could you send me teh link to tutorial 17 whish is mentioned in thethread,

Posted: Thu Oct 16, 2008 11:30 am
by narcis
Hi Amit,

You’ll find the tutorials at the program group created by the TeeChart installer at Start Menu -> All Programs -> Steema TeeChart for .NET v3 -> TeeChart for .NET Tutorials. You can also find the TeeChart for .NET Tutorials.chm file at TeeChart’s Docs folder: “C:\Program Files\Steema Software\TeeChart for .NET v3\Docs”.

problem solved

Posted: Thu Oct 16, 2008 12:14 pm
by 13047041
After the upgrade I had not update the .licx file. modifying the .licx file with all the three enteries helped .
Thanks for you support .