How to fix .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance Error.
Hello,
I am seeing this error in the event logs:
.NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{2EB6DCDB-3250-4D7F-AA42-41B1B84113ED}'. HRESULT: 0x80040154. Process ID (decimal): 28340. Message ID: [0x2504].
The environment variables are being set properly. The COR_ENABLE_PROFILING is set to 1 and the COR_PROFILER variable is being read correctly.
The application uses the .NET Framework profiler. I can see the CLSID in the registry but it gives me this error again and again.
I am fairly new to this so I am not able to resolve it.
Can anybody help?