[Infrastructure Monitor] Error fetching application server counters for "Database server": Invalid class

[Infrastructure Monitor] Error fetching application server counters for "Database server": Invalid class

  
Forge Component
(20)
Published on 9 Aug by Duarte Santos
20 votes
Published on 9 Aug by Duarte Santos

Hi Guys 

I've already configured the front end server and it is working great but after configuring successfully the database server i get the following error:

Message:Error fetching application server counters for "Database server": Invalid class 
Environment InformationeSpaceVer: 2 (Id=180, PubId=1322, CompiledWith=10.0.705.0)
RequestUrl: http://127.0.0.1/InfraMonitor/_ActivityHandler.asmx (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/InfraMonitor-19-131594656714687243
FilePath: D:\...\PS\running\InfraMonitor.01546899750\
ClientIp: 127.0.0.1
Locale:
DateFormat: yyyy-MM-dd
PID: 4904 ('w3wp', Started='12/20/2017 12:30:54 AM', Priv=1059Mb, Virt=9793Mb)
TID: 50
Thread Name:
.NET: 4.0.30319.42000
Stack:Error fetching application server counters for "Database server": Invalid class
   at ssInfraMonitor.Actions.ActionFetchAppServerValues(HeContext heContext, STNodeFetchInfoStructure inParamNodeFetchInfo, Boolean& outParamHasError, String& outParamErrorMessage)



Any Ideas on what the problem is?

Solution

Found out that issue was due to the app trying to fetch IIS counters when the nodetype was a database 

the class it was trying to fetch was 

Win32_PerfFormattedData_W3SVCW3WPCounterProvider_W3SVCW3WP

so changed the FetchPerfCounterValues action to only call the FetchAppServerValues only if the node type was frontend or controler you were already doing it for FetchProcessValues action


Solution