V2 Licencing running in VS2005 under Windows 7 Professional

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
SiPRO
Newbie
Newbie
Posts: 3
Joined: Thu Nov 23, 2006 12:00 am

V2 Licencing running in VS2005 under Windows 7 Professional

Post by SiPRO » 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?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Post by Sandra » Mon May 21, 2012 11:01 am

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,
Best Regards,
Sandra Pazos / 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

SiPRO
Newbie
Newbie
Posts: 3
Joined: Thu Nov 23, 2006 12:00 am

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Post by SiPRO » Mon May 21, 2012 12:03 pm

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!

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Post by Sandra » Mon May 21, 2012 3:34 pm

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,
Best Regards,
Sandra Pazos / 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

SiPRO
Newbie
Newbie
Posts: 3
Joined: Thu Nov 23, 2006 12:00 am

Re: V2 Licencing running in VS2005 under Windows 7 Professional

Post by SiPRO » Mon May 21, 2012 4:04 pm

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

Post Reply