Active X and IIS
Posted: Tue Mar 27, 2007 12:52 pm
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;
}
}
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;
}
}