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

Message ListMessage List     Post MessagePost Message

  ChartDirector not showing all the charts in the asp webpage
Posted by Raymi Salazar on Sep-25-2013 06:43
Attachments:
Hi everybody!

I started working in this company a couple of months ago.

We have a Microsoft SBS 2003 Server OS using asp.net 1.1 and visual studio .NET 2003

The designer of the website installed chardirector to generate charts for a stadistic analisys
of data (3 donut charts and about 14 multiline charts)

The ASE's product is still unregistered so the charts show the yellow information line.

time to time the webpage doesn't show the donut charts but shows the other graphics....

Some time later it shows all the graphics as nothing hapend

Please if yo can help me to solve this problem


Thank you


Raymi
screen.JPG

  Re: ChartDirector not showing all the charts in the asp webpage
Posted by Peter Kwan on Sep-26-2013 01:45
Hi Raymi,

If a chart is not shown, I can think of the following possibilities:

(a) The code that created the web page does not put the chart there, so it has no chart.

(b) The code that creates the web page ask ChartDirector to create an empty chart (eg. the code for some reason cannot obtain the data from the database), so the nothing is displayed on the screen.

(c) The code puts the chart there (using ChartDirector), but for some reason the create does not get generated correctly or cannot be delivered to the browser. In this case, the web page should have a "broken image symbol". (In IE, it is like a small "red X".)

In your case, it seems there is no "broken image" symbol. To confirm, when the issue occurs, please immediately view the HTML source (in many browsers, you can right click on the page and select "View Source"), and manually copy and paste the HTML source to Notepad and save it. After that, use "File/Save As" on the browser to try to save the entire web page with all the images, Javascripts, style sheet, and other things. (You still need to "manually copy the HTML first", because the "File/Save As" may not be reliable in getting the exact HTML on the browser.)

We can then analyze the saved HTML and the web page to see if the chart is not generated or delivered correctly (by looking at the URLs of the the <IMG> tags for the chart images), or there is not even a chart object on the web page (we cannot even find the <IMG> tag). If there is in fact a valid image, we can examine to check if it is an empty image.

In non-server systems (eg. running on Windows 7, Vista or XP), the IIS has a 10 concurrent session limit by default, and if there are many charts on the same web page, it is easy to break the limit. However, as you mention you are using Windows SBS 2003 Server OS, the IIS session limit issue should not be a concern.

With the above method, we can narrow down on where to trace the issue. For example, if no <IMG> tag is found, we can look at the part of the code responsible for that part to try to diagnose the issue.

If you need further help, you may email the HTML output and also the "Save As" web page to me for analysis. (Please send a copy that shows the error, and also a copy that occurs when everything is working.) My email is pkwan@advsofteng.net

Regards
Peter Kwan