How can I get the URL for the chart from the middle tier?
Posted: 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.
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.