TeeChart pro and .NET
Posted: Wed May 28, 2008 8:35 pm
Hi, I'm porting an application to mono and given that TeeChart pro.NET is fully manged is supposed to work with it, I precedently tried to use TeeChart Lite on mono and it work successfully.
The problem with the Pro version seems to be the license:
I have a general questionL the license file license.lix that comes with the installer, refer to the following version:
Steema.TeeChart.TChart, TeeChart, Version=2.0.2040.15119, but now I'm using the version 2.0.2987.19069. Should I include a different lic file in my executable ?
when I run the software on mono I obtain the following error stack:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000]
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000]
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000]
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000]
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000]
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string)
at Steema.TeeChart.FrAccessProvider.GetLicense (System.ComponentModel.LicenseContext context, System.Type type, System.Object instance, Boolean allowExceptions) [0x00000]
at System.ComponentModel.LicenseManager.privateGetLicense (System.Type type, System.Object instance, Boolean allowExceptions, System.ComponentModel.License& license) [0x00000]
at System.ComponentModel.LicenseManager.Validate (System.Type type, System.Object instance) [0x00000]
at Steema.TeeChart.Chart..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) Steema.TeeChart.Chart:.ctor ()
at Steema.TeeChart.TChart..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) Steema.TeeChart.TChart:.ctor ()
Is the use of TeeChart on mono supported now?
Thanks,
Matteo
The problem with the Pro version seems to be the license:
I have a general questionL the license file license.lix that comes with the installer, refer to the following version:
Steema.TeeChart.TChart, TeeChart, Version=2.0.2040.15119, but now I'm using the version 2.0.2987.19069. Should I include a different lic file in my executable ?
when I run the software on mono I obtain the following error stack:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000]
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000]
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000]
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000]
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000]
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string)
at Steema.TeeChart.FrAccessProvider.GetLicense (System.ComponentModel.LicenseContext context, System.Type type, System.Object instance, Boolean allowExceptions) [0x00000]
at System.ComponentModel.LicenseManager.privateGetLicense (System.Type type, System.Object instance, Boolean allowExceptions, System.ComponentModel.License& license) [0x00000]
at System.ComponentModel.LicenseManager.Validate (System.Type type, System.Object instance) [0x00000]
at Steema.TeeChart.Chart..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) Steema.TeeChart.Chart:.ctor ()
at Steema.TeeChart.TChart..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) Steema.TeeChart.TChart:.ctor ()
Is the use of TeeChart on mono supported now?
Thanks,
Matteo