Thursday, October 16, 2014

Workflow Error in Ax 2012 feature pack version

I got following error after that Workflow stopped working .

Workflow Instance ID: 03232 mscorlib The message with Action 'http://tempuri.org/SysWorkflowConfigurationService/getConfiguration' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
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 Microsoft.Dynamics.AX.Framework.Workflow.Model.AxWorkflowServiceReference.SysWorkflowConfigurationService.getConfiguration(SysWorkflowConfigurationServiceGetConfigurationRequest request)
   at Microsoft.Dynamics.AX.Framework.Workflow.Model.AxServiceClient.getConfiguration(Guid _configurationId, String _companyId)
   at Microsoft.Dynamics.AX.Framework.Workflow.Model.WorkflowModel.LoadModel(Int64 workflowRecId, Guid workflowId, String companyId, Boolean runtime)
   at Microsoft.Dynamics.AX.Framework.Workflow.Model.WorkflowModel.Create(Guid workflowId, Boolean runtime)
   at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.AxWorkflowService.GetConfiguration(Guid configurationId, String companyId, String domainUser)

   at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.WorkflowInstanceManager.Execute(WorkflowMessage message, Guid instanceId, String instanceNumber, String originator, String submitter, Guid affinity)

I tried following tricks but problem not get resolved.
1. Incremental CIL Compilation.
2. AOS Restart
3. Full CIL Compilation