locked
CRM 2011 Email Router Exception. The security context token is expired or is not valid. The message was not processed. RRS feed

  • Question

  • Hi All,

    I am getting below exception in CRM 2011 Email Router. Please help

    Last modified time: 8/28/2016 10:35:54 PM Alert description: Event Description: #61346 - An error occurred while checking for outgoing e-mail messages 
    to process for SMTP: <server name>. System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly 
    secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> 
    System.ServiceModel.FaultException: The security context token is expired or is not valid. The message was not processed.
       --- End of inner exception stack trace ---

    Server stack trace:
       at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
       at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
       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 Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
       at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
       at Microsoft.Crm.Tools.Email.Providers.CrmServiceClient.<>c__DisplayClass1.<Execute>b__0(IOrganizationService service)
       at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.RequestEmailsToProcess(QueryExpression query)
       at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.RetrieveNextMessageInternal()
       at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.RetrieveNextMessage()
       at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()

      

    Regards, Saad

    Monday, August 29, 2016 4:14 AM

All replies