Submit a ticketCall us

AnnouncementsFace your biggest database issues head-on

Our new eCourse helps you navigate SQL Server performance blocks by teaching you how to recognize and deal with the three DBA Disruptors: Performance Hog, Blame Shifter, and Query Blocker. Register today to learn how to defend your environment and fend off menacing disruptions.

Register for your free eCourse.

Home > Success Center > Server & Application Monitor (SAM) > SAM Documentation > SAM 6.7 Administrator Guide > Troubleshooting SAM > Service reporting Invalid Class issue in SAM

Service reporting Invalid Class issue in SAM

Updated: 3-9-2017

You may receive an error of Invalid Class for SAM services. The issue could be due to a number of issues including the incorrect polling method or issues with the WMI repository. If the following information does not resolve the issue, review information in our Success Center.

Verify the polling type

Services can be polled using RPC or WMI monitors. Verify the correct service is running for polling by navigating to Edit Application > RPC or WMI. If the correct monitor is used for polling, you may need to troubleshoot the monitors.

Repair the WMI Repository

If the WMI monitor is used for polling and returning an error of Invalid Class, you need to repair the WMI repository. Use this KB article to resolve the issue: 

 

Vista and Windows 2008 have a built-in method for repairing the WMI repository.

  1. Open an Administrator command prompt and run: winmgmt /salvagerepository/
  2. You may need to resync the counters if you continue receiving the error. Re-sync the counters by opening a command prompt and typing: winmgmt /resyncperf
  3. You should also verify the performance counters are not disabled.

You may also need to switch the polling method from WMI to RPC, or vice versa, by editing the monitoring node.

WMI is an operating system component. If the previous steps do no work, you may need to contact Microsoft for further information: WMI Troubleshooting. Microsoft Developer Network. http://msdn.microsoft.com/en-us/library/aa394603.aspx

 
Last modified

Tags

Classifications

Public