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
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
- Log Error in Event Viewer
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156