WCF分布式开发常见错误解决(12):The server was unable to process the request,服务无法处理请求
2014-05-16 22:20
1076 查看
http://tech.ddvip.com/2009-06/1245068403123972.html
进行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.
错误截图:
由于内部错误,无法处理请求。
解决办法:
在服务行为里配置错误属性即可:
添加如下代码到服务类:
双击代码全选
系列文章:
WCF分布式开发常见错误解决(1):An error occurred while attempting to find services at...添加服务引用出错
WCF分布式开发常见错误解决(2)无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接
WCF分布式开发常见错误解决(3):客户端调用服务出错
WCF分布式开发常见错误解决(4):The type or namespace name 'DataContract' could not be found DataContract找不到
WCF分布式开发常见错误解决(5)Could not find a base address that matches scheme
WCF分布式开发常见错误解决(6)Service 'WcfServiceApp.WCFService' has zero application
WCF分布式开发常见错误解决(7):System.InvalidOperationException,Cannot have two operations in the same contract
WCF分布式开发常见错误解决(8):不一致的访问性Inconsistent accessibility
WCF分布式开发常见错误解决(9):无终结点监听,There was no endpoint listening at
WCF分布式开发常见错误解决(10):套接字连接中断,The socket connection was aborted
WCF分布式开发常见错误解决(11):There is already a listener on IP endpoint ,IP 终结点 已经存在侦听器
WCF分布式开发常见错误(13):The transaction under which this method call was executing ,此方法调用的事务被异步中断
WCF分布式开发常见错误(14):无效的操作异常,At least one operation on the ...
WCF分布式开发常见错误(15):Communication with the underlying transaction manager has failed
WCF分布式开发常见错误(16):The Transaction has aborted,事务已经被中断
WCF分布式开发常见错误(17):无法启动MSMQ服务
进行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.
错误截图:
由于内部错误,无法处理请求。
解决办法:
在服务行为里配置错误属性即可:
添加如下代码到服务类:
WCF分布式开发常见错误解决(1):An error occurred while attempting to find services at...添加服务引用出错
WCF分布式开发常见错误解决(2)无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接
WCF分布式开发常见错误解决(3):客户端调用服务出错
WCF分布式开发常见错误解决(4):The type or namespace name 'DataContract' could not be found DataContract找不到
WCF分布式开发常见错误解决(5)Could not find a base address that matches scheme
WCF分布式开发常见错误解决(6)Service 'WcfServiceApp.WCFService' has zero application
WCF分布式开发常见错误解决(7):System.InvalidOperationException,Cannot have two operations in the same contract
WCF分布式开发常见错误解决(8):不一致的访问性Inconsistent accessibility
WCF分布式开发常见错误解决(9):无终结点监听,There was no endpoint listening at
WCF分布式开发常见错误解决(10):套接字连接中断,The socket connection was aborted
WCF分布式开发常见错误解决(11):There is already a listener on IP endpoint ,IP 终结点 已经存在侦听器
WCF分布式开发常见错误(13):The transaction under which this method call was executing ,此方法调用的事务被异步中断
WCF分布式开发常见错误(14):无效的操作异常,At least one operation on the ...
WCF分布式开发常见错误(15):Communication with the underlying transaction manager has failed
WCF分布式开发常见错误(16):The Transaction has aborted,事务已经被中断
WCF分布式开发常见错误(17):无法启动MSMQ服务
相关文章推荐
- WCF分布式开发常见错误(12):The server was unable to process the request,服务无法处理请求
- WCF分布式开发常见错误(12):The server was unable to process the request,服务无法处理请求
- Workflow4发布问题:The server was unable to process the request,服务无法处理请求 .
- 连接WCF出现错误:The server was unable to process the request due to an internal
- WCF分布式开发常见错误解决(1):An error occurred while attempting to find services at...添加服务引用出错
- WCF分布式开发常见错误(23):This could be due to the fact that the server certificate is not configured properly with HTTP.SYS
- SharePoint designer 2010编辑List的表单时出现错误:soap:Server was unable to process request. ---> Value does not fall within the expected range
- "无法启动Web服务器。Web服务器无法找到请求的资源" 或 "unable to start debugging on the web server.the web server could not find the request"解决方法
- WCF分布式开发常见错误解决(1):An error occurred while attempting to find services at...添加服务引用出错
- WCF分布式开发常见错误解决(9):无终结点监听,There was no endpoint listening at
- 解决错误:the application was unable to start correctly 0xc00007b,应用程序无法正常启动(0xc000007b)
- WCF分布式开发常见错误(22):The caller was not authenticated...如何在XP系统为WCF设置可信任的证书
- WCF分布式开发常见错误解决(1):添加服务引用出错
- 解决ASP.NET MVC(post数据)Json请求太大,无法反序列化(The JSON request was too large to be deserialized)
- WCF分布式开发常见错误解决(9):无终结点监听,There was no endpoint listening at
- windows上zend server安装 报The server encountered an internal error or misconfiguration and was unable to complete your request -解决方法 摘自网络
- 解决出现The FastCGI Handler was unable to process the request: 258 (0x80070102)的问题 等问题
- WCF分布式开发常见错误(3):客户端调用服务出错:You have tried to create a channel to a service that does not support .Net Framing
- WCF分布式开发常见错误(13):The transaction under which this method call was executing ,此方法调用的事务被异步中断
- WCF分布式开发常见错误解决(7):Cannot have two operations in the same contract