ajith-k / spa

SQL Perfmon Analyzer : A tool to ease the analysis of performance counters for SQL. Can be easily customized to analyze any set of performance counters with no code change.
1 stars 1 forks source link

Error when selecting counter group "CPU Overall" #4

Open shiitake opened 7 years ago

shiitake commented 7 years ago

Error : Exception from HRESULT: 0xC0000BB8 Error while adding counters! The specified object was not found on the computer. Error Number : -1073738824 Source : Interop.SystemMonitor Call Stack : at SystemMonitor.ICounters.Add(String pathname) at spa.frmSPA.CtrAdd()

Steps to reproduce this issue:

  1. Open spa
  2. load blg file
  3. select 'CPU Overall' from the counter group drop down
  4. click Add button
ajith-k commented 4 years ago

0xC0000BB8 is PDH_CSTATUS_NO_OBJECT. Looks like some counter was missing. Better error handling would help but it is a larger task.