Exception with message valid license could not be granted

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Amit
Newbie
Newbie
Posts: 9
Joined: Mon Oct 15, 2007 12:00 am

Exception with message valid license could not be granted

Post by Amit » Thu Oct 16, 2008 7:20 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Oct 16, 2008 7:51 am

Hi Amit,

Yes, this is the right assembly to distribute.

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

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Amit
Newbie
Newbie
Posts: 9
Joined: Mon Oct 15, 2007 12:00 am

Link to tutorial 17

Post by Amit » Thu Oct 16, 2008 11:15 am

Hi ,
could you send me teh link to tutorial 17 whish is mentioned in thethread,

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Oct 16, 2008 11:30 am

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”.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Amit
Newbie
Newbie
Posts: 9
Joined: Mon Oct 15, 2007 12:00 am

problem solved

Post by Amit » Thu Oct 16, 2008 12:14 pm

After the upgrade I had not update the .licx file. modifying the .licx file with all the three enteries helped .
Thanks for you support .

Post Reply