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.