日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

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

發(fā)布時(shí)間:2025/7/14 52 豆豆
生活随笔 收集整理的這篇文章主要介紹了 .net 学习 报错 Invalid temp directory in chart handler configuration [c:\TempImageFiles\] 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

使用MSChart控件的時(shí)候有時(shí)候會(huì)碰到這樣的問(wèn)題:

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)試過(guò)程中不存在,發(fā)布到IIS才報(bào)此錯(cuò)。
解決方法:
1,把錯(cuò)誤提示中不存在的路徑建立一個(gè)真正的文件夾,因?yàn)榧偃绮淮嬖?#xff0c;系統(tǒng)不會(huì)自己建。

如:在C盤(pán)建一個(gè)名字為T(mén)empImageFiles的文件夾就可以解決了。

轉(zhuǎn)載于:https://www.cnblogs.com/topmount/p/8430623.html

總結(jié)

以上是生活随笔為你收集整理的.net 学习 报错 Invalid temp directory in chart handler configuration [c:\TempImageFiles\]的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。