The temp directory in chart handler configuration is not accessible

下午开始就遇到这个错误...

The temp directory in chart handler configuration is not accessible

中文翻译为: 在图标处理配置临时目录不能访问

我是在使用MSChart时候遇到的...  

web.config中你会发现这个在appSettings标记: <add key="ChartImageHandler" value="Storage=file;Timeout=20;Url=~/tempImages/;"/>  

 

你得到错误时,它试图权利或修改该文件夹,所有你需要的是给该文件夹的访问权。   

所以你要为 tempImages 文件夹赋予修改的权限..这样就可以了...

 

希望帮助和享受您的应用程序中使用的图表,浪费了我两个小时...%>_<%

posted @ 2009-12-17 17:47  吴庆阳  阅读(1079)  评论(0编辑  收藏  举报