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

Forge Component
Published on 2018-08-09 by Duarte Santos
22 votes
Published on 2018-08-09 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: (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/InfraMonitor-19-131594656714687243
FilePath: D:\...\PS\running\InfraMonitor.01546899750\
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?


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 


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