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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AifMessageInspector::AfterReceiveRequest. Error: System.Security.SecurityException: The user name or password is incorrect

(0) ShareShare
ReportReport
Posted on by 418

We got an incident where users cannot log in to AX2012 for like 30 minutes. (They can open client but the screen is freezing without showing any error)

During that time we found the error below in event log.

 

I also attached the events, could you please have a look.

The time that this issue occur is around 4.30PM – 4.54PM. In security log it shows that a lot of failed login of ax administrator account but we did not update anything on this account.

Object Server 01:
An error has occurred in the services framework. Method: AifMessageInspector::AfterReceiveRequest. Error: System.Security.SecurityException: The user name or password is incorrect.

at System.Security.Principal.WindowsIdentity.KerbS4ULogon(String upn, SafeAccessTokenHandle& safeTokenHandle)
at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName, String type)
at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName)
at Microsoft.Dynamics.Ax.Services.AxSessionInitBehavior.getUserSid(String logonAsUser)
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)
The Zone of the assembly that failed was:
MyComputer

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,996 Most Valuable Professional on at

    Doesn't it mean that all accounts had the same problem and you see the message from AifMessageInspector only because it's explicitly logged, unlike interactive logins?

    It looks like a problem with AD or Kerberos.

  • Tanyaboon Profile Picture
    418 on at

    Yesterday, I found this error happened again. Not sure by the Domain due to I didn't found an error about system or security event log.

    Can you suggest for this ?

  • Tanyaboon Profile Picture
    418 on at

    I found this log on Security log in AOS event log but I'm not sure how solve it.

    Event ID 4625

    An account failed to log on.

    Subject:
    Security ID: S-1-5-21-87973221-1679952511-1905203885-14330
    Account Name: axadmin
    Account Domain: OFFICE
    Logon ID: 0xC41361C

    Logon Type: 3

    Account For Which Logon Failed:
    Security ID: NULL SID
    Account Name:
    Account Domain:

    Failure Information:
    Failure Reason: Unknown user name or bad password.
    Status: 0xC000006D
    Sub Status: 0xC0000064

    Process Information:
    Caller Process ID: 0x3cfc
    Caller Process Name: D:\Program Files\Microsoft Dynamics AX\60\Server\DEXTRAAX63LIVE\bin\Ax32Serv.exe

    Network Information:
    Workstation Name: IDC-SRV-AOS2
    Source Network Address: -
    Source Port: -

    Detailed Authentication Information:
    Logon Process: C
    Authentication Package: Kerberos
    Transited Services: -
    Package Name (NTLM only): -
    Key Length: 0

    This event is generated when a logon request fails. It is generated on the computer where access was attempted.

    The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

    The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

    The Process Information fields indicate which account and process on the system requested the logon.

    The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

    The authentication information fields provide detailed information about this specific logon request.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.

  • Victor123 Profile Picture
    214 on at

    Did you find a reason for this issue and were you able to solve it?

    We have encountered a similar problem with the same error message 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans