Missing license after a while

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
daniela
Newbie
Newbie
Posts: 14
Joined: Tue Apr 25, 2006 12:00 am

Missing license after a while

Post by daniela » Fri Sep 18, 2009 11:24 am

Hello,

I hope you can help me with a strange problem.
We are using tchart since a while and run into the following problem at some customer sites.
On pc1 the UI works fine for some hours than we get the exception below.
On pc2 the UI works fine for some days, than we get the exception.
A restart of the UI solves the problem for some time.

We see the following exception:
Framework UIActivator 9/9/2009 5:08:48 PM A System.Reflection.TargetInvocationException occurred in UIActivator (Framework), but the application will continue to run.
Message: "Exception has been thrown by the target of an invocation.".
Stack Trace:
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at *.Base.UI.BaseUserInterfaceFactory.GetView(Int32 number, Identity moduleIdent, IModuleProxy moduleProxy)
at *.Base.UI.BaseProxy.GetViews()

Inner Exception: 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()
at *.UI.ChartControl.InitializeComponent()
at *.UI.ChartControl..ctor()
at *.UI.HistoryChart.InitializeComponent()
at *.UI.HistoryChart..ctor()
at *.Monitor.UI.VelocityChartView.InitializeComponent()
at *.Monitor.UI.VelocityChartView..ctor(Identity moduleIdent, IModuleProxy moduleProxy)

We are using tchart version: 2.0.2652.22325
We changed our system to use signed assemblies in the last months.

I hope you can help me,
thanks a lot,
kind regards,
Daniela

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

Re: Missing license after a while

Post by Narcís » Fri Sep 18, 2009 11:38 am

Hi Daniela,
We are using tchart version: 2.0.2652.22325
Please notice this is not latest TeeChart for .NET v2 release available at the client area. I recommend you to use last version available.
Inner Exception: Object reference not set to an instance of an object.
Your problem could be similar to what was discussed here and here. Can you please check what is suggested in those threads?

If this doesn't help don't hesitate to let us know.
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