ConsoleProfiler unable to attach
When I try to attach to a running IIS asp.net application on our live servers using the ConsoleProfiler like this:
ConsoleProfiler /pid=xxxx snapshot.dtp
I get this error:
Can't start profiling. Details: 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.
I have tried rebooting.
I don't believe there are any other attached profilers. Is there any way I can diagnose exactly what the problem is ?
Thanks
Please sign in to leave a comment.
Hi,
Could you please run the Cleanup tool ("CleanUpProfiler.x64.exe /r /t" in elevated command prompt), reboot a server and then, if it will not help - manually check the following registry keys and environment variables, remove them if they exist and reboot the server:
- All COR* and CORE* variables under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework and HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\.NETFramework registry keys,
- All COR* and CORE* environmental variables: open elevated command prompt, run "set" command.
If this issue still persists after that, please create a support ticket ("Submit a request" button in the right upper corner).
Running the cleanup tools and rebooting worked.
Thanks.