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.


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

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

  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

    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.

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

    Raghunath Chintala

    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.


ADFS configuration error Invalid scope names

I am about to finish On-Prem deployment, where i was facing error at   step number 18     as below: "ADFS configuration for premises ...