Method invocation failed because [System.String] doesn't contain a method named 'GetUpperBound'.

Feb 12, 2013 at 3:23 PM
Hi!

Looking to use PAL to analyse some stress test results. Provided a selection of counters as part of a log and tried to analyse with (IIS) for IIS v5.x, v6.x, and v7.x template provided.

At the following point:

Processing: Web Service Current Connections
    Time data (one time only)...Done
    Counter data for "_Total"...WARNING:
PAL errors out with the message:
Method invocation failed because [System.String] doesn't contain a method
named 'GetUpperBound'.
At C:\Program Files\PAL\PAL\PAL.ps1:2561 char:15
  • For ($i=0;$i -le $Values.GetUpperBound(0);$i++)
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRec
      ordException
    • FullyQualifiedErrorId : MethodNotFound
Coordinator
Mar 20, 2013 at 1:19 AM
Does the counter log contain instances of Web Server Current Connections other than _Total? The _Total instance is excluded from analysis in many of the analyses in the threshold file mostly because there is little useful data from them. It is likely excluding _Total and if that is the only instance, then the array is empty. In any case, I need to add an error handler for this.