Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / Configure, install and...
Commerce forum

Configure, install and activate modern POS

(0) ShareShare
ReportReport
Posted on by 115

HI all,

we were working on Retail 365 MPOS implementation.

1. Retail store configured and the job was ran to the store. status is available now.

whether job should be available or applied to activate the MPOS with offline config.

 6404.job-status.png

Also where to find the working folders for Server as upload and download.

2. Device pre activation issue on Retail Modern POS

0753.devices-error.png

3.  Installation error

3833.modern-pos-error.png

but Error trace is showing  C:\ProgramData\Microsoft Dynamics AX\Retail Self-service\Logs\ModernPOSSetup\2018-08-07_08-07-38 like below 

[08/07/2018 08:08:58] :: Script aborted with error code: 200034, message: RetailModernPosDeploymentScriptRunFailed

[08/07/2018 08:08:58] :: Please inspect other available logs for more information.

[08/07/2018 08:08:58] :: Additional information: 

PSMessageDetails      : 

Exception             : System.Management.Automation.MethodInvocationException: Exception calling "Exists" with "1" argument(s): "Cannot load Counter Name data because an invalid index '' was read from the registry." ---> System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.

                           at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)

                           at System.Diagnostics.PerformanceCounterLib.get_NameTable()

                           at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()

                           at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)

                           at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)

                           at CallSite.Target(Closure , CallSite , Type , Object )

                           --- End of inner exception stack trace ---

                           at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)

                           at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)

                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

TargetObject          : 

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

FullyQualifiedErrorId : InvalidOperationException

ErrorDetails          : 

InvocationInfo        : System.Management.Automation.InvocationInfo

ScriptStackTrace      : at Register-PerfCounterCategory, C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\Tools\Register-PerfCounters.ps1: line 138

                        at Register-PerfCounterCategories, C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\Tools\Register-PerfCounters.ps1: line 225

                        at <ScriptBlock>, C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\Tools\Register-PerfCounters.ps1: line 236

                        at Configure-RetailModernPos, C:\Users\shagu\AppData\Local\Temp\ModernPOSSetup.content\content\ConfigureRetailComponents\Configure-RetailModernPOS.psm1: line 68

                        at <ScriptBlock>, C:\Users\shagu\AppData\Local\Temp\ModernPOSSetup.content\content\ConfigureRetailComponents\Configure-RetailModernPOS.ps1: line 41

                        at <ScriptBlock>, <No file>: line 1

                        at <ScriptBlock>, <No file>: line 1

PipelineIterationInfo : {}

[08/07/2018 08:08:58] :: Last error:

[08/07/2018 08:08:58] :: StackTrace ::

[08/07/2018 08:08:58] :: 

Command                       Location                               

-------                       --------                               

Get-CallStackString           ErrorHandling.psm1: line 25            

Throw-Error                   ErrorHandling.psm1: line 68            

Configure-RetailModernPos     Configure-RetailModernPOS.psm1: line 74

Configure-RetailModernPOS.ps1 Configure-RetailModernPOS.ps1: line 41 

<ScriptBlock>                 <No file>                              

<ScriptBlock>                 <No file>                              

[08/07/2018 08:08:58] :: Script aborted with error code: 200034, message: RetailModernPosDeploymentScriptRunFailed[08/07/2018 08:08:58] :: Please inspect other available logs for more information.[08/07/2018 08:08:58] :: Additional information: 
PSMessageDetails      : Exception             : System.Management.Automation.MethodInvocationException: Exception calling "Exists" with "1" argument(s): "Cannot load Counter Name data because an invalid index '' was read from the registry." ---> System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.                           at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)                           at System.Diagnostics.PerformanceCounterLib.get_NameTable()                           at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()                           at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)                           at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)                           at CallSite.Target(Closure , CallSite , Type , Object )                           --- End of inner exception stack trace ---                           at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)                           at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)TargetObject          : CategoryInfo          : NotSpecified: (:) [], MethodInvocationExceptionFullyQualifiedErrorId : InvalidOperationExceptionErrorDetails          : InvocationInfo        : System.Management.Automation.InvocationInfoScriptStackTrace      : at Register-PerfCounterCategory, C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\Tools\Register-PerfCounters.ps1: line 138                        at Register-PerfCounterCategories, C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\Tools\Register-PerfCounters.ps1: line 225                        at <ScriptBlock>, C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\Tools\Register-PerfCounters.ps1: line 236                        at Configure-RetailModernPos, C:\Users\shagu\AppData\Local\Temp\ModernPOSSetup.content\content\ConfigureRetailComponents\Configure-RetailModernPOS.psm1: line 68                        at <ScriptBlock>, C:\Users\shagu\AppData\Local\Temp\ModernPOSSetup.content\content\ConfigureRetailComponents\Configure-RetailModernPOS.ps1: line 41                        at <ScriptBlock>, <No file>: line 1                        at <ScriptBlock>, <No file>: line 1PipelineIterationInfo : {}[08/07/2018 08:08:58] :: Last error:[08/07/2018 08:08:58] :: StackTrace ::[08/07/2018 08:08:58] :: Command                       Location                               -------                       --------                               Get-CallStackString           ErrorHandling.psm1: line 25            Throw-Error                   ErrorHandling.psm1: line 68            Configure-RetailModernPos     Configure-RetailModernPOS.psm1: line 74Configure-RetailModernPOS.ps1 Configure-RetailModernPOS.ps1: line 41 <ScriptBlock>                 <No file>                              <ScriptBlock>                 <No file>                              

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Configure, install and activate modern POS

    Hello,

    I know this topic is very old but I ran into it recently with MPOS and D365 on 10.0 and I wanted to share my findings. The error, in our case, was caused by the Windows performance counters being corrupted. To resolve this, we ran the following command in an admin command prompt:

    lodctr /R 

    cd c:\windows\syswow64

    lodctr /R

    If the command errors out, run it one more time. It will usually succeed on the second run. 

    After that, restart your MPOS installation process and it should succeed.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

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 231,998 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans