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.
How can I get the URL for the chart from the middle tier?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |