ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Same chart all the time
Posted by w. Reiman on Apr-09-2016 02:10
I'm encountering a problem a with the deployment of a chart director application to an IIS server. When running the application in VS 2012 , C# on my laptop everything works fine.
But in deployment to the server running IIS the charts come back with the same data points all the time no matter what choices are chosen. I'm a bit new to this project, so I am not up on all the in's and out of how it should be deployed, but I am starting to believe that there is something in the server setup that is causing this. I have not seen any errors in the code.

Any help would be welcome.

  Re: Same chart all the time
Posted by Peter Kwan on Apr-11-2016 04:04
Hi w. Reiman,

ChartDirector plots charts based on the data your code provide. If the chart does not change, there are two possibilities:

(a) Your code provides the same data, so the same chart is drawn. To verify, you may  include the current time in the chart title. In this way, even if your code provides the same data, the chart title will change. If your code in fact provides the same data, please debug the code to determine why it obtains the same data everytime.

(b) The browser is just displaying cached images. If this is the case, the timestamp in the chart title would not change. For example, if you are saving the chart as an image and provide the URL in the web page, the browser may cache the image and so it will not be updated. (In our sample code, the chart is handled with WebChartViewer which uses a different URL everytime, so the browser cannot cache it.)

If you web site is accessible from the Internet, and if you can provide the link, I can go in to have a look. If you cannot provide the link in a public forum, you may email me at pkwan@advsofteng.net.

Regards
Peter Kwan