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)

Unable to save new customer in Retail POS

(0) ShareShare
ReportReport
Posted on by 1,066

I am trying to create a new customer in Retail POS 

address1.jpg

But I keep getting the message below:

address2.jpg

How can I save a new customer through Retail POS ?

*This post is locked for comments

I have the same question (0)
  • Shafeeque P. Profile Picture
    6,527 Moderator on at
    RE: Unable to save new customer in Retail POS

    Could you please share the event viewer logs from POS ? If you do not see anything in POS, check event viewer logs on Real Time server as well.

  • vivo88 Profile Picture
    1,066 on at
    RE: Unable to save new customer in Retail POS

    I got this from the event viewer logs:

    Microsoft.Dynamics.Retail.Pos.Customer.WinFormsTouch.frmNewCustomer, Text: New customer: LSRetailPosis.TransactionServiceException: TS InvokeMethod call failed due to a CommunicationException: NewCustomer() ---> System.ServiceModel.EndpointNotFoundException: No DNS entries exist for host contosoretail.houston.com. ---> System.Net.Sockets.SocketException: No such host is known

      at System.Net.Dns.GetAddrInfo(String name)

      at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)

      at System.Net.Dns.GetHostEntry(String hostNameOrAddress)

      at System.ServiceModel.Channels.DnsCache.Resolve(Uri uri)

      --- End of inner exception stack trace ---

    Server stack trace:

      at System.ServiceModel.Channels.DnsCache.Resolve(Uri uri)

      at System.ServiceModel.Channels.SocketConnectionInitiator.GetIPAddresses(Uri uri)

      at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)

      at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)

      at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)

      at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

    Exception rethrown at [0]:

      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

      at System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)

      at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)

      at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)

      at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryGetChannel()

      at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryWait(TChannel& channel)

      at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.TryGetChannel(Boolean canGetChannel, Boolean canCauseFault, TimeSpan timeout, MaskingMode maskingMode, TChannel& channel)

      at System.ServiceModel.Channels.ReliableChannelBinder`1.Send(Message message, TimeSpan timeout, MaskingMode maskingMode)

      at System.ServiceModel.Channels.SendReceiveReliableRequestor.OnRequest(Message request, TimeSpan timeout, Boolean last)

      at System.ServiceModel.Channels.ReliableRequestor.Request(TimeSpan timeout)

      at System.ServiceModel.Channels.ClientReliableSession.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ClientReliableDuplexSessionChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)

      at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

      at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [1]:

      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

      at Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.ITransactionService.InvokeMethod(RequestInfo requestInfo, String methodName, Object[] parameters)

      at LSRetailPosis.TransactionServices.InvokeMethod(Nullable`1 timeout, String methodName, Object[] parameters, Int32[] parametersLength, Func`1 getClient)

      --- End of inner exception stack trace ---

      at LSRetailPosis.TransactionServices.InvokeMethod(Nullable`1 timeout, String methodName, Object[] parameters, Int32[] parametersLength, Func`1 getClient)

      at LSRetailPosis.TransactionServices.InvokeMethod(String methodName, Int32[] parametersLength, Object[] parameters)

      at LSRetailPosis.TransactionServices.NewCustomer(Boolean& retValue, String& comment, ICustomer& customer, Int64 storeRecId, IList`1& entityKeys)

      at Microsoft.Dynamics.Retail.Pos.Customer.WinFormsTouch.frmNewCustomer.SaveCustomer().

  • Suggested answer
    Shafeeque P. Profile Picture
    6,527 Moderator on at
    RE: Unable to save new customer in Retail POS

    Looks like Retail transaction service is not working on POS. Can you verify the connectivity by doing Inventory lookup on POS ? The error message it is unable to translate contosoretail.houston.com into an ip address. You can add translation manually by editing the hosts file.

  • Verified answer
    vivo88 Profile Picture
    1,066 on at
    RE: Unable to save new customer in Retail POS

    Yeah, the problem was that the Real Time Service profiles was incorrectly configured.

    As soon I made the necessary changes , I was able to connect to the Real Time Service and add a new customer through Retail POS.

  • Mateen Rasool Profile Picture
    45 on at
    RE: Unable to save new customer in Retail POS

    Hello,

    Can you list down the step what is you corrected in your real time profile   

  • Verified answer
    vivo88 Profile Picture
    1,066 on at
    RE: Unable to save new customer in Retail POS

    I added the correct server name in  Real Time Service Profile.

    As soon I made the above change , I was able to connect to the Real Time Service and add a new customer through Retail POS.

  • Community Member Profile Picture
    on at
    RE: Unable to save new customer in Retail POS

    Hi Vickram,

    I am getting same error, i checked the server name is correct.

    Microsoft.Dynamics.Retail.Pos.Customer.WinFormsTouch.frmNewCustomer, Text: New customer: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: Username password validation failed: transaction service profile RTS not found in AX. --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout) at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.ITransactionService.InvokeMethod(RequestInfo requestInfo, String methodName, Object[] parameters) at LSRetailPosis.TransactionServices.InvokeMethod(Nullable`1 timeout, String methodName, Object[] parameters, Int32[] parametersLength, Func`1 getClient).

    --

  • MOIN_09 Profile Picture
    10 on at
    RE: Unable to save new customer in Retail POS

    Hi,

    I solved this Error by following the below steps

    1. Look in to Global address book in Account receivable -- > All Customer--> General--> Other Information--> This must be defined.
    2. Define the same in Retail---> Retail Store--> General tab--> Customer Address book must be same.
    3. Also check the number sequence for Customer account it must be continuous. If it is set to Manual remove the check and check mark in continuous. (Organization administration--> Number sequence) or Account Receivable--> Set up--> Account Receivable parameters--> Number sequence.

    Then go to retail and try saving the customer.Hope this will solve the issue. 

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans