Liense.licx Visual Studio 2003 & Visual Studio 2005

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
MikeThelad
Newbie
Newbie
Posts: 7
Joined: Fri Jan 16, 2004 5:00 am
Location: UK

Liense.licx Visual Studio 2003 & Visual Studio 2005

Post by MikeThelad » Thu May 17, 2007 2:22 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu May 17, 2007 2:30 pm

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.
Is what I am trying to achieve possible or do I need to convert the 2003 project to 2005.
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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

MikeThelad
Newbie
Newbie
Posts: 7
Joined: Fri Jan 16, 2004 5:00 am
Location: UK

Post by MikeThelad » Thu May 17, 2007 2:35 pm

Already set to session.

Do not really want to convert to 2005 as is not a straight foward as it should be.

Should it be possible to use Teechart 1 in both 2005 and 2003

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu May 17, 2007 3:42 pm

Hi MikeThelad,
Already set to session.
Was your problem solved then?
Should it be possible to use Teechart 1 in both 2005 and 2003
Yes, latest TeeChart for .NET v1 build available at the client download area can be used in both VS2003 and VS2005.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

MikeThelad
Newbie
Newbie
Posts: 7
Joined: Fri Jan 16, 2004 5:00 am
Location: UK

Post by MikeThelad » Thu May 17, 2007 3:57 pm

Not solved, have version v1.1.4322

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu May 17, 2007 4:01 pm

Hi MikeThelad,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Post by MikeTheLad » Mon May 21, 2007 11:06 am

All is get this red cross, like when an image can't be found.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 21, 2007 1:02 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Post by MikeTheLad » Mon May 21, 2007 2:46 pm

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);
}
}
}

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 21, 2007 2:52 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Post by MikeTheLad » Mon May 21, 2007 3:00 pm

Hi,

Have just moved the getchart.aspx into the root and no different, still red cross and when I add a break point it is not being called. You say as per the Demo on Version 2. I am using version 1

Mike

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 21, 2007 3:24 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Post by MikeTheLad » Mon May 21, 2007 3:44 pm

Uploaded a zip file containing getchart and our test graph page

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue May 22, 2007 9:25 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Post by MikeTheLad » Tue May 22, 2007 12:58 pm

Have created a brand new solution and project and imported my test graph page and get chart program and I get the same result. I have uploaded WebProject1.zip

Post Reply