I successfully installed the .NET agent and connected to my own application, but when I check the agent log, I found an exception, which seems to be an exception inside the agent.
2020-07-23 17:27:27.8478 3880 AppDynamics.Coordinator 1 19 Info MachineSnapshotPolicyMonitor MachineSnapshotPolicyMonitor thread got following exception System.Management.ManagementException: Invalid class
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at AppDynamics.Coordinator.MachineSnapshot.IisAppPoolDataSource.InitializeAppPoolData()
at AppDynamics.Coordinator.MachineSnapshot.MachineSnapshotCollector.Collect()
at AppDynamics.Coordinator.MachineSnapshot.MachineSnapshotPolicyMonitor.run()