非非非非 2021-07-02 16:46 采纳率: 0%
浏览 13

The server was unable to pr 求原因及解决办法。

RROR - System.ServiceModel.FaultException: 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 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)

  • 写回答

1条回答 默认 最新

  • 山外有山a 2024-02-26 09:40
    关注

    看起来你在使用.NET Framework中的WCF服务时遇到了一个内部错误。根据错误消息,建议你可以尝试在服务器端开启IncludeExceptionDetailInFaults选项,这样就能将异常信息发送回客户端,以便更好地调试问题。另外,你也可以开启跟踪(trace)功能,查看服务器跟踪日志,来获取更详细的错误信息。希望对你有所帮助!

    评论

报告相同问题?