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 ?
I'd like to test the TeeRegister utility, but I don't find it on the Customer's Download page.
Thanks for your help !
TeeChart licence problem
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Sorry Narcis but I already read the forum tread ....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.
... and I don't find the TeeRegv2 tool.
Can you post a link please ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Serge,
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.Sorry Narcis but I already read the forum tread ....
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?... and I don't find the TeeRegv2 tool.
Can you post a link please ?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Narcis, To solve the problem, I've added the 3 next values in the registry (3 values I exported from my development PC):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.
"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.
Yes I do ! Previously I was not in the rigth account (ActiveX version instead of .Net)...
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?
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