.net 学习 报错 Invalid temp directory in chart handler configuration [c:\TempImageFiles\]
使用MSChart控件的時(shí)候有時(shí)候會碰到這樣的問題:
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:?
...
調(diào)試過程中不存在,發(fā)布到IIS才報(bào)此錯(cuò)。
解決方法:
1,把錯(cuò)誤提示中不存在的路徑建立一個(gè)真正的文件夾,因?yàn)榧偃绮淮嬖?#xff0c;系統(tǒng)不會自己建。
如:在C盤建一個(gè)名字為TempImageFiles的文件夾就可以解決了。
轉(zhuǎn)載于:https://www.cnblogs.com/topmount/p/8430623.html
總結(jié)
以上是生活随笔為你收集整理的.net 学习 报错 Invalid temp directory in chart handler configuration [c:\TempImageFiles\]的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: IntelliTest(5) - The
- 下一篇: Springmvc与Struts2不同