Page 1 of 1

VS 2022 license problem

Posted: Wed Jan 05, 2022 1:26 pm
by 15691797
With Teechart.NET v. 4.2021.12,20 I can't add the control on form. When using VS 2019 everything goes well.
And same happens when trying to open VS2019 project which has Teechart to VS2022, it wont open.

When adding to form:
Error is : Failed to create component 'TChart'
An instance of type 'Steema.TeeChart.Chart' was being created, and a valid license could not be granted for the type 'Steema.TeeChart.Chart'

Re: VS 2022 license problem

Posted: Fri Jan 07, 2022 4:16 pm
by 15691797
TeeCalc_Lic.exe runs ok and it creates a license file. Should TeeChart work under 2022 or do I need to use only VS2019 for now ?

Re: VS 2022 license problem

Posted: Tue Jan 18, 2022 5:26 pm
by 15692764
Hello!
I have the same problem with fresh install of Visual Studio 2022 and using WinForms projects.
I used NuGet to install the latest TeeChartNET 2022.1.10.
I used TeeCalc_Lic to generate a license file and followed all example videos on how to install a license.

I tried an existing VB.NET project with NET4.8 which has TeeChart 2018 components and I tried a fresh solution with NET4.8 and NET5.0. All show the same error

Re: VS 2022 license problem

Posted: Tue Jan 18, 2022 9:15 pm
by 15691797
Hi , I gave up after few hours of restarts and reinstalls. Was forced to change other chart component for urgent quick demo to get it done. But I hope we'll get updates for that in future . VS2019 is still working but laptop has no space enough to use to vstudio versions. Product is good though and after years that is my first time when I can't get my job done with it.

Re: VS 2022 license problem

Posted: Wed Jan 19, 2022 7:08 am
by Christopher
Hello,

Code: Select all

Hi , I gave up after few hours of restarts and reinstalls. Was forced to change other chart component for urgent quick demo to get it done. But I hope we'll get updates for that in future .
Shame we missed this one in real time, but it looks as though our timezones don't coincide.

We're looking at this issue again now - the last time we looked at it we weren't able to reproduce it, which is obviously not to deny there is a problem.

Just to remind you that you can use TChart without dragging the component from the toolbox to the Windows Form design surface by instantiating a TChart object at runtime and adding it into the Controls collections of the Form or Panel or other container. This will work independently of the issue described, and will enable you to continue working with TeeChart.

Re: VS 2022 license problem

Posted: Wed Jan 19, 2022 11:21 am
by Christopher
Hello,

Code: Select all

We're looking at this issue again now - the last time we looked at it we weren't able to reproduce it, which is obviously not to deny there is a problem.
This time I think we have been able to identify an issue, one that we've seen on our Windows 11 machine. For some reason we don't fully understand, TeeCalc_Lic.exe was only adding registry entries to the x86-64 nodes (WOW6432Node) and not to the normal x86 ones, meaning that the licensing conditions were not being met. Coincidentally we had rebuilt TeeCalc_Lic.exe less than a month a go to support WASM licensing, and this version does install the necessary registry entries in both sets of nodes, at least here. We've now made this version public at the same link:
http://www.steema.com/files/licensing/TeeCalc_Lic.zip

Could you please confirm that this version works for you?

Re: VS 2022 license problem

Posted: Wed Jan 19, 2022 3:07 pm
by 15691797
Hi,
Thank you very much. The new TeeCalc_Lic did the trick. Everything is working as expected now .

Antti