Are there any known issues with active x and IIS 5.0. I have a simple test page to generate a chart. While it generates no problem on my local server with IIS 5.1 when I deploy to web server running IIS 5.0 and win2000 the chart will not generate. See code below.
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TeeChart;
public partial class _Default : System.Web.UI.Page
{
TChart Chart = new TChart();
ESeriesClass c;
protected void Page_Load(object sender, EventArgs e)
{
Chart.Width = 300;
Chart.Height = 300;
Chart.AddSeries(c);
Chart.Series(0).FillSampleValues(6);
Chart.Series(0).ColorEachPoint = true;
string savefile = HttpContext.Current.Server.MapPath(@"\Charts\seqView.jpg");
Chart.Export.asJPEG.SaveToFile(savefile);
Image1.ImageUrl = savefile;
}
}
Active X and IIS
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Chuck,
Which TeeChart version are you using? Do you get any error message?
Thanks in advance.
Which TeeChart version are you using? Do you get any error message?
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 |
Hi Chuck,
it should work in the same way as using the IIS 5.1. I think the problem could be related with the permissions.
Check the permissions of the folder where you have the asp files. Are you ablle tu run asp files (which do not contain Charts) placed on the same folder ?
it should work in the same way as using the IIS 5.1. I think the problem could be related with the permissions.
Check the permissions of the folder where you have the asp files. Are you ablle tu run asp files (which do not contain Charts) placed on the same folder ?
Pep Jorge
http://support.steema.com
http://support.steema.com