Hi Hamza,
From the provided event error log -
.NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance.
Profiler CLSID: '{6652970f-1756-5d8d-0805-e9aad152aa84}'. HRESULT: 0x8007007e.
Process ID (decimal): 12924. Message ID: [0x2504].
Seems, you have also installed some other 3rd party profiler in this machine. If we search this profiler id, it looks like related to "ETWClrProfiler", Could you please verify if you have also installed any other profiler in this machine. If you find the profiler other than AppDynamics please uninstall it, after that please reboot the server and then instrument the application with AppDynamics .Net Agent.
As per logic .NET Common Language Runtime (CLR) allows only one profiler to access the profiling API to instrument .Net process at a single time. If another profiler is installed on the system, the AppDynamics profiler will not instrument any .Net applications process and not report any data metrics.
For more details abount profiling api refer the following msdn document - https://msdn.microsoft.com/en-us/library/bb384689.aspx
Please let us know, if it helps or you have any question.
Thanks,
Ashish.
... View more