I would appreciate advice as I am unable to connect the dottrace profiler to an IIS worker process:
C:\JetBrains>ConsoleProfiler.exe attach 7704
dotTrace Console Profiler 2019.1 build 777.0.20190423.74250. Copyright (C) 2019 JetBrains s.r.o.
Profiling in progress...
Unable to start profiling. Profiler is unable to attach to the process: Please ensure the process is not run under another profiler, performance monitoring tool, mocking tool, or try to reboot the computer.
The machine is a VM running in Azure, but I've also tried a VM running in our local infrastructure and the problem was the same.
We have a .net 4.5.2 application that deploys into IIS so I need to connect to the w3wp.exe worker process. Doesn't appear to be permissions based, I am admin on the box, launched the cmd prompt as admin etc.
I have tried the various suggestions I have read in other posts, including rebooting all machines, and removing a monitoring process. I have also updated dottrace from 2018 to 2019.1 and I can't see any other process that is causing the error.
If I try to connect to another .net application - outside of IIS - then it works correctly. But the w3wp.exe process connection never works.
Is there a way to find out what other tool is stopping the profiler from connecting to the process?
Any suggestions would be appreciated...