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)

Error on Purchase Order workflow

(0) ShareShare
ReportReport
Posted on by 760

I am getting the following error whenever I try to open my existing Purchase Order workflow or try to create a new one. 

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

When I open an existing Purchase Requisition workflow, it opens up and works smoothly.

It's quite strange. 

I have followed some steps still no good

  • 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

*This post is locked for comments

I have the same question (0)
  • udaY-ch Profile Picture
    5,173 on at

    Hi Siddiq,

    Have you checking the event viewer? You can check the event log in AOS machine to get the error details

    Best,

    Uday.

  • guk1964 Profile Picture
    10,888 on at

    Any message in the Event log?

    Any customisation?

    Check for client server kernel build match.

    I have seen the error before due to permisions - can other users open it OK? Does it open if you log in with a service account?

    https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/create-service-accounts

    With regard to WCF account see this useful post and the links https://community.dynamics.com/ax/f/33/t/235685 - the link mentions an obscure issue arising from a language pack issue with the dot net framework

  • Abubaker Siddiq Profile Picture
    760 on at

    Thank you for your quick response.

    Yes. Getting following error in event log:

    Workflow threw an exception for the following reason: Invalid enum value 'GMTPLUS0500ISLAMABAD_KARACHI' cannot be deserialized into type 'Microsoft.Dynamics.AX.Framework.Workflow.Model.AxWorkflowServiceReference.Timezone'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.

    No customization.

  • Abubaker Siddiq Profile Picture
    760 on at

    What can be the issue? This is quite weird issue.

  • Suggested answer
    udaY-ch Profile Picture
    5,173 on at
  • Abubaker Siddiq Profile Picture
    760 on at

    Have already tried this link. The solution provided doesn't work. The error is still the same.

  • Abubaker Siddiq Profile Picture
    760 on at

    Have already tried this link. The solution is wierd and not actually a solution but a work around. I don't want to change the Timezone. My client is in Pakistan, therefore, I need that timezone. The solution provided doesn't work. The error is still the same.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans