Asp website release prompts [c:\TempImageFiles\] error solution for invalid temporary directory

The .net3.5 ASP.NET website is arranged on IIS, everything is ok when the machine is developed, and the graphics can be displayed, but once it is deployed on IIS, the graphics cannot be opened if it is accessed again. Hint: Invalid temp directory in image handler configuration [c:\TempImageFiles].
Solution:
delete the dir attribute in the configuration file, and call it a day~
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles;" />

screenshot

Guess you like

Origin blog.csdn.net/qq_28872655/article/details/126020362