Wednesday, March 4, 2015

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" on creating the workflow.

To resolve mentioned error we have following options.

Solution 1:
Do incremental CIL compile.

Not succeeded?!

Solution 2:
Do full CIL compile.

Still not succeeded?!

Solution 3:

Stop AOS service.

Rename XppIL folder to XppIL_old. form the following location.
<Drive letter>:\Program Files\Microsoft Dynamics AX\60\Server\<Instance Name>\bin

Start AOS service.

Do full CIL compilation.

Now your face should be filled with SMILE :)

Have any question?! Please comment.

7 comments:

  1. Hi, I completed all the steps, stop the AOS, deleted folder, complete CIL compilation .. and still shows the same error.

    ReplyDelete
  2. An error in complete CIL was the problem..
    thank you!
    Best regards!

    ReplyDelete
  3. Tried all those things but the issue still exists.

    Found out the solutions :
    - AIF | Inbound ports | Activate sysworkflow services
    - AIF | Inbound ports | Deactivate AXClient service & AIF service | then Reactivate them again
    - Refresh WCF configuration (from AX Client) | then export it into xpo file

    ReplyDelete
    Replies
    1. Thanks ds for update. Yes, This should be solution 1) to try.

      If Re-Activating above mentioned AIF service does not work, we should go for all above mentioned solutions and then check again for these AIF services.

      Delete
  4. hi can you explain me why we are changing the name of folder, i would like to know exactly what happening behind.

    Thank
    Raghunath Chintala

    ReplyDelete
    Replies
    1. Raghu nath,

      Aim is to recreate file in mentioned folder after CIL Compilation.

      If files are not available in mentioned folder while starting up services, AOS will recreate it.
      So, either you rename or take backup of folder, then delete all file.

      Delete
  5. Thanks mehul,
    After following these steps i resolved the error.

    ReplyDelete

Happening

Upgrade from AX 2012 to Latest Dynamics 365 Finance and Operation

Below are the steps defined by sequence. 1. Create new Upgrade project in Dynamics LCS. 2. Create VSTS Project and connect it with L...

Trending now