Page 1 of 1

Active X and IIS

Posted: Tue Mar 27, 2007 12:52 pm
by 9089490
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;

}
}

Posted: Tue Mar 27, 2007 12:59 pm
by narcis
Hi Chuck,

Which TeeChart version are you using? Do you get any error message?

Thanks in advance.

Posted: Tue Mar 27, 2007 1:00 pm
by 9089490
TeeChart Pro V6.0

No errors appear. The page just keeps trying to load the chart and hangs.

Posted: Mon Apr 02, 2007 9:54 am
by Pep
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 ?