【发布时间】:2018-12-08 06:27:23
【问题描述】:
从我的库项目中,我正在调用 WCF 服务,该服务返回以下错误消息。奇怪的是服务没有为这个请求创建任何日志。
*服务器堆栈跟踪:
在 System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(消息 回复、MessageFault 故障、字符串操作、MessageVersion 版本、 故障转换器故障转换器)在 System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime 操作,ProxyRpc& rpc) 在 System.ServiceModel.Channels.ServiceChannel.Call(字符串动作, Boolean oneway, ProxyOperationRuntime 操作, Object[] ins, Object[] 出局,TimeSpan 超时)在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime 操作)在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage 留言)
在 [0] 处重新抛出异常:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(消息数据& msgData,Int32 类型)在 MLibrary.ValidationService.IValidation.DetectEx(数据数据)在 MLibrary.ValidationService.ValidationClient.DetectEx(数据数据)在 MLibrary.Validator.Change(Int32 duration, List`1 params)*
【问题讨论】:
-
你尝试过 WCF 跟踪了吗?
-
是的,之后我得到了服务器堆栈跟踪部分