ASP.NET enable web site license
ASP.NET enable web site license
Hello
In https://www.steema.com/linkIn/tnetpro_startup the demo "How to enable the TeeChart.licenses file for a Web Forms (or other ASP.NET) application" it is for a webapplication. How to enable in a web site?
thanks
In https://www.steema.com/linkIn/tnetpro_startup the demo "How to enable the TeeChart.licenses file for a Web Forms (or other ASP.NET) application" it is for a webapplication. How to enable in a web site?
thanks
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: ASP.NET enable web site license
Hello,
yes, this should be better documented, we're sorry. To see the TeeChart.licenses file working for a web site, you can clone the WebDemo GitHub repo from here - when you open the solution in visual studio you should see the following:
if you replace the contents of the fake TeeChart.licenses with the contents of a real TeeChart.licenses and rebuild you should see the watermark disappear. This is the required structure - a resx file named Steema.resx with the TeeChart.licenses file embedded in it.
yes, this should be better documented, we're sorry. To see the TeeChart.licenses file working for a web site, you can clone the WebDemo GitHub repo from here - when you open the solution in visual studio you should see the following:
if you replace the contents of the fake TeeChart.licenses with the contents of a real TeeChart.licenses and rebuild you should see the watermark disappear. This is the required structure - a resx file named Steema.resx with the TeeChart.licenses file embedded in it.
Best Regards,
Christopher Ireland / 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 |
Re: ASP.NET enable web site license
Hi,
I did what you've recommended: The TeeChart.Licenses is the one generated by TeeCalc_Lic, and Steema.resx the one in GitHub
but still get the watermark. I'm using VisualStudio 2019 Professional and the Target Framework for the web site is .NET Framework 4.7.2.
I did what you've recommended: The TeeChart.Licenses is the one generated by TeeCalc_Lic, and Steema.resx the one in GitHub
but still get the watermark. I'm using VisualStudio 2019 Professional and the Target Framework for the web site is .NET Framework 4.7.2.
Re: ASP.NET enable web site license
Hi
In other solution, where its type is WebApplication there is the same problem.
In other solution, where its type is WebApplication there is the same problem.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: ASP.NET enable web site license
Hello,
does your TeeChart.licenses file work in a Windows Forms (or WPF) project, or is it only with ASP.NET that you have the problem? You could try putting the contents of your file into this link:
https://www.steema.com/linkIn/License_information_check
by which you will be able to see the end date of your license - if the TeeChart.dll assembly you are trying to use was released after the end date of your license it will not work.
does your TeeChart.licenses file work in a Windows Forms (or WPF) project, or is it only with ASP.NET that you have the problem? You could try putting the contents of your file into this link:
https://www.steema.com/linkIn/License_information_check
by which you will be able to see the end date of your license - if the TeeChart.dll assembly you are trying to use was released after the end date of your license it will not work.
Best Regards,
Christopher Ireland / 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 |
Re: ASP.NET enable web site license
Yes, it say :
Start Date Tue May 22 2018
Expiry Date Mon May 27 2019
But I renew my license at 24/5/19.
I will send the claim to sales
Start Date Tue May 22 2018
Expiry Date Mon May 27 2019
But I renew my license at 24/5/19.
I will send the claim to sales
Re: ASP.NET enable web site license
Hi,
now I have the correct license:
Start Date Thu May 23 2019
Expiry Date Wed May 27 2020
The WebApplication it is ok, but the website keep on showing the watermark.
Any other clue?
Thanks
now I have the correct license:
Start Date Thu May 23 2019
Expiry Date Wed May 27 2020
The WebApplication it is ok, but the website keep on showing the watermark.
Any other clue?
Thanks
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: ASP.NET enable web site license
Hello -
I've just tested the website that is the Steema example I mentioned here by replacing the contents of the TeeChart.licenses in that example with a valid license - the example then ran correctly without a watermark. Could you please try testing that example at your end? If that website works for you, then you could use it to compare it with the website you are having trouble with.
I've just tested the website that is the Steema example I mentioned here by replacing the contents of the TeeChart.licenses in that example with a valid license - the example then ran correctly without a watermark. Could you please try testing that example at your end? If that website works for you, then you could use it to compare it with the website you are having trouble with.
Best Regards,
Christopher Ireland / 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 |
Re: ASP.NET enable web site license
Hi,
I've done exactly what you ask, except that changed the target .NET Framework to 4.7.2 and it doesn't work as expected: Here the project explorer: As I've commented before, in projects type WebApplication an Windows forms, I solved the watermark problem with the same TeeChart.Licences.
I've done exactly what you ask, except that changed the target .NET Framework to 4.7.2 and it doesn't work as expected: Here the project explorer: As I've commented before, in projects type WebApplication an Windows forms, I solved the watermark problem with the same TeeChart.Licences.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: ASP.NET enable web site license
Hello,
I am using this configuration: Along with a valid TeeChart.licenses file: And I obtain the following result: I'm afraid I don't know why it doesn't work for you. Maybe you could upload your TeeChart.licenses file to:
http://steema.net/upload.aspx
And I can add this to the Web example, zip it up and send it to you.
I am using this configuration: Along with a valid TeeChart.licenses file: And I obtain the following result: I'm afraid I don't know why it doesn't work for you. Maybe you could upload your TeeChart.licenses file to:
http://steema.net/upload.aspx
And I can add this to the Web example, zip it up and send it to you.
Best Regards,
Christopher Ireland / 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 |
Re: ASP.NET enable web site license
Hi, what I'm experiencing in the demo is:
If I unistall teechart, install it again (via nuget) and runs the app, it works and shows charts without watermark, but only the first time. And when Visual Studio is closed and reopen, the watermark appears again.
More, if I delete TeeChart.licenses from Steema.resx, and add it again, the same result, when the app run, the watermark is not showed, but once closed and reopened Visual Studio, the watermark appears again.
If I unistall teechart, install it again (via nuget) and runs the app, it works and shows charts without watermark, but only the first time. And when Visual Studio is closed and reopen, the watermark appears again.
More, if I delete TeeChart.licenses from Steema.resx, and add it again, the same result, when the app run, the watermark is not showed, but once closed and reopened Visual Studio, the watermark appears again.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: ASP.NET enable web site license
Okay, I've been able to reproduce this issue and have added it to our issue-tracking software with id=2248 - as you can see, this issue has already been resolved, and the resolution to it will become available later today in a new NuGet package.
Best Regards,
Christopher Ireland / 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 |
Re: ASP.NET enable web site license
Hi, this version solved the problem in the demo, but in my real project I'm still see watermark. In it, I create dinamically the chart, something keep wrong. Could you test it in a page where the chart is created dinamically in code behind?
regards
regards
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: ASP.NET enable web site license
There's a page in the TeeChart WebDemo that creates a chart dynamically at runtime:
This page and chart appears without a watermark using the latest NuGet version:
If you still have problems in this area, could you please create a minimal, reproducible example and upload it to:
http://steema.net/uploads/
This page and chart appears without a watermark using the latest NuGet version:
If you still have problems in this area, could you please create a minimal, reproducible example and upload it to:
http://steema.net/uploads/
Best Regards,
Christopher Ireland / 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 |
Re: ASP.NET enable web site license
Hi, i will try, but it is no easy.
In a windows service the teechart is created and serialized, via WCF comes to WebSite where is deserialized in a new webchart. I've know the windows service got the license because it generates pdfs without watermark. In the website, no matter the license files are present or not, the chart is shown the same way (with watermark)......
In a windows service the teechart is created and serialized, via WCF comes to WebSite where is deserialized in a new webchart. I've know the windows service got the license because it generates pdfs without watermark. In the website, no matter the license files are present or not, the chart is shown the same way (with watermark)......