If anybody known the solution for the above problem pls reply…
Thanks in Advance…
This is due to assembly duplication problem. So the solution is
Stop the ax service.
Goto the below directory in server where AOS hosted
C:\Program Files\Microsoft Dynamics AX\60\Server\AX2012R2_Server\bin\XppIL
Delete all the files
Start the service
Click Full CIL
it will work…
I tried the above steps , but still AIF service stopped automatically. Below is the event log error:
There was an error during processing of the managed application service auto-start for configuration path: ‘MACHINE/WEBROOT/APPHOST/Default Web Site/MicrosoftDynamicsAXAif60’. The error message returned is: 'An initialization error occurred while trying to preload an application.
Message: Duplicate type with name ‘Dynamics.Ax.Application.MZK_InvestmentPayoutContract’ in assembly ‘Dynamics.Ax.Application, Version=6.2.1000.1437, Culture=neutral, PublicKeyToken=null’.
Where i can this check this duplicate ?
After re-installing Web service thorugh AX Setup it works, but if i create new or deactivate and activate existing services(inbound ports), again AIF service gets stopped and above is the event log.