Microsoft Dynamics AX development

Object Server 01: An error has occurred in the services framework. Method: AifMessageInspector::AfterReceiveRequest. Error: System.ServiceModel.FaultException: Failed to logon to Microsoft Dynamics AX.
at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeSession()
at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeContext()
at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.Attach(OperationContext owner)
at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32 index, IExtension`1 item)
at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
at Microsoft.Dynamics.Ax.Services.AifMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext)

Workaround:
Add the AOS in the users’ list with System User and System Administrator permissions.

Advertisements

Comments on: "Error: Failed to logon to Microsoft Dynamics AX" (3)

  1. Martin Halberg said:

    Not really a solution but more a workaround. It’s not IMHO security-wise to add the AOS service account as AX user. As a matter of fact it’s not at all recommended.

    • Michael Lagerberg said:

      Has anyone found a solution (not a workaround) or even a root cause for these error messages?

  2. Manish Saxena said:

    One of the solution is to ensure that AIF application pool identity should be same as business connector proxy user and obviously with correct permissions.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Tag Cloud

%d bloggers like this: