How to see the inner exception? RRS feed

  • Question

  • Hi, all

    I'm using Windows HPC 2008 server. I earned the next exception. As I understand i should see the inner exception of service. What does it mean and how to do it?


    System.ServiceModel.FaultException was unhandled by user code
      Message="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."
        Server stack trace:
           в System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
           в System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
           в System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
           в System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
           в System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
        Exception rethrown at [0]:
           в System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
           в System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
           в EncoderClient.EncoderService.IService1.EndConvert(IAsyncResult result)
           в EncoderClient.EncoderService.Service1Client.EndConvert(IAsyncResult result) в c:\demos\!last\encoder_copyfile\encoderclient\service references\encoderservice\Reference.cs:строка 73
           в EncoderClient.Program.<>c__DisplayClass3.<Main>b__1(IAsyncResult result) в C:\Demos\!Last\Encoder_copyFile\EncoderClient\Program.cs:строка 92
           в System.ServiceModel.AsyncResult.Complete(Boolean completedSynchronously)

    Wednesday, May 19, 2010 6:02 PM


All replies