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)

Modern POS Activation Failure - No Channel Configuration

(0) ShareShare
ReportReport
Posted on by 796

I have walked through an enormous amount of literature working up to where MPOS on a tablet can be activated and am after four days of multiple reinstalls and tinkering, still unable to get MPOS to activate.  An entire installation was performed from the ground up for all components.  Below is what has been done. 

For the quick preview, when I click Activate for MPOS, it asks for me to try the login ID or password again and the server event log error is: Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException: An error occurred during logon. ---> Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: No channel configuration was found.

 

-AOS:

-The real time profile is matched up from the certificate subject line (CN).  

-Working folders are set and are pushing data successfully

-Worker on the store is set and has manage device permissions

-Store is published

-Distribution jobs have been run and are all applying

-Devices are set to MPOS under device and are activating using the staff credentials I put on the tablet

-Channel database is set and syncing

-Channel profile is set correctly (http://servername:9082/retailserver/v1)

 

Server A (communication server):

-has the AsyncServer site and CDXRealtime site installed and are syncing correctly

-Separate certificate is in place for the realtime service and is trusted by the "store server".

-Separate service account is being used to run the real time service

Server B (Store Server)

- RetailServer is installed with a certificate

-Channel database installed (several times over) using AX setup.  Password and account used during setup are the same as in AX Channel database

-Message database was created 

MPOS (tablet):

-MPOS prerequisites installed manually

-MPOS activation screen info filled using the retail service url as set in AX, MPOS device settings as set in AX, and staff credentials as set in AX.  

Press activate

-MPOS responds with: "Device Activation Error - There was a problem signing in.  Try entering the operator ID and password again".

-Fiddler - responds with "Commerce Runtime Authentication Failure"

-Store server event logs:

 

Exception occured: [03/26/2015 12:22:53] Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException: An error occurred during logon. ---> Microsoft.Dynamics.Commerce.Runtime.ConfigurationException: No channel configuration was found.
at Microsoft.Dynamics.Commerce.Runtime.Data.ChannelDatabaseAccessor.GetChannelConfiguration(Int64 channelId)
at Microsoft.Dynamics.Commerce.Runtime.Data.ChannelDataManager.GetChannelConfiguration(Int64 channelId)
at Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.ChannelDataRequestHandler.GetChannelConfiguration(GetChannelConfigurationDataServiceRequest request)
at Microsoft.Dynamics.Commerce.Runtime.DataServices.Common.ChannelDataRequestHandler.Execute(Request request)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context)
at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.GetChannelConfiguration(UserLogOnServiceRequest request)
at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.LogOnUser(UserLogOnServiceRequest request)
at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.Execute(Request request)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.AuthenticationHelper.AuthenticateUser(RequestContext context, Device device, UserAuthenticationRequest request, LogOnConfiguration& logOnConfiguration)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.UserAuthenticationRequestHandler.Process(UserAuthenticationRequest request)
--- End of inner exception stack trace ---
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Dynamics.Retail.RetailServerLibrary.BufferResponseContentAttribute.<ExecuteActionFilterAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.ApiController.<InvokeActionWithExceptionFilters>d__1.MoveNext()

 

 

 

*This post is locked for comments

I have the same question (0)
  • Paulo Leite - Breis Tech Profile Picture
    5 on at
    RE: Modern POS Activation Failure - No Channel Configuration

    This post solved my problem, thank you for it.

  • Suggested answer
    Steven Werbin Profile Picture
    190 on at
    RE: Modern POS Activation Failure - No Channel Configuration

    Just in case anyone else comes across this issue I ran into something similar and we were able to figure it out.

    The issue was the legal entity that the store is associated to did not have a primary address. Once we added this the channel configuration record appeared and we were able to log onto the store

  • Solozmar Profile Picture
    796 on at
    RE: Modern POS Activation Failure - No Channel Configuration

    For reasons not entirely known...it suddenly started working.  Pushed and prodded a number of settings but I don't believe I changed anything.  Suddenly activated. 

  • Solozmar Profile Picture
    796 on at
    RE: Modern POS Activation Failure - No Channel Configuration

    UPDATE:

     I manually inserted a row into the Store Server Channel Database, in the ax.LOGISTICSADDRESSCOUNTRYREGION table for USA and that is now returning a row in the crt.CHANNELCONFIGURAITONVIEW table.  Why I had to do that manually, I do not know.  

    But, I now have a new error in the windows logs when I try to activate. 

    Exception occured: [03/26/2015 14:39:30] Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException: An error occurred during logon. ---> Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException: Exception of type 'Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException' was thrown.
    at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.EmployeeLogOnStore(UserLogOnServiceRequest request, ChannelConfiguration channelConfiguration)
    at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.LogOnUser(UserLogOnServiceRequest request)
    at Microsoft.Dynamics.Commerce.Runtime.Services.UserAuthenticationService.Execute(Request request)
    at Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
    at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestPipeline)
    at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
    at Microsoft.Dynamics.Commerce.Runtime.Workflow.AuthenticationHelper.AuthenticateUser(RequestContext context, Device device, UserAuthenticationRequest request, LogOnConfiguration& logOnConfiguration)
    at Microsoft.Dynamics.Commerce.Runtime.Workflow.UserAuthenticationRequestHandler.Process(UserAuthenticationRequest request)
    --- End of inner exception stack trace ---
    at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at Microsoft.Dynamics.Retail.RetailServerLibrary.BufferResponseContentAttribute.<ExecuteActionFilterAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__21`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.Http.ApiController.<InvokeActionWithExceptionFilters>d__1.MoveNext()

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
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 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