Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / Not able pair Hardware...
Commerce forum
Suggested answer

Not able pair Hardware station

Posted on by 465

Hi

Not able to pair with Hardware station.

Please find the screen, where POS2 is my hardware station, with a tick mark but not able to pair.

Please help

0412.HardwareStationerror11_2D00_11.jpg

  • Shafeeque Mohammed Profile Picture
    Shafeeque Mohammed 6,145 Super User on at
    RE: Not able pair Hardware station

    Could you please confirm which printer model are you using? You need to make sure that you install a OPOS CCO version that matches your printer manufacture is using.

  • Krishna Kodidala Profile Picture
    Krishna Kodidala 465 on at
    RE: Not able pair Hardware station

    Hardware Station operation failed for request uri: 'localhost/.../Print' with controller '' and method ''.  isExternalPeripheralFailure: 'False'.  ExceptionMessage: 'System.InvalidCastException: Unable to cast COM object of type 'Interop.OposPOSPrinter.OPOSPOSPrinterClass' to interface type 'Interop.OposPOSPrinter.IOPOSPOSPrinter'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{CCB98151-B81E-11D2-AB74-0040054C3719}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

      at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)

      at Interop.OposPOSPrinter.OPOSPOSPrinterClass.set_DeviceEnabled(Boolean pDeviceEnabled)

      at Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.OposPrinter.Close()

      at Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.OposPrinter.Execute(Request request)

      at Microsoft.Dynamics.Commerce.HardwareStation.ClientManagers.PrinterManager.ExecutePrintWithRetry(PrintRequestConfigKey printRequestConfigKey, IGrouping`2 groupedRequest, Boolean canRetryUponFailure)

      at Microsoft.Dynamics.Commerce.HardwareStation.ClientManagers.PrinterManager.<>c__DisplayClass1_0.<Print>b__1()

      at Microsoft.Dynamics.Commerce.HardwareStation.DeviceLockContainer.ExecuteOpos(Object asyncLock, String source, String threadId, Action action)

      at Microsoft.Dynamics.Commerce.HardwareStation.ClientManagers.PrinterManager.Print(Collection`1 printRequests)

      at lambda_method(Closure , Object , Object[] )

      at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_1.<GetExecutor>b__0(Object instance, Object[] methodParameters)

      at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)

      at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)

    --- 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__17`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.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>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.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`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.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.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.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.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.Tracers.HttpControllerTracer.<ExecuteAsyncCore>d__10.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__17`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.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---

      at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.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__17`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.Web.Http.HttpServer.<SendAsync>d__24.MoveNext()'.  ExceptionStackTrace: ''. StatusCode: '500'.

  • Suggested answer
    huijij Profile Picture
    huijij 19,803 on at
    RE: Not able pair Hardware station

    Hi Krishna,

    You may refer to the steps described in the blog about hardware station installation and configuration.If the issue persists,you can do troubleshooting by checking the logs.To enable diagnostics and troubleshooting, Commerce components, which include self-hosted components such as the Retail Modern POS and cloud-hosted components, such as Commerce Scale Unit and E-Commerce modules, log their events locally to Event Viewer (or to the browser developer tools console such as F12). Events are also logged in the Microsoft Dynamics Lifecycle Services (LCS) log search experience.

    learn.microsoft.com/.../retail-component-events-diagnostics-troubleshooting

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans