Page 1 of 1

TeeChart licence problem

Posted: Wed Oct 11, 2006 8:48 am
by 9088724
Hi,
When I deploy my software on a PC / Win2000, I have the save error i've seen in several posts :

System.NullReferenceException: Object reference not set to an instance of an object.
at Steema.TeeChart.FrAccessProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
... etc.


1/ I use teeChart V2.020040.15119 / Visual Studio 2005 C#

2/ The lecences.licx file contains seems to be OK : Steema.TeeChart.TChart, TeeChart, Version=2.0.2040.15119, Culture=neutral, PublicKeyToken=9c8126276c77bdb7

3/ When I change the registry
"DesignKeyV2" Steema.TeeChart.TChart is a licensed component.
to xxSteema.TeeChart.TChart is a licensed component.
I have an error on compilation (so I think the licence is well included to my software)

4/ The TeeChart.DLL version I deploy is the right version (2.0.2040.15119)


And now ? what can I do ? :shock:
I'd like to test the TeeRegister utility, but I don't find it on the Customer's Download page.

Thanks for your help ! :oops:

Posted: Wed Oct 11, 2006 9:09 am
by narcis
Hi Serge,

Please read this forums thread where it is explained how to proceed in such a situation. A design-time license is not necessary for deploying an application.

Anyway, TeeRegister tool (TeeRegv2) can be found at the bottom of TeeChart for .NET v2 download pages.

Also notice that the version you are using is from August 2005 and since then we have released a number of maintenance upgrades in which you may be interested as they include several bug fixes and new features.

Posted: Wed Oct 11, 2006 10:06 am
by 9088724
narcis wrote:Hi Serge,

Please read this forums thread where it is explained how to proceed in such a situation. A design-time license is not necessary for deploying an application.

Anyway, TeeRegister tool (TeeRegv2) can be found at the bottom of TeeChart for .NET v2 download pages.

Also notice that the version you are using is from August 2005 and since then we have released a number of maintenance upgrades in which you may be interested as they include several bug fixes and new features.
Sorry Narcis but I already read the forum tread ....
... and I don't find the TeeRegv2 tool.
Can you post a link please ?

Posted: Wed Oct 11, 2006 10:59 am
by narcis
Hi Serge,
Sorry Narcis but I already read the forum tread ....
Then I'd suggest you to upgrade your TeeChart for .NET v2 version for the latest maintenance release available at the client area. In a December 2005 release a fix was included to solve an issue where a WebChart control was dependent on Designtime (registry) license at runtime with compiled licenses.licx. Which is most likely to be your problem.
... and I don't find the TeeRegv2 tool.
Can you post a link please ?
I'm afraid I can't post a private download link here. If you go to the TeeChart for .NET v2 download page, at the very bottom you'll find a section called "Registration utility", that's where you'll find that tool. Don't you see this section?

Posted: Wed Oct 11, 2006 4:23 pm
by 9638723
Then I'd suggest you to upgrade your TeeChart for .NET v2 version for the latest maintenance release available at the client area. In a December 2005 release a fix was included to solve an issue where a WebChart control was dependent on Designtime (registry) license at runtime with compiled licenses.licx. Which is most likely to be your problem.
Narcis, To solve the problem, I've added the 3 next values in the registry (3 values I exported from my development PC):
"VirtualShare"="/TeeChartForNET"
"ShareFolder"="C:\\Program Files\\Steema Software\\TeeChart for .NET v2\\TeeChartForNET"
"DesignKeyV2"="Steema.TeeChart.TChart is a licensed component."
...and now it's OK.


...
I'm afraid I can't post a private download link here. If you go to the TeeChart for .NET v2 download page, at the very bottom you'll find a section called "Registration utility", that's where you'll find that tool. Don't you see this section?
Yes I do ! Previously I was not in the rigth account (ActiveX version instead of .Net)
TeeRegV2 didnt solve the problem because it generate the next error
"Error creating registry entry."
However it's OK with manual registry entries

Thanks for your help !
Serge