使用MSChart控件的时候有时候会碰到这样的问题:

Invalid temp directory in chart handler configuration [c:\TempImageFiles\].

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Invalid temp directory in chart handler configuration [c:\TempImageFiles\].

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 
...

调试过程中不存在,发布到IIS才报此错。
解决方法:
1,把错误提示中不存在的路径建立一个真正的文件夹,因为假如不存在,系统不会自己建。

如:在C盘建一个名字为TempImageFiles的文件夹就可以解决了。

转载于:https://www.cnblogs.com/topmount/p/8430623.html

.net 学习 报错 Invalid temp directory in chart handler configuration [c:\TempImageFiles\]相关推荐

  1. mybatis报错 Invalid bound statement (not found)

    mybatis报错 Invalid bound statement (not found) 第一步:查看接口mapper和对应的xml文件的id是否一致 第二步:是由于maven默认加载机制造成 ma ...

  2. mysql is not empty_MySQL数据库之Xtrabackup恢复mysql数据时候报错:Original data directory is not empty!...

    本文主要向大家介绍了MySQL数据库之Xtrabackup恢复mysql数据时候报错:Original data directory is not empty! ,通过具体的内容向大家展现,希望对大家 ...

  3. maven报错Invalid packaging for parent POM must be “pom” but is “war”

    今天在学习maven的时候,设置了父子模块. 父模块的pom文件 <parent><groupId>org.springframework.boot</groupId&g ...

  4. server 2008 mysql 报错 0xc000007b_docker插件部署项目,volumes报错invalid volume specification...

    关于idea使用docker插件部署项目,volumes报错invalid volume specification 观察volumes那行,没写错的.但是........ 使用docker-comp ...

  5. MATLAB报错Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs. Image

    MATLAB报错Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs. Image ...

  6. C# Excel导出超出65536行报错 Invalid row number (65536) outside allowable range (0..65535)

    C# Excel导出超出65536行报错 Invalid row number (65536) outside allowable range (0-65535) 一:报错 Invalid row n ...

  7. CRMEB知识付费系统安装搭建【常见问题-19.支付宝支付报错invalid [default store dir]: /tmp/】

    支付宝支付 报错 invalid [default store dir]: /tmp/ 1.如果使用支付宝sdk,首先lotusphp_runtime 文件也要一起使用 支付宝现在的php sdk中有 ...

  8. 小程序报错 Invalid regular expression: invalid group specifier name

    export const getFileType = (fileName) => {if (!fileName) return '';//↓此处报错 Invalid regular expres ...

  9. 兼容性问题:安卓正常,ios报错invalid group specifier name

    翻了很多网上的解决办法,最终发现竟然是因为正则表达式出了问题,安卓和苹果支持的正则表达式格式可能不太一样,但是之前苹果机型一直没出问题,最近才出现问题 常用零宽断言:?<=.?<!.?!. ...

最新文章

  1. html页面判断其他div为空,将外部html加载到div中 - 页面加载然后变为空白
  2. Set常用用法元素检索
  3. react 组件怎么公用_React、Redux与复杂业务组件的复用
  4. vue node --- 前后端联系的知识梳理
  5. 从汇编代码的角度观察switch与if...else,乘除与移位的差别
  6. ORA-00257归档日志写满的解决方法 - xwdreamer - 博客园
  7. 计算机组装的虚拟仿真实验报告,组装计算机的虚拟实验室
  8. 服务器有效设置防止web入侵
  9. 祝贺中国推送联盟初测成功
  10. 深度分析《英雄联盟》游戏运营商背后的大数据支撑体系
  11. idea社区版已经足够强大了
  12. 微信小程序地图定位当前位置
  13. 2020最新项目经理面试题(持续更新)
  14. 苹果鼠标右键怎么按_iPadOS 鼠标支持详解
  15. web端的兼容性测试
  16. matplotlib交互式数据光标实现——mpldatacursor
  17. 在Excel表格中插入函数,利用公式进行计算
  18. docker swarm和docker service
  19. XRename(文件文件夹超级重命名工具)简介
  20. 单片机(3)跑马灯,按钮控制的跑马灯(2种编程)

热门文章

  1. (转)Vix_API 操作 VMware
  2. unix cut命令
  3. android 设置控件的透明度
  4. 怎么样让自己更加从容的面对生活
  5. 高效开发 Dubbo?用 Spring Boot 可得劲!
  6. 在ASP.NET Web API中使用OData的Action和Function
  7. WPF自定义控件(四)の自定义控件
  8. 2018年1月29日
  9. Exact跻身全球发展最快的云企业行列
  10. Oracle 11g数据库的部署