---------------------------
--------------------------- İç bir hata nedeniyle sunucu isteği işleyemedi. Hata hakkında daha fazla bilgi için, istisna bilgisini istemciye geri göndermek için sunucuda IncludeExceptionDetailInFaults (ServiceBehaviorAttribute veya <serviceDebug> Configure Behavior bölümlerinden) etkinleştirin veya her Microsoft .NET Framework SDK belgesine iz açıp sunucu iz kayıtlarını kontrol edin. --------------------------- Emin misiniz ---------------------------
Bir WCF programını hata ayıklarken, bazen aşağıdaki hataya rastlayabilirsiniz:
System.ServiceModel.FaultException: 由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribute 或从 <serviceDebug> 配置行为)以便将异常信息发送回客户端,或在打开每个 Microsoft .NET Framework 3.0 SDK 文档的跟踪的同时检查服务器跟踪日志。 Sunucu yığını izi: System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood adresinde (Mesaj yanıtı, MessageFault hatası, String eylemi, MessageVersion sürümü, FaultConverter faultConverter) at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&rpc) at System.ServiceModel.Channels.ServiceChannel.Call (String action, Boolean oneway, ProxyOperationRuntime operation, Object[] in, Object[] outs, TimeSpan timeout) System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage, methodCall, ProxyOperationRuntime operation) adresinde. System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) içinde
[0]'da yeniden atılmış istisna: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) Bazı program istemleri atlanır
Özel sebep, WCF'nin sunucu tarafında olması <serviceDebug includeExceptionDetailInFaults="false"/> Yanlış olarak ayarlanıp doğru olarak değiştirildiyse, istemcide özel hata mesajını görebilirsiniz
|