Monday, May 15, 2017

Steps to open AIF ports in case of major issue in Ax 2012

These are the Steps to open or enable all AIF port in case of major issue in Ax 2012 like Workflow issues, Business logic execution etc.

1) Stop all relevant AOS server(s)

2) On your relevant AOS server(s) navigate to the following folder (default) using Windows Explorer:
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL

3) Make sure you create a safe copy of the XPPIL folder content to another new local folder on the AOS computer (example: C:\XPPIL_Backup)

4) Now delete all folders and files inside the folder “C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL” but keep the folder “XPPIL” itself.

5) Start all AOS server(s)

6) Rull full dos based compilation using axutil. (axbuild.exe xppcompileall /aos=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" /workers=4)

7) Run a full CIL creation from AOT. This will create a fresh rebuild of all files/ folders inside the XPPIL folder

8) Open Ax client configuration utility and Refresh the WCF configuration.

I hope after apply above steps then problem will get resolved.