Licensing changed after upgrade from VS2003 to VS2005

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Fri Jun 08, 2007 9:22 am

Hello alexs,

Do you have any feedback on use of the assembly that you have for tests?

Regards,
Marc
Steema Support

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Wed Jun 13, 2007 10:02 pm

Hello alexs,

Summary of findings:

There is a change between VSNET2003 and VSNET2005 that requires that a reference exist in the project where a license is being declared in licenses.licx. As you observed that change has caused that a licensed assembly can't be plugged between project assemblies unless a reference exist for that assembly at each location where it is intended to be used.

From a positive viewpoint VSNET2005 has introduced support for the second variable in GetSavedLicenseKey(), allowing target assemblies to be passed as arguments.

Based on that change a TeeChart license modification has been introduced to support projects where a TeeChart reference can't be placed at each target assembly.

Concluding tests we recommend that version as the best-fit TeeChart version for your application architecture.

Regards,
Marc Meumann
Steema Support

cvconcrk
Newbie
Newbie
Posts: 2
Joined: Tue Nov 07, 2006 12:00 am

object reference not set

Post by cvconcrk » Mon Dec 31, 2007 4:14 pm

Hello Marc- we have a similar problem to what is described in this thread (we are using the TeeChart in a plug-in/.dll that is referenced by an unmodifiable .exe that doesn't use TeeChart). With earlier versions of TeeChart we had no issues, but we are now getting this "object reference not set" error with TeeChart v2. Can we also try out this new .dll that you mentioned in your last post? Thanks.

FYI, here's the beginning portion of the error message we're getting:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Steema.TeeChart.FrAccessProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at Steema.TeeChart.Chart..ctor()
at Steema.TeeChart.TChart..ctor()

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

Post by Narcís » Wed Jan 02, 2008 9:20 am

Hello cvconcrk,

I'm afraid the plug-in license version is only available with TeeChart for .NET v3. However we can provide you with an unlocked version of TeeChart for .NET v2. Would you be so kind to send an e-mail to sales@steema.com explaining your problem and requesting the plug-in/unlocked TeeChart version?

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

Post Reply