安全处理器无法在消息中找到安全标头

时间:2010-09-21 13:58:28

标签: wcf wcf-security

最近在我的一台机器上,我的客户端(WCF客户端)在与WCF服务器通话时遇到问题。服务器和客户端都在同一台机器上运行。该机器是Windows7 64位机器。它过去一直很好,直到最近。相同的软件在配置完全相同的所有其他机器上运行良好。我真的很困惑。有人可以让我知道可能是什么问题吗?

异常类型: System.ServiceModel.Security.MessageSecurityException,System.ServiceModel,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089

消息: 安全处理器无法在消息中找到安全标头。这可能是因为消息是不安全的故障,或者因为通信方之间存在绑定不匹配。如果为安全性配置服务且客户端未使用安全性,则会发生这种情况。

堆栈跟踪: System.ServiceModel.Security.TransportSecurityProtocol.VerifyIncomingMessageCore(消息和消息,TimeSpan超时) System.ServiceModel.Security.TransportSecurityProtocol.VerifyIncomingMessage(消息和消息,TimeSpan超时) System.ServiceModel.Security.SecurityProtocol.VerifyIncomingMessage(消息和消息,TimeSpan超时,SecurityProtocolCorrelationState [] correlationStates) System.ServiceModel.Channels.SecurityChannelListener 1.ServerSecurityChannel 1.VerifyIncomingMessage(消息和消息,TimeSpan超时,SecurityProtocolCorrelationState [] correlationState) System.ServiceModel.Channels.SecurityChannelListener 1.SecurityReplyChannel.ProcessReceivedRequest(RequestContext requestContext, TimeSpan timeout) System.ServiceModel.Channels.SecurityChannelListener 1.ReceiveRequestAndVerifySecurityAsyncResult.ProcessInnerItem(RequestContext innerItem,TimeSpan timeout) System.ServiceModel.Channels.SecurityChannelListener 1.ReceiveItemAndVerifySecurityAsyncResult 2.OnInnerReceiveDone() System.ServiceModel.Channels.SecurityChannelListener 1.ReceiveItemAndVerifySecurityAsyncResult 2.InnerTryReceiveCompletedCallback(IAsyncResult result) System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) System.ServiceModel.AsyncResult.Complete(Boolean completedSynchronously) System.ServiceModel.Channels.InputQueue 1.AsyncQueueReader.Set(Item item) System.ServiceModel.Channels.InputQueue 1.EnqueueAndDispatch(Item item,Boolean canDispatchOnThisThread) System.ServiceModel.Channels.InputQueue 1.EnqueueAndDispatch(T item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread) System.ServiceModel.Channels.InputQueueChannel 1.EnqueueAndDispatch(TDisposable item,ItemDequeuedCallback dequeuedCallback,Boolean canDispatchOnThisThread) System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item,ItemDequeuedCallback dequeuedCallback,Boolean canDispatchOnThisThread) System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived(HttpRequestContext context,ItemDequeuedCallback callback) System.ServiceModel.Channels.SharedHttpTransportManager.OnGetContextCore(IAsyncResult result) System.ServiceModel.Channels.SharedHttpTransportManager.OnGetContext(IAsyncResult result) System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) System.Net.LazyAsyncResult.Complete(IntPtr userToken) System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result,IntPtr userToken) System.Net.ListenerAsyncResult.WaitCallback(UInt32 errorCode,UInt32 numBytes,NativeOverlapped * nativeOverlapped) System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode,UInt32 numBytes,NativeOverlapped * pOVERLAP)

谢谢你, 苏雷什

0 个答案:

没有答案