How can I get the URL for the chart from the middle tier?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Bev
Newbie
Newbie
Posts: 7
Joined: Fri Jan 30, 2004 5:00 am

How can I get the URL for the chart from the middle tier?

Post by Bev » Wed Feb 08, 2006 9:15 pm

From a class within a middle tier c# component I am creating a .ten file as follows

ch1.Export.Template.Save(sGraphFileName);

where sGraphFileName is \\servername\foldername\something.ten

This successfully creates a .ten file in the desired location.

I then attempt to run the following:

ch1.Import.Template.Load(sGraphFileName);

in the hope that this will create the png file. This works from the code behind page (.aspx.cs) however when executing it from a middle tier class I get error Object not set to an instance of an object.

Is there another way of creating the png from a middle tier component?

We need to be able to create the png file from the middle tier because of security issues when creating it from the code behind (or website). This is because we have a clustered server environment and when we create it from the website any access to it from a client creates a double hop with security which we dont allow.

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 Feb 09, 2006 4:02 pm

Hi Bev,

Could you please arrange and send us a simple example we can run "as-is" to reproduce the problem here?

You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
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

Post Reply