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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to troubleshoot retail server ( real time service ) on Logon

(0) ShareShare
ReportReport
Posted on by 250

I'm getting this error in event viewer while trying to activate Modern POS : 

Invoking real-time service method RetailServerStaffLogOn (extension mode: False) failed with exception: System.ServiceModel.CommunicationObjectFaultedException: L'objet de communication System.ServiceModel.Channels.ServiceChannel ne peut pas être utilisé pour la communication car il est dans l'état Faulted.

And I get this in browser : Microsoft_Dynamics_Commerce_Runtime_AuthenticationFailed

It's as if the user isn't allowed or doesn't, which i'm sure he does because using the same user I open traditional POS.

*This post is locked for comments

I have the same question (0)
  • Slim Rouissi Profile Picture
    245 on at
    RE: How to troubleshoot retail server ( real time service ) on Logon

    Hi Jas1th,

    My advice would be to use Fiddler to track what are the requests and responses and error messages. You can also use the event viewer, and activate logging on the Real-Time Service and Commerce Data Exchange and track the error messages there.

  • Community Member Profile Picture
    on at
    RE: How to troubleshoot retail server ( real time service ) on Logon

    We have the same name as in the certificate and in the real time service profile and we are getting unable to connect to HQ in MPOS while activating device, can anyone help on this??

  • AxRetail Profile Picture
    15 on at
    RE: How to troubleshoot retail server ( real time service ) on Logon

    Hi Rouissi ,

    Thanks for reply.

    That didn’t help me, I have Ax on win 7 and separate machine for modern pos, so common name is machine name (with domain details).

    Other point is that Real time service is working is fine, I tried from Ax POS to call the same function ( Stafflogon) and it worked fine.

    I think the problem is in Retail server.

    Regards,

    Ganesh

  • Verified answer
    Slim Rouissi Profile Picture
    245 on at
    RE: How to troubleshoot retail server ( real time service ) on Logon

    Hi, yes i resolved it. Even though I hated this error because it was misleading. 

    In fact the problem was in the configuration of the Real Time Service profile, I made a mistake when typing the common name which is not the name of the certificate but the name of server which that certificate is assigned to. ( In AX R2 i used to type the name of the certificate and it worked )

    Try to look into it. If you still get that error, enable Retail Sever, Real Time Service, and CRT logging. This is what I did to find out what the real cause of this error was.

    Good Luck!

  • AxRetail Profile Picture
    15 on at
    RE: How to troubleshoot retail server ( real time service ) on Logon

    Hi Rouissi , Have you able to fix the below error as I am getting the same Invoking real-time service method RetailServerStaffLogOn (extension mode: False) failed with exception: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Regards, Ganesh

  • Rouissi Slim Profile Picture
    250 on at
    RE: How to troubleshoot retail server ( real time service ) on Logon

    I'm using AX 2012 R3, I have no way to test ( in earlier versions there was a test button ) but to open the service url https://<servername>:<port>/CDXRealTimeService/Service.svc which apparently works. Do you know another way ?

    Thanks

  • Verified answer
    Marcos Wolf Profile Picture
    245 on at
    RE: How to troubleshoot retail server ( real time service ) on Logon

    Hi,

    In Headquarter Test Real Time Service Profile.

    Real time service Web Service is working?

    Tks

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans