web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

MicrososftDynamicsAIF60 IIS services stops automatically

(0) ShareShare
ReportReport
Posted on by 1,318

Hi,

MicrososftDynamicsAIF60 IIS services stops automatically.

Below is the Event Log:

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.

Exception: System.Configuration.ConfigurationErrorsException

Message: Duplicate type with name 'Dynamics.Ax.Application.MZK_InvestmentPayoutContract' in assembly 'Dynamics.Ax.Application, Version=6.2.1000.1437, Culture=neutral, PublicKeyToken=null'.

But i cant activate the Inbound Ports and Full CIL aslo done without any error.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,286 on at

    Hi Sathish C,

    Thats a well-known issue and you can easily find steps to resolve it, for example community.dynamics.com/.../duplicate-type-with-name-dynamics-ax-application-in-assembly-dynamics-ax-application-2012-r2

  • Sathish_Chinnappan Profile Picture
    1,318 on at

    Thanks for the Reply.

    I followed the same step. After that If i do deactivate and activate any services again AIF service gets stops.

  • Sathish_Chinnappan Profile Picture
    1,318 on at

    I done following steps:

    1. Stop AOS service.

    2. Delete all files on the AOS server under C:\Program Files\Microsoft Dynamics  AX\60\Server\<aos instance name>\bin\XppIL.

    3. Connect to the model db via SQL Management studio

       TRUNCATE TABLE SYSXPPASSEMBLY

    4. Start  AOS instance

    5. Run Full CIL.

    6. Reset IIS.

    But still AIF services not starting. same Error log in event viewer.

  • Sathish_Chinnappan Profile Picture
    1,318 on at

    I have uninstalled web service and RE-installed again., then AIF Service starts successfully.

    If i create new service(inbound port) or deactivate and activating existing service, again AIF service stops and same error log in event viewer.

  • SergiV8 Profile Picture
    5 on at

    Satish, we faced the same issue and the problem were old cache dll in C:\Program Files\Microsoft Dynamics AX\60\AifWebServices\Bin\Work
    FIX: uninstall AIF => DELETE THE AifWebServices FOLDER => Reinstall AIF

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans