none
WCF Error RRS feed

  • Question

  • I am getting the following error with my WCF project...  Is there anyone who can give me an idea of what the heck this is really saying?

    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:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, 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[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at IClientHost.Is_Lic(String Prod)
       at ClientHostClient.Is_Lic(String Prod)

    Thursday, August 1, 2013 4:25 PM

Answers

  • @Reed -  IncludeExceptionDetailsInFaults is said to be a server-side setting.  I am getting this error at the client so I don't think this applies.  When added it does not get recognized as anything but an invalid entry.

    @AmyPeng - Thanks for the code examples, but they produce errors in my config file, so they are at this point, rather useless.

    @Subhendu - Thanks for the tip on SOAP Fault Contract.  When I go to Microsoft's page to try to gain an understanding of the stuff, I get an error that tells me the page cannot be displayed.  When I do a search to find information on it, I get the same thing - page cannot be displayed.

    I will once again have to play hunt and peck to resolve this mess.

    Thanks anyway.

    • Marked as answer by B_E_L Monday, August 5, 2013 2:25 PM
    Monday, August 5, 2013 2:24 PM

All replies