Hello and thank you for your feedback! I have installed the peripheral simulator and tested it there. The setup is not working from the peripheral simulator, even though my test from the drivers OPOS utility was successful (so the device is connected and has no hardware failure).
Here is the error log from the peripheral simulator:
‚An unhandled exception occurred, and the application is terminating.\n{O]System.InvalidOperationException: The calling thread cannot access this
Object because a different thread owns it,
at System. Windows. Threading.Dispatcher.VerifyAccess0
at System. Windows. Threading.Dispatcher.DisableProcessingQ
at System Windows.Documents.TextContainer.BeginChangelBoolean undo)
at System Windows. Documents.TextElementCollection’1.Ada(fextElementIype item)
at Microsoft.Dynamics.Commerce.VirtualPeripherals.Modules.TestLog.OnColledionChanged(Object sender, NotifyCollectionChangedEventArgs
eventargs)
at System.Collections.ObjectModel.ObservableCallection'1.OnCollectionChangediNotityCollectionChangedEventargs e)
at System.Collections.ObjectModel.ObservableCollection 1.insertitem{int32 index, T item)
at Microsoft.Dynamics.Commerce.VirtualPeripherals.Modules.TestOperationContext.<StartTest> d_34.MoveNiext(
End of stack trace from previous location where exception was thrawn
at System.Runtime.ExceptionServices.ExceptionDispatchinfo.Throwü
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessandDebuggerNotificationffask task)
at Prism.Commands.DelegateCommandBase.<Execute> d_14.MoveNext
End of stack trace from previous location where exception was thrawn
at System.Runtime,ExceptionServices.ExceptionDispatchinfo.Throwü
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessandDebuggerNotificationffask task)
at Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d_12.MoveNext(
End of stack trace from previous location where exception was thrawn
at System.Runtime.ExceptionServices.ExceptionDispatchinfo.Throwü
at System.Windows. Threading.Exception\Vrapper.internalRealCall(Delegate caliback, Object args, Int32 numargs)
at System. Windows. Threading.Exception\Vrapper.TryCatch\When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate
eatehHandler)
at System. Windows. Threading.DispatcherOperation.invokelmpiQ
at MS.internal.CulturePreservingExecutionContext.Callback\Wrapper(Object obj)
at System.Threading.ExecutionContext.RuninternallExecutionContext executionContext, ContextCallback callback, Object state, Boolean
Preservesyncche)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContestCallback callback, Object state, Boolean preservesyncc)
at $ystem.Threading.ExecutionContext.Run[ExecutionContext executionContext, ContestCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run[CulturePreservingExecutionContext executionContext, ContextCallback callback, Object
state)
at System. Windows. Threading.DispatcherOperation.invoke)
at System. Windows. Threading.Dispatcher.ProcessQueue()
at System. Windows. Threading.Dispatcher. WndProcHook{intPtr hwnd, Int32 msg, IntPtr wParam, IntPtr IParam, Booleanät handled)
at MS.Win32.Hwnd\Wrapper. WndProcintßtr hwnd, Int32 msg, IntPtr wParam, IntPtr IParam, Booleanä handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object 0)
at System. Windows. Threading.Exception\Vrapper.internalRealCall(Delegate caliback, Object args, Int32 numargs)
at System. Windows. Threading.Exception\Vrapper.TryCatch\When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate
eatehHandler)
at System. Windows. Threading.Dispatcher.LegagyInvokelmp![DispatcherPrioritypriority, TimeSpan timeout, Delegate method, Object args, Int32
numargs)
at MS.Win32.HwndSubclass.SubclassWndProcfintPtr hwund, Int32 msg, IntPtr wParam, IntPtr IParam)
at MS.Win32.UnsafeNativeMethods.DispatchMlessage(MSGA msg)
at System. Windows. Threading.Dispatcher.PushFramelmpI(DispatcherFrame frame)
at System. Windows.Application.RunDispatcher(Object ignore)
at System. Windows. Application.Runinternal(Window window)
at Microsoft.Dynamics.Commerce.VirtualPeripherals.Client.App.Main
Any ideas what could be the issue?
Thank you!