连接WCF出现错误:The server was unable to process the request due to an internal
2013-11-29 09:02
876 查看
连接WCF时出现如下错误信息:
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server
in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
由于内部错误,无法处理请求。
解决办法 :
添加如下代码到服务类:
[ServiceBehavior(IncludeExceptionDetailInFaults = true)]
编译运行,问题解决!
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server
in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
由于内部错误,无法处理请求。
解决办法 :
添加如下代码到服务类:
[ServiceBehavior(IncludeExceptionDetailInFaults = true)]
编译运行,问题解决!
相关文章推荐
- WCF分布式开发常见错误(12):The server was unable to process the request,服务无法处理请求
- WCF分布式开发常见错误(12):The server was unable to process the request,服务无法处理请求
- SharePoint designer 2010编辑List的表单时出现错误:soap:Server was unable to process request. ---> Value does not fall within the expected range
- WCF分布式开发常见错误解决(12):The server was unable to process the request,服务无法处理请求
- PHP错误The server encountered an internal error or misconfiguration and was unable to complete your re
- The server encountered an internal error misconfiguration and was unable to complete your request.
- windows上zend server安装 报The server encountered an internal error or misconfiguration and was unable to complete your request -解决方法 摘自网络
- Zend Server 错误:The server encountered an internal error or misconfiguration and was unable to comple
- Zend Server 错误:The server encountered an internal error or misconfiguration and was unable to comple
- PHP错误The server encountered an internal error or misconfiguration and was unable to complete your re
- Unable to create this part due to an internal errorReason for the failure An unexpected exception was thrown
- 解决出现The FastCGI Handler was unable to process the request: 258 (0x80070102)的问题 等问题
- 调用公网上Web Service错误一例Server was unable to process request.
- Workflow4发布问题:The server was unable to process the request,服务无法处理请求 .
- The process was terminated due to an internal error in the .NET Runtime at IP 7915EE73 (79140000) wi
- 解决出现The FastCGI Handler was unable to process the request:258(0x80070102)的问题
- Server was unable to process request. ---> Object reference not set to an instance of an object解决
- 解决出现The FastCGI Handler was unable to process the request
- 升级adt插件后,eclipse突然出现Unable to build: the file dx.jar was not loaded from the SDK folder 错误