Active X and IIS

TeeChart for ActiveX, COM and ASP
Post Reply
Chuck
Newbie
Newbie
Posts: 18
Joined: Tue Dec 13, 2005 12:00 am

Active X and IIS

Post by Chuck » 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;

}
}

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 Mar 27, 2007 12:59 pm

Hi Chuck,

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

Chuck
Newbie
Newbie
Posts: 18
Joined: Tue Dec 13, 2005 12:00 am

Post by Chuck » Tue Mar 27, 2007 1:00 pm

TeeChart Pro V6.0

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Apr 02, 2007 9:54 am

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 ?

Post Reply