Exception running PAL for the first time

Oct 13, 2010 at 6:40 PM

I am new to PAL. First install... Trying to parse IIS log and getting this error:

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.4\PAL.ps1:1033 char:35
+ $Char = $sCounterObject.Substring <<<< (0,1)
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordE
+ FullyQualifiedErrorId : DotNetMethodException

Any help will be much appreciated.


PS. I am getting the same error on XP and Windows 7. Running latest version of PAL

Oct 15, 2010 at 5:56 AM

Do you get this error when running PAL against the sample counter log provided with PAL? If you open the counter log with Perfmon, are you able to browse the counter with any problems?