There is already a profiler attached to this process.

Hi, 
I am trying to attach a .Net Executable and getting "There is already profiler attached to this process." Please help me how to resolve.   Thanks in Advance,
Tagged:

Best Answer

  • Alex BAlex B Posts: 1,157 Diamond 4
    Hi @Jayanthy,

    It sounds like there is another profiler already hooked into your process which is blocking ANTS from connecting. If you have an idea of which profiler that may be, can you please disable it while using ANTS? 

    It is possible that ANTS was running previously and after an error these were left, so restarting the computer may help in that circumstance.

    Otherwise, to find out what profiler is already attached, you can download Microsoft's Process Explorer if you don't have it already - http://technet.microsoft.com/en-gb/sysinternals/bb896653.aspx and then open Process Explorer and look for your process in the list of running processes. Right-click on the process, and then click on the Environment tab, then check for a "COR_ENABLE_PROFILING" and "COR_PROFILER" as in the screenshot below


    It may say specifically what profiler otherwise, you will be able to find out the application from the GUID.

    Kind regards,
    Alex
    Product Support Engineer | Redgate Software

    Have you visited our Help Center?
Sign In or Register to comment.