Page 1 of 1

V2 Licencing running in VS2005 under Windows 7 Professional

Posted: Fri May 18, 2012 4:34 pm
by 9643144
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?

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Posted: Mon May 21, 2012 11:01 am
by 10050769
Hello SiPRO,

I can see that you don't use last release of TeeChartFor.Net V2, please update your version of TeeChart and check if your problem is solved. If your problem persist, please see in Tutorial 17 - Designtime, Runtime and License Requirements and follow the steps to try to solve the problem. If it isn't help you, please send us, your project so we can try to solve your problem here.

Thanks,

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Posted: Mon May 21, 2012 12:03 pm
by 9643144
Hello Sandra,

I have downloaded and installed the TeeChart.Net V2 Update (unsigned) - I then had to manually update the VS2005 Toolbox to the new version.

I then created a new windows application and dropped a tChart on the form and got the same error:

Exception occurred creating type 'Steema.TeeChart.TChart, TeeChart, Version=2.0.3309.32489, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' System.NullReferenceException: Object reference not set to an instance of an object. C:\Projects\TeeChartW7\TeeChartApplication\TeeChartApplication\Properties\licenses.licx 1 TeeChartApplication

Where do I find the tutorials?

Thank you for your support on this issue!

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Posted: Mon May 21, 2012 3:34 pm
by 10050769
Hello SiPRO,

The tutorials of TeeChartFor.Net are always into the installer you download from download page and are install in a similar path as next:
C:\Program Files\Steema Software\Steema TeeChart for .NET 2012 4.1.2012.02280\Docs.

If in your installer you don't find the Tutorials, you can download the signed version where sure there are the reference and tutorials.

I hope will helps.

Thanks,

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Posted: Mon May 21, 2012 4:04 pm
by 9643144
Hi Sandra,

There was no registry entry for the design key - running TeeReg V2 using Administrator successfully created the entry and solved the problem

Thanks very much for your time :D