Submit a ticketCall us
Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Invalid Query error within component monitor in SAM

Invalid Query error within component monitor in SAM

Created by Christine Magbuo, last modified by Jozsef.Budahazy on Sep 07, 2018

Views: 849 Votes: 1 Revisions: 6

Updated 07/09/2018

Overview

An error message displayed on the component details page:

Invalid query

Environment

All SAM version

Cause 

The Performance Counters are not working and need to be rebuilt.

Resolution

  • Rebuild the corrupted performance counters on the monitored machine:
  • Type the following commands at an Administrative command prompt. Press ENTER after each command.
  • cd c:\windows\system32
  • lodctr /R
  • cd c:\windows\sysWOW64
  • lodctr /R
  • WINMGMT.EXE /RESYNCPERF
  • Stop and restart the Performance Logs and Alerts service
  • Stop and restart the Windows Management Instrumentation service.
Last modified

Tags

Classifications

Public