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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

An Unexpected error has occurred while opening the workflow

(0) ShareShare
ReportReport
Posted on by 3,110

6505.WorkflowError.png

Hi Experts,

When i open or create a new workflow this error i am facing as shown in the image"An Unexpected error has occurred while opening workflow. I restore the backup from a different domain and change all things as required. now system is working but workflow is not working why. I did full compile compile. Watch all the blogs and follow but no luck.

Best Regards,

Shabir Ahmad

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Shabir,

    Could you please share the event log on the AOS server which should provide more information on the error?

  • Shabir Ahmad Profile Picture
    3,110 on at

    1212.Eventlog.png

    Hi Gunjan Bhattacharyya,

    Please check the above image with errors. Event IDs are (110,1002,180, 1000 etc.)

    Best Regards,

    Shabir 

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Shabir,

    Please share the error details as well.

    When you restored the backup from a different domain what changes did you make to get everything running?

  • Shabir Ahmad Profile Picture
    3,110 on at

    Hi Gunjan Bhattacharyya ,

    I just changed userid administrator, sid for this id and domain name in user info class. Then the system was able to run.

    Best Regards,

    Shabir

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Shabir,

    Can you try debugging the form WorkflowEditorHost and check where the error is being thrown from?

  • Suggested answer
    Fangyuan Hou Profile Picture
    on at

    Could you please have a check on the below discuss?

    Uninstalling the Business Connector and reinstalled it. Then ran a WCF refresh. To see if it will resolve the issue?

    community.dynamics.com/.../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

    Please share detail error messages in the event logs, so we can have a further check if this is known issue, or please submit a support ticket to us for further investigation.

  • Shabir Ahmad Profile Picture
    3,110 on at

    Hi Gunjan Bhattacharyya,

    Sorry for late reply i was busy with some other work, i debug this form but no result.

    Best Regards,

    Shabir Ahmad

  • Shabir Ahmad Profile Picture
    3,110 on at

    Log Name:      Application
    Source:        Dynamics Server 01
    Date:          3/3/2021 1:19:46 PM
    Event ID:      110
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server.Local.com
    Description:
    Object Server 01:  An error has occurred in the services framework.  Method: AifMessageInspector::AfterReceiveRequest.  Error: System.ServiceModel.FaultException: Failed to logon to Microsoft Dynamics AX.
       at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeSession()
       at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeContext()
       at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.Attach(OperationContext owner)
       at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32 index, IExtension`1 item)
       at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
       at Microsoft.Dynamics.Ax.Services.AifMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext) 
    Event Xml:
    

  • Shabir Ahmad Profile Picture
    3,110 on at

    Log Name:      Application
    Source:        Dynamics Server 01
    Date:          3/3/2021 10:32:37 AM
    Event ID:      117
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server.Local.com
    Description:
    Object Server 01:  The database reported (session 1 (-AOS-)): [Microsoft][SQL Server Native Client 11.0][SQL Server]Could not find stored procedure 
    'MDALive_model.dbo.XU_IsModelIdInstalled'.. The SQL statement was: "{ CALL [MDAX2012Live_model].[dbo].[XU_IsModelIdInstalled](?, ?) }"
    Event Xml:
    

  • Shabir Ahmad Profile Picture
    3,110 on at

    Log Name: Application
    Source: Microsoft Dynamics AX
    Date: 3/3/2021 10:32:57 AM
    Event ID: 180
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: Server.Local.com
    Description:
    The description for Event ID 180 from source Microsoft Dynamics AX cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event originated on another computer, the display information had to be saved with the event.

    The following information was included with the event:

    Microsoft Dynamics AX Business Connector Session 3.


    RPC exception 3758096384 occurred in session 3 process is Ax32.exe thread is 3380(User: Admin, ClientType: GUI)


    Event Xml:
    <Event xmlns="">schemas.microsoft.com/.../event">
    <System>
    <Provider Name="Microsoft Dynamics AX" />
    <EventID Qualifiers="0">180</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2021-03-03T18:32:57.000000000Z" />
    <EventRecordID>118509</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Server.Local.com</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Microsoft Dynamics AX Business Connector Session 3.

    </Data>
    <Data>RPC exception 3758096384 occurred in session 3 process is Ax32.exe thread is 3380(User: Admin, ClientType: GUI)
    </Data>
    </EventData>
    </Event>

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans