V2 Licencing running in VS2005 under Windows 7 Professional
Posted: Fri May 18, 2012 4:34 pm
Have installed VS2005 on Window 7 64-bit machine (as Administrator) and subsequently SP1 and SP1 upgrade followed by TeeChart.Net V2
The existing (built under XP) applications run under Windows 7 but will not build due to TeeChart licencing issues:
Exception occurred creating type 'Steema.TeeChart.TChart, TeeChart, Version=2.0.2511.18118, Culture=neutral, PublicKeyToken=9c8126276c77bdb7'
System.NullReferenceException: Object reference not set to an instance of an object.
C:\Projects\SIPRO\SIPROmeas\Properties\licenses.licx 1 SIPROmeas
Deleting the Licenses.licx property allows the application to build but the exception is then thrown at runtime:
1) Exception Information
*********************************************
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.ComponentModel.License GetLicense(System.ComponentModel.LicenseContext, System.Type, System.Object, Boolean)
HelpLink: NULL
Source: TeeChart
StackTrace Information
*********************************************
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.Validate(Type type, Object instance)
at Steema.TeeChart.Chart..ctor()
at Steema.TeeChart.TChart..ctor()
What is going wrong?
The existing (built under XP) applications run under Windows 7 but will not build due to TeeChart licencing issues:
Exception occurred creating type 'Steema.TeeChart.TChart, TeeChart, Version=2.0.2511.18118, Culture=neutral, PublicKeyToken=9c8126276c77bdb7'
System.NullReferenceException: Object reference not set to an instance of an object.
C:\Projects\SIPRO\SIPROmeas\Properties\licenses.licx 1 SIPROmeas
Deleting the Licenses.licx property allows the application to build but the exception is then thrown at runtime:
1) Exception Information
*********************************************
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.ComponentModel.License GetLicense(System.ComponentModel.LicenseContext, System.Type, System.Object, Boolean)
HelpLink: NULL
Source: TeeChart
StackTrace Information
*********************************************
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.Validate(Type type, Object instance)
at Steema.TeeChart.Chart..ctor()
at Steema.TeeChart.TChart..ctor()
What is going wrong?