Description
POS (MPOS) fails to access Retail Transaction Service with error A Business Connector session already exists.
Steps that worked for me
- Restart Retail Server web application in IIS
Error details
CommerceRuntimeException was thrown.Microsoft.Dynamics.Commerce.Runtime.CommunicationException: Exception while calling invoke method RetailServerStaffLogOn. System.ServiceModel.Security.MessageSecurityException: System.ServiceModel.FaultException: A Business Connector session already exists. Server stack trace: in System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) in System.ServiceModel.Channels.SecurityChannelFactory SecurityRequestChannel.Request(Message message, TimeSpan timeout) .. in System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: .. in Microsoft.Dynamics.Commerce.Runtime.TransactionService.TransactionServiceClient.GetResponseFromMethod(String methodName, Object[] parameterList, Boolean useExtensionMethod) in Microsoft.Dynamics.Commerce.Runtime.TransactionService.TransactionServiceClient.CreateMessageSecurityException(String methodName, MessageSecurityException exception) .. in Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationTransactionService.LogOnUser(UserLogOnServiceRequest request) Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.EmployeeLogOnRealTimeService(UserLogOnServiceRequest request) in Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.LogOnUser(UserLogOnServiceRequest request) in Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.Execute(Request request)