Missing license after a while
Posted: 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
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