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

Announcements

No record found.

News and Announcements icon
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. while editing the PR workflow,

(0) ShareShare
ReportReport
Posted on by

Hi All,

We have configured new AX DEV environment, replicated with Production model store and DB, 

While editing PR workflow getting the below error : 

"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."

while editing the PR workflow,"

My account has Admin rights.

we have tried the below steps:

Refresh WCF in client configuration:

In Administrative Tools select AX 2012 Configuration

in Configuration Target select Business Connector (non-interactive use only)

In Configuration create new configuration if you only have the original,

click on Connection tab, then click on Refresh configuration.

Stop AOS service

Delete files in Xppil (files ONLY, don’t delete the folders inside Xppil)

C:\Program Files\Microsoft Dynamics AX\60\Server\(your dev. repo. name)\bin\XppIL

Start AOS

Generate Full CIL

Data dictionary synchronize

Still getting the same error,

Is there anyway to resolve this error , please advise us.

Regards,

Akbar

*This post is locked for comments

I have the same question (0)
  • nmaenpaa Profile Picture
    101,166 Moderator on at

    The error message suggests: "see the event log on the AOS". Could you check the event log and share the error message(s) with us? Thanks!

  • Akbarpasha Profile Picture
    on at

    Hi Nikolaos,

    Event log error is :

    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)

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Seems that you will find the solution here: community.dynamics.com/.../210721

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
Basit Profile Picture

Basit 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans