web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue.

(0) ShareShare
ReportReport
Posted on by 85

Hi all...

I have a problem when creating or modifying a workflow, system in any module, it displays the following message "An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue." Since the CIL compile complete, but no effect arises not I still get the same error.

I would appreciate your help

*This post is locked for comments

I have the same question (0)
  • Edgar Jesus Profile Picture
    85 on at

    In MicrosoftDynamicsWorkflow Event Viewer shows the following message (1) "ID workflow instance: 000131"

    (2) Workflow Instance ID: 000131 mscorlib The message with Action 'tempuri.org/.../getConfiguration& can not be processed at the receiver, due to a mismatch at the EndpointDispatcher ContractFilter. 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. Sender and receiver Check That Have the same contract and the same binding (including Security Requirements, eg 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 request)

      at Microsoft.Dynamics.AX.Framework.Workflow.Model.AxServiceClient.getConfiguration (_configurationId Guid, String _companyId)

      at Microsoft.Dynamics.AX.Framework.Workflow.Model.WorkflowModel.LoadModel (Int64 workflowRecId, workflowId Guid, String CompanyID, Boolean runtime, String PartitionKey)

      at Microsoft.Dynamics.AX.Framework.Workflow.Model.WorkflowModel.Create (workflowId Guid, Boolean runtime)

      at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.AxWorkflowService.GetConfiguration (Guid configurationId, CompanyId String, String DomainUser)

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

  • Community Member Profile Picture
    on at

    Hi Edgar Jesus,

    I am getting the same error as ur while opening any workflow.

    I did full ,increment CIL GENERATION and after the restarted the service also.But still could not reach to the solution.

    Can you please tell me the solution which you must have found.I am badly requiring it.

    Please share it.

    Regards,

    Sudeep Mali.

  • Suggested answer
    Community Member Profile Picture
    on at

    We encountered this today on an install, our technical architect got this working by:

    Uninstalling the Business Connector and reinstalled it.  

    Then ran a WCF refresh.

  • Suggested answer
    Mehul Thacker Profile Picture
    165 on at

    Hi Edgar,

    I have faced the same error on two different environment.

    Written post for the same, please have a look.

    http://allaboutax.blogspot.in/2015/03/error-unexpected-error-has-occurred.html

    Regards,

    Mehul Thacker

     

  • Shabir Ahmad Profile Picture
    3,110 on at

    Hi Mehul Thacker ,

    The same issue with me but didn't work for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans