.net 学习 报错 Invalid temp directory in chart handler configuration [c:\TempImageFiles\]
使用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\]的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: IntelliTest(5) - The
- 下一篇: Springmvc与Struts2不同