C# Chat曲线图,在发布之后出现错误 Invalid temp directory in chart handler configuration c:\TempImageFiles\

First error message: Invalid temp directory in chart handler configuration c:\TempImageFiles\

Solution: Changed dir in ChartImageHandler app settings in web.config

1
2
3
<appSettings>
     <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
</appSettings>

Then this error message: The temp directory in chart handler configuration is not accessible c:\xxx\images\

Followed error message suggestion and added access rights to directory (Properties – Security tab) for user NETWORK SERVICE

[Update: Other error message that can appear:
a) “Access to the path ‘C:\xxx\images\charts\chart.png’ is denied.” – this is the same as above, add rights for NETWORK SERVICE
b) “Could not find a part of the path ‘C:\xxx\images\charts\chart.png’.” – make sure directory exists or create it]

ConseQuently,make sure directory exists or create it.

posted on 2016-03-04 17:29 AdolphYang 阅读(...) 评论(...) 编辑 收藏

转载于:https://www.cnblogs.com/adolphyang/p/5242853.html

C# Chat曲线图,在发布之后出现错误 Invalid temp directory in chart handler configuration c:\TempImageFiles\...相关推荐

  1. MS SQL 2008 发布订阅配置错误总结

    最近在配置SQL 2008的发布订阅功能时,遇到了几个小错误,顺便归纳总结一下(以后碰到各类关于发布订阅的错误都将收录.更新到这篇文章),方便自己在以后碰到这类问题时,能够迅速解决问题.毕竟人的记忆能 ...

  2. 服务器响应失败,海关,发布失败。错误信息:此响应不是合法的JSON响应。 原因与解决方法...

    今天一位朋友,他刚用Wordpress搭建了一个博客,但是,当他去Wordpress后台发表文章的时候,出现了如下报错: 发布失败.错误信息:此响应不是合法的JSON响应. 我的这位朋友还是挺聪明的, ...

  3. Unity发布Android平台错误记录

    Unity发布Android平台错误记录 (1)Cannot parse project property android.enableR8='' of type 'class java.lang.S ...

  4. 报错解决——uwsgi错误invalid request block size

    uwsgi错误invalid request block size 使用uwsgi启动django代码,然后打开浏览器输入http://localhost:8000/admin.后台出现下面错误 in ...

  5. ubuntu错误 “cp: omitting directory”解决办法

    问题描述 在Linux系统使用cp(复制命令)复制目录时,常出现错误"cp:omitting directory "dir" "(dir是需要复制的目录名称), ...

  6. Linux常见错误 “cp: omitting directory/ cp: :Permission denied”解决办法

    1.问题描述:cp: omitting directory 在Linux系统使用cp(复制命令)复制目录时,常出现错误"cp:omitting directory "dir&quo ...

  7. ASP.NET MVC 发布IIS HTTP 错误 403.14 - Forbidden

    当发布MVC程序到IIS的时候,出现如下错误: 按照网上其他方法在配置文件添加: <system.webServer><directoryBrowse enabled="t ...

  8. Asp.Net微信发布菜单,出现“invalid sub button url domain hint”错误

    在微信后台建立好微信菜单后,调用发布接口进行发布操作时,出现了下面的问题: invalid sub button url domain hint [V85WIa0180vr23] 解决办法: 进入微信 ...

  9. Asp .net core 发布问题 NETSDK1061错误解决

    折腾半天,终于解决了! 具体原因见  https://aka.ms/dotnet-runtime-patch-selection 就是说在发布之前vs会检查.net core的版本,如果不是最新版本则 ...

  10. iis 发布MVC HTTP错误 403.14

    1. 在web.config增加<modules runAllManagedModulesForAllRequests="true" /> 如:问题依然不能解决.报错貌 ...

最新文章

  1. oracle home 命令,$ORACLE_HOMEbin目录下所有命令的使用方法及命令详解
  2. 程序员的灯下黑:不要忘记你的目标
  3. wps右键新建里面没有word和excel_wps常用的基本操作方法
  4. php robots.txt,robots.txt的写法
  5. C和指针之函数之把数字字符串转为整数并且返回这个数字(ascii_to_integer)
  6. Java 8函数式编程:延迟实例化
  7. 初中的算术(51Nod-1873)
  8. win7 蓝屏信息获取和处理
  9. adam算法效果差原因_电缆耐高温套管使用效果差的原因有哪些?
  10. 关于爬取网易云全部评论的一些疑问
  11. 蔚来汽车为国人长脸,牌照和品牌将是今后的两大重点
  12. 分享20个Android游戏源码,…
  13. JAVA使用JEP进行动态公式计算
  14. 阿里笔试——重庆阿里笔试题总结
  15. Android开发屏幕适配
  16. 怎么让代码的逻辑更清晰?
  17. html 播放微信amr音频文件,微信amr文件打开的方法
  18. 未来无生经超级计算机,第三十二章 有些鸡肋的未来无生经
  19. ubuntu安装软件包命令
  20. 同义词,反义词(antonym,synonym)的英文表达理解

热门文章

  1. 什么是restful api
  2. P1018 乘积最大(高精度加/乘)
  3. Noise,Error,wighted pocket Algorithm
  4. linux安装vmware出现Gtk-Message: Failed to load module pk-gtk-module canberra-gtk-module的解决方法...
  5. 关于 C# 请求 https 那点事
  6. javascript在firefox中对Dom的处理的一个问题
  7. python中字典dict的方法fromkeys
  8. react中的核心概念
  9. 【bzoj3298】[USACO 2011Open]cow checkers(博弈论)
  10. Tasty项目经验总结(不断补充中)