'GetUpperBound' Method not found

Jun 25, 2010 at 11:02 AM
Hi, I'm running PAL v2 Beta 1.1 on the counters from PerfMon. I'm selecting all counters to include them in the report, but when PAL executes, it throws the following error: =========== Threshold File Load History: D:\app\PAL\v2\SystemOverview.xml QuickSystemOverview.xml Generating the counter list to filter on...Done Removing duplicate counter expressions from counter list...Done All counter stats is set to true. Loading all counters in perfmon log into the threshold file as new analyses. This may take several minutes. Getting the counter list from the perfmon log...Done Importing the counter list as new threshold analysesWARNING: Please post errors or problems with thi s tool to the PAL web site located at http://www.codeplex.com/PAL with the following error message and a brief description of what you were trying to do. Thank you. Method invocation failed because [System.String] doesn't contain a method named 'GetUpperBound'. At D:\app\PAL\v2\PAL.ps1:1493 char:66 + For ($i=0;$i -lt $global:aCounterLogCounterList.GetUpperBound <<<< (0);$i++) + CategoryInfo : InvalidOperation: (GetUpperBound:String) [], ParentContainsErrorReco rdException + FullyQualifiedErrorId : MethodNotFound ============= Regards, Felix.
Jul 19, 2010 at 7:27 AM

I am also having the same problem with PAL v2 Beta 1.1 x86 WinXP.

Does anyone know how to fix this?

Jul 20, 2010 at 12:54 AM

The problem was with the data, value for one of the counter was empty. Try fixing the data (remove the empty column) using wordpad but NOT excel.

I am not sure if there a flag to ignore the empty counter column.

Jul 22, 2010 at 3:33 PM
I found that over at my side, it's because of the missing quotes. In the original file that was generated by PerfMon, all the necessary quotes are there, however, I tried opening it up in excel to view it. Subsequently when I close the file, it prompts me to save, which i did, and tells me some formating may be gone. So, after saving it, PAL failed. But when executed against the original file, it's successful.