Liense.licx Visual Studio 2003 & Visual Studio 2005
-
- Newbie
- Posts: 7
- Joined: Fri Jan 16, 2004 5:00 am
- Location: UK
Liense.licx Visual Studio 2003 & Visual Studio 2005
I am using Teechart V1 and have an application working fine in Visual Studio 2005 .Net framework 2.
I am trying try add teechart to a 2003 project on the same developer machine and am having license problems, I have tried removing the license.licx file from the project. Then I did "Build Web Site". The build was successful. However, when I executed the code, I did not see any webchart on the webpage (as it might not have found any license).
Is what I am trying to achieve possible or do I need to convert the 2003 project to 2005.
I am trying try add teechart to a 2003 project on the same developer machine and am having license problems, I have tried removing the license.licx file from the project. Then I did "Build Web Site". The build was successful. However, when I executed the code, I did not see any webchart on the webpage (as it might not have found any license).
Is what I am trying to achieve possible or do I need to convert the 2003 project to 2005.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MikeThelad,
Regarding project licensing please read Tutorial 17 - Designtime, Runtime and License Requirements. Also, if the chart is not visible in a webpage please read Tutorial9 - ASP.NET Applications, specially the TempChart property section. I recommend you to set it to Session.
Regarding project licensing please read Tutorial 17 - Designtime, Runtime and License Requirements. Also, if the chart is not visible in a webpage please read Tutorial9 - ASP.NET Applications, specially the TempChart property section. I recommend you to set it to Session.
If you try to open in VS2005 a project you created with VS2003, VS2005 will most likely ask you if you want the project automatically converted.Is what I am trying to achieve possible or do I need to convert the 2003 project to 2005.
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 |
-
- Newbie
- Posts: 7
- Joined: Fri Jan 16, 2004 5:00 am
- Location: UK
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MikeThelad,
Was your problem solved then?Already set to session.
Yes, latest TeeChart for .NET v1 build available at the client download area can be used in both VS2003 and VS2005.Should it be possible to use Teechart 1 in both 2005 and 2003
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 |
-
- Newbie
- Posts: 7
- Joined: Fri Jan 16, 2004 5:00 am
- Location: UK
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MikeThelad,
Ok, do you get any error message or a not-displayed image with the typical red cross?
Ok, do you get any error message or a not-displayed image with the typical red cross?
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 |
-
- Newbie
- Posts: 65
- Joined: Mon Jan 19, 2004 5:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MikeTheLad,
Then it's most likely to be a TempChart problem. If you set that property to Session, have you added GetChart.aspx.cs to the project as told in the tutorial?
Thanks in advance.
Then it's most likely to be a TempChart problem. If you set that property to Session, have you added GetChart.aspx.cs to the project as told in the tutorial?
Thanks in advance.
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 |
-
- Newbie
- Posts: 65
- Joined: Mon Jan 19, 2004 5:00 am
I do have a getchart.aspx as below, if add a break point, this is not being called. The graph is in a subfolder, I have put the getchart.aspx in the same folder as the graph, is this correct?
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
public class getchart : System.Web.UI.Page
{
private void Page_Load(object sender, EventArgs e)
{
string chartName = Request.QueryString["Chart"];
if (Session[chartName] != null)
{
System.IO.MemoryStream chartStream = new System.IO.MemoryStream();
chartStream = ((System.IO.MemoryStream)Session[chartName]);
Response.OutputStream.Write(chartStream.ToArray(), 0, (int)chartStream.Length);
chartStream.Close();
Session.Remove(chartName);
}
}
}
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
public class getchart : System.Web.UI.Page
{
private void Page_Load(object sender, EventArgs e)
{
string chartName = Request.QueryString["Chart"];
if (Session[chartName] != null)
{
System.IO.MemoryStream chartStream = new System.IO.MemoryStream();
chartStream = ((System.IO.MemoryStream)Session[chartName]);
Response.OutputStream.Write(chartStream.ToArray(), 0, (int)chartStream.Length);
chartStream.Close();
Session.Remove(chartName);
}
}
}
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MikeTheLad,
You should put GetChart.aspx at the project's root folder as it is done with the ASP.NET demo shipped with TeeChart for .NET v2. You'll find the demo's project at C:\Program Files\Steema Software\TeeChart for .NET v2\TeeChartForNET.
You should put GetChart.aspx at the project's root folder as it is done with the ASP.NET demo shipped with TeeChart for .NET v2. You'll find the demo's project at C:\Program Files\Steema Software\TeeChart for .NET v2\TeeChartForNET.
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 |
-
- Newbie
- Posts: 65
- Joined: Mon Jan 19, 2004 5:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mike,
Ok, v1 also has WebForms example. Could you please have a look at them? If problem persist please send us a simple example project we can run "as-is" to reproduce the problem here.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Ok, v1 also has WebForms example. Could you please have a look at them? If problem persist please send us a simple example project we can run "as-is" to reproduce the problem here.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
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 |
-
- Newbie
- Posts: 65
- Joined: Mon Jan 19, 2004 5:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MikeTheLad,
Thanks for the files but we couldn't run them here since your asp.net page contained several controls and dependencies we don't have here.
Would you be so kind to arrange and send us a simple example project of a website using TeeChart on it so that we can reproduce the problem here?
Thanks in advance.
Thanks for the files but we couldn't run them here since your asp.net page contained several controls and dependencies we don't have here.
Would you be so kind to arrange and send us a simple example project of a website using TeeChart on it so that we can reproduce the problem here?
Thanks in advance.
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 |
-
- Newbie
- Posts: 65
- Joined: Mon Jan 19, 2004 5:00 am