Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Unable to log on to Microsoft Dynamics AX after publish in IIS

Posted on by Microsoft Employee

Hi,
I have a problem not being able to connect to ax. Where the application that I connect to ax is MVC5.
I am running MVC5 in VS, I have successfully connected with Ax, but after I publish the MVC5 app to IIS Server there is an error "Unable to log on to Microsoft Dynamics AX".
I send an error log from the event viewer and program log.
Any ideas? Thanks

- Log Error in Event Viewer

- Log in App

Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException: Unable to log on to Microsoft Dynamics AX.
   at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(String company, String language, String objectServer, String configuration)

*This post is locked for comments

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Unable to log on to Microsoft Dynamics AX after publish in IIS

    Hi Nasrun,

     

    Please check the account of the applicaiton pool of the App, whether it is the a proxy user in System administration > Setup > System > System service accounts.


    You can check all the parameter of the loginas method, please refer to: https://docs.microsoft.com/en-us/dynamicsax-2012/developer/how-to-connect-to-microsoft-dynamics-ax-using-the-logonas-method.

    Best Regards ,

    Blue Wang

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to log on to Microsoft Dynamics AX after publish in IIS

    - Log Error in Event Viewer

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans