Article ID: 2962161 - View products that this article applies to.
When you are monitoring a Microsoft SQL Server 2012 computer that has the System Center 2012 Operations Manager agent installed, you notice that event 4001 is logged in the Operations Manager log, as follows:
Log Name: Operations ManagerYou may also find that invalid class error 0x80041010 is returned when you try to open SQL Server Configuration Manager, as in the following error message:
Source: Health Service Script
Event ID: 4001
Task Category: None
User: N/A Computer: SQLServer01.domain.com
Description: GetSQL2012SPNState.vbs : The Query 'SELECT ProtocolName FROM ServerNetworkProtocol where Enabled = true and InstanceName = 'SQLSERVERINSTANCE'' did not return any valid instances. Please check to see if this is a valid WMI Query. Invalid class
Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager. Invalid class [0x80041010]
This issue may occur if there are SQL classes that are missing or are not registered in Windows Management Instrumentation (WMI) on the computer that's running SQL Server.
To resolve this issue, follow these steps:
If you notice that the same 4001 event is registered in the Operations Manager log, and you are running a version of SQL Server other than SQL Server 2012, run the command from the path that matches the SQL version that's being monitored as follows:
C:\Program Files (x86)\Microsoft SQL Server\SQLversion\SharedHere are some possible versions:
SQL Server Configuration Manager gives "Invalid class [0x80041010]” when starting