Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Unable to activate MPOS - AX

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone, I am getting the next error while I'm activate Retail Modern Pos:

pastedimage1605273841888v2.png

English translation "Server error preventing user from logging in. Check the server log for detailed information or contact IT technical support"

Error in event viewer in the MPOS machine:

1st Error :

Exception occured: [11/13/2020 13:51:47] Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException: An error occurred during logon. ---> Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: The published channel can not be found in local database. Please make sure at least 1 retail channel is published to this DB through AX.
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetFirstPublishedChannelId(IEnumerable`1 storageLookups)
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetChannelId()
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetConnectionString()
en Microsoft.Dynamics.Commerce.Runtime.Data.ConnectionManager.Create(StorageResolver resolver)
en Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteReader[T](SqlQuery query, PopulateObjectFromDataRow`1 populateObjectFromDataRowDelegate)
en Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteSelect[T](SqlQuery query)
en Microsoft.Dynamics.Commerce.Runtime.Data.EmployeeDataManager.GetEmployeePermissions(String staffId, ColumnSet columnSet)
en Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.EmployeeDataRequestHandler.GetEmployeePermissions(GetEmployeePermissionsDataRequest request)
en Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.EmployeeDataRequestHandler.Execute(Request request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.EmployeeLogOnRealTimeService(UserLogOnServiceRequest request)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.LogOnUser(UserLogOnServiceRequest request)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.Execute(Request request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.AuthenticationHelper.AuthenticateUser(RequestContext context, Device device, UserAuthenticationRequest request, LogOnConfiguration& logOnConfiguration)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.UserAuthenticationRequestHandler.Process(UserAuthenticationRequest request)
--- Fin del seguimiento de la pila de la excepción interna ---
en System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__1.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.Dynamics.Retail.RetailServerLibrary.BufferResponseContentAttribute.<ExecuteActionFilterAsync>d__0.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__21`1.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   en System.Web.Http.ApiController.<InvokeActionWithExceptionFilters>d__1.MoveNext()

2nd Error.-

CommerceRuntimeException was thrown.Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException: An error occurred during logon. ---> Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: The published channel can not be found in local database. Please make sure at least 1 retail channel is published to this DB through AX.
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetFirstPublishedChannelId(IEnumerable`1 storageLookups)
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetChannelId()
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetConnectionString()
en Microsoft.Dynamics.Commerce.Runtime.Data.ConnectionManager.Create(StorageResolver resolver)
en Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteReader[T](SqlQuery query, PopulateObjectFromDataRow`1 populateObjectFromDataRowDelegate)
en Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteSelect[T](SqlQuery query)
en Microsoft.Dynamics.Commerce.Runtime.Data.EmployeeDataManager.GetEmployeePermissions(String staffId, ColumnSet columnSet)
en Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.EmployeeDataRequestHandler.GetEmployeePermissions(GetEmployeePermissionsDataRequest request)
en Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.EmployeeDataRequestHandler.Execute(Request request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.EmployeeLogOnRealTimeService(UserLogOnServiceRequest request)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.LogOnUser(UserLogOnServiceRequest request)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.Execute(Request request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.AuthenticationHelper.AuthenticateUser(RequestContext context, Device device, UserAuthenticationRequest request, LogOnConfiguration& logOnConfiguration)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.UserAuthenticationRequestHandler.Process(UserAuthenticationRequest request)
--- Fin del seguimiento de la pila de la excepción interna ---
en Microsoft.Dynamics.Commerce.Runtime.Workflow.UserAuthenticationRequestHandler.Process(UserAuthenticationRequest request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.WorkflowRequestHandler`2.Execute(Request request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)

3th Error.-

User '#######' logon request (type - 'PasswordWithNoDevice') on device '' using 'LocalDatabase' threw an exception: Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: The published channel can not be found in local database. Please make sure at least 1 retail channel is published to this DB through AX.
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetFirstPublishedChannelId(IEnumerable`1 storageLookups)
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetChannelId()
en Microsoft.Dynamics.Commerce.Runtime.Data.StorageResolver.GetConnectionString()
en Microsoft.Dynamics.Commerce.Runtime.Data.ConnectionManager.Create(StorageResolver resolver)
en Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteReader[T](SqlQuery query, PopulateObjectFromDataRow`1 populateObjectFromDataRowDelegate)
en Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteSelect[T](SqlQuery query)
en Microsoft.Dynamics.Commerce.Runtime.Data.EmployeeDataManager.GetEmployeePermissions(String staffId, ColumnSet columnSet)
en Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.EmployeeDataRequestHandler.GetEmployeePermissions(GetEmployeePermissionsDataRequest request)
en Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.EmployeeDataRequestHandler.Execute(Request request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.EmployeeLogOnRealTimeService(UserLogOnServiceRequest request)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.LogOnUser(UserLogOnServiceRequest request)
en Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.Execute(Request request)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
en Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.AuthenticationHelper.AuthenticateUser(RequestContext context, Device device, UserAuthenticationRequest request, LogOnConfiguration& logOnConfiguration)
en Microsoft.Dynamics.Commerce.Runtime.Workflow.UserAuthenticationRequestHandler.Process(UserAuthenticationRequest request)

IN SERVER AX

I check the server as the error message suggest and I didn't find any errors in it.

Jobs sincronized correctly in POS Machine. 

I hope someone can help me with this.

  • Suggested answer
    A.Prasanna Profile Picture
    8,186 on at
    RE: Unable to activate MPOS - AX

    If you look at carefully or read carefully you will see all the errors says the same thing that

    "The published channel can not be found in local database. Please make sure at least 1 retail channel is published to this DB through AX".

    Just Cross check your channel configurations and then run Retail batch jobs related to Channel Configuration

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans