error: Invalid temp directory in chart handler configuration [c:\TempImageFiles\] > asp:Chart

I found a solution in this forum.  I changed the web config as:

From    
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />

To
 <add key="ChartImageHandler" value="storage=file;timeout=20;" />

原文地址:https://www.cnblogs.com/Kazaf/p/2256795.html