Server was unable to process request.
来源:互联网 发布:羽毛球包双肩背包淘宝 编辑:程序博客网 时间:2024/06/07 01:32
今天在项目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.
- 连接WCF出现错误:The server was unable to process the request due to an internal
- 调用公网上Web Service错误一例Server was unable to process request.
- Server was unable to process request. ---> Object reference not set to an instance of an object解决
- WCF分布式开发常见错误(12):The server was unable to process the request,服务无法处理请求
- WCF分布式开发常见错误解决(12):The server was unable to process the request,服务无法处理请求
- 解决出现The FastCGI Handler was unable to process the request
- HTTP500错误:FastCGI Error:The FastCGI Handler was unable to process the request.
- Server error! The server encountered an internal error and was unable to complete your request. Ei
- SpringBoard was unable to service the request.
- 解决出现The FastCGI Handler was unable to process the request: 258 (0x80070102)的问题 等问题
- PHP配置的严重问题,终于解决了,The FastCGI Handler was unable to process the request.
- The server encountered an internal error misconfiguration and was unable to complete your request.
- MyEclipse Tern was unable to complete your request in time
- Unable to Create Process
- Server Tomcat was unable to start within 45 seconds.
- linked server "XXX" was unable to begina distributed transaction.
- was Unable to start bootstrap server using port 2809
- myeclipse的link插件安装方式 - [工具配置]
- 总结最近的自己
- VB读取excel表中的数据
- CryptProtectData/CryptUnprotectData加解密
- 开发J2ME应用必须知道的一些问题
- Server was unable to process request.
- VB读取excel表数据
- sicily 1089 欧拉函数递推
- XP处理正版五角星方法
- 对比几个同步对象
- SQL编码规范(收集)
- C# 判断Windows版本及CPU位数
- c++ 之类的前置声明
- IE9.0如何显示录制步骤列表