ASP.NET Chart not showing in Web Farm Env

We are using Microsoft's charting control built-in ASP.NET 3.5 but Chart image sometimes doesn't come up. Instead, it shows a broken Image icon.

We are using SQL Server for session and we have 2 server's web farm. We found a suggestion on one of the forums to use STORAGE=SESSION in a web farm environment but that doesn't work either.

This is the entry we have in web.config file.


Can anyone suggest why the CHART control doesn't work in Web Farm Environment.


While this is old, I did just have the problem as well, and following information in (but, note, we are using Framework 4.5), then changing the web config from

 add key="ChartImageHandler"   value="storage=file;timeout=20;dir=C:\inetpub\temp\ImageFiles\;"

to add key="ChartImageHandler" value="storage=session;timeout=20"/

worked fine.

Have you made this setting?

MyChart.ImageStorageMode = ImageStorageMode.UseHttpHandler;

Need Your Help