-
-

今天在项目ASP.NET调用远程服务器Webservice,出现如下错误:

Server was unable to process request. ---> Access to the temp directory is denied.  Identity 'NT AUTHORITY/NETWORK SERVICE' under which XmlSerializer is running does not have sufficient permission to access the temp directory.  CodeDom will use the user account the process is using to do the compilation, so if the user doesnt have access to system temp directory, you will not be able to compile.  Use Path.GetTempPath() API to find out the temp directory location.

用有道翻译结果如下:

服务器是无法处理的请求。——>访问临时目录被否定了。身份的新台币权威/网络服务的XmlSerializer下运转没有足够的权限存取临 时目录。CodeDom将使用用户帐号的过程是用做编写的,因此,如果用户不存取系统临时目录,您将无法编译。使用 Path.GetTempPath()API来找出临时目录地点。

解决方法:

进入远程服务器,设置目录权限,设置的目录如下:

C:/WINDOWS/Temp

设置用户NETWORK SERVICE的读取与运行的权限,如果不行就给所有权限。这样就可以了。

如果再不行就设置everyone的权限,就可以了。

Server was unable to process request.相关推荐

  1. Tomcat启动报错:严重: Unable to process Jar entry [module-info.class]

    1.Spring boot 版本:2.1.4.RELEASE 2.Tomcat版本:apache-tomcat-8.0.30 3.原因:Tomcat版本底,Spring boot 2.1.4对应的To ...

  2. 异常处理:SEVERE: Unable to process Jar entry [......]for annotations java.io.EOFException

    异常处理:SEVERE: Unable to process Jar entry [......]for annotations java.io.EOFException 参考文章: (1)异常处理: ...

  3. 小心sae的jvm异常导致的Error 404 – Not Found.No context on this server matched or handled this request....

    本来用着sae好好的,结果第二天部署的应用突然不好使了,各种Error 404 – Not Found.No context on this server matched or handled thi ...

  4. ubuntu安装ROS进行到rosdep update时出现错误,如ERROR: unable to process source ...

    1.错误描述: ming@ming:~$ rosdep update reading in sources list data from /etc/ros/rosdep/sources.list.d ...

  5. 记录个tomcat启动报错问题,Unable to process Jar entry

    记录个问题,Unable to process Jar entry [javassist/util/proxy/SerializedProxy.class] tomcat启动报错问题,但不影响使用,但 ...

  6. tomcat报错 Unable to process Jar entry

    错误描述:tomcat启动报下边的这个错.     错误现象: 09-Jul-2019 13:34:14.635 严重 [RMI TCP Connection(3)-127.0.0.1] org.ap ...

  7. ssm:Unable to process Jar entry

    项目启动报错:07-Apr-2020 14:58:45.083 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.startup ...

  8. 小心sae的jvm异常导致的Error 404 – Not Found.No context on this server matched or handled this request.

    小心sae的jvm异常导致的Error 404 – Not Found.No context on this server matched or handled this request. 参考文章: ...

  9. maven:Unable to process Jar entry [module-info.class] from Jar [jar:file:/ ...(log4j12, asm...) 解决

    (最近换了电脑,win10,eclipse最新版,jetty4.00,jdk1.8.项目突然就跑不起来了,asm6.0里面有个module-info.java,了解了下,是模块化的东东,需要jdk1. ...

最新文章

  1. 毕业设计:基于Springboot实现物流统计分析系统
  2. element-ui 表格table,动态显示每一列的,重置全选
  3. Leave List-Processing 新解
  4. Selenium - CSS Selector
  5. kafka再均衡监听器测试
  6. 显示当前行号、文件名和函数名
  7. ubuntu 16.0安装ros-kinetic
  8. webpack3.0 压缩css 但是不在html中引用,webpack怎样压缩css?
  9. nodejs window下安装与配置淘宝镜像
  10. Linux系统IO端口,Linux系统对IO端口和IO内存的管理
  11. Facts have proved that this is more popular than his article
  12. Python Imaging Library: ImageOps Module(图像运算模块)
  13. 一道三角函数相关级数求和问题
  14. PhotoShop介绍
  15. 清理服务器 归档日志文件,服务器归档日志模式
  16. TCP/IP路由技术(第1卷)(第2版) + TCP/IP路由技术(第2卷)(第2版)
  17. JavaScript实战——打气球游戏
  18. 中药复方在治疗慢性盆腔炎上的应用
  19. 瑞利、莱斯、高斯信道模型
  20. Springboot2中文件上传报java.io.FileNotFoundException: C:\Users\WIzarder\AppData\Local\Temp\tomcat.8080.589

热门文章

  1. php源码icloud,通过PHP的iCloud CalDAV
  2. 图像处理:显著性区域检测总结(二)
  3. 2022年小红书运营报告手册(共37份)
  4. CNC编程的12个小技巧,学会终身受益!
  5. DJI Flight Simulator 大疆飞行模拟器 安装教程
  6. 夜深人静写算法(三)- 树状数组
  7. 微信上的小程序店铺怎么做?
  8. WEB安全漏洞(持续更新)
  9. 如何修改HOST文件 映射
  10. 微软 oracle ibm,IBM:Oracle和SAP大战的制高点