Error with Bling.ps1

Apr 16, 2009 at 1:06 PM
Edited Apr 16, 2009 at 3:38 PM

I'm trying to load with bling.ps1 the SQLDIAG.BLG file .

I get the following error.

Cannot convert null to type "System.DateTime".
At C:\data\bling.ps1:250 char:27
+         $a = [datetime] $arTime[$ <<<< i]

The process is able to create the file _FilteredPerfmonLog in my temp directory with the counters.

All the counter are in English and date time format is mm/dd/yyyy

I've run bling.ps1 in a PC with spanish language.

thanks in advantage.

Apr 27, 2009 at 11:39 PM
The only thing I can think of is that the tool is expecting an English locale. With that said, the .NET objects that I am using should work for any locale.
Apr 28, 2009 at 7:54 AM

I've tried in a PC with English version and fail the same.

Is there any way to send you the SQLDIAG.BLG file?.

Apr 29, 2009 at 6:15 AM
For now, try using the regular PAL v1.x tool. I am close to finishing PAL v2.0 beta and I want to stay focused on it for now.
With that said, if this is important for your business and if you have a Premier Support agreement with Microsoft, then I can work on this during business hours for you (billable labor for me). Have your Microsoft Technical Account Manager (TAM) contact me if this is something you want to pursue.