PAL Error with CSV file

Jan 13, 2011 at 5:56 AM


Hi I'm trying to use the CSV file to run PAL and I'm getting the below error with my CSV

-Log C:\Documents and Settings\sireesha_s01\Desktop\Jan-7 Run\Perfmon logs\App1
-ThresholdFile C:\Program Files\PAL\PAL v2.0.5\SystemOverview.xml
-Interval AUTO
-OutputDir C:\Documents and Settings\sireesha_s01\Desktop
-IsOutputHtml True
-HtmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
-AllCounterStats False
-IsOutputXml False
-XmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml

Creating session working directory...
Creating directory "C:\SYSROOT\Temp\{fbc80557-7d5a-4d94-a54c-4d8ba880bb68}"
Creating file "C:\Documents and Settings\sireesha_s01\Desktop\App1-070120111014_
Creating directory "C:\Documents and Settings\sireesha_s01\Desktop\App1-07012011

Threshold File Load History:
C:\Program Files\PAL\PAL v2.0.5\SystemOverview.xml

Generating the counter list to filter on...Done
Removing duplicate counter expressions from counter list...Done

WARNING: Please post errors or problems with this tool to the PAL web site
located at with the following error message and a
brief description of what you were trying to do. Thank you.
Exception calling "Substring" with "2" argument(s): "Index and length must refe
r to a location within the string.
Parameter name: length"
At C:\Program Files\PAL\PAL v2.0.5\PAL.ps1:1033 char:35
+     $Char = $sCounterObject.Substring <<<< (0,1)
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordE
    + FullyQualifiedErrorId : DotNetMethodException


Jan 18, 2011 at 8:52 PM

Hi svsireesha,

Thank you for posting this error. I run into this error myself today and fixed it in PAL v2.0.6. I will publish PAL v2.0.6. very soon.