Microsoft .NET agent: Removing the .NET data collector

Before you uninstall the Microsoft .NET agent, you must remove the .NET data collector from your .NET applications.

Procedure

  1. Unregister the data collector.
    As an administrator, enter:
    cd install_dir\qe\bin configdc unregisterdc
    Where install_dir is the installation directory of the Microsoft .NET agent.
  2. Stop all of your .NET applications to disable the data collector.
    Enter net stop was /y
  3. To ensure the complete clean-up of the .NET Data Collector after uninstallation, follow these steps:
    1. On the command prompt, go to the <APM_HOME>\qe\bin directory.
    2. Run the ProcListCaller.bat file.
    3. Verify the CorProfAttach.Log log file at the <APM_HOME>\qe\logs directory. The log file lists the processes to which .NET DC profiler component is attached.
    4. Before you uninstall the agent, stop the processes from the CorProfAttach.Log file.
    5. If no processes are listed, then continue with the agent uninstallation.

What to do next

Uninstall the Microsoft .NET agent. See Uninstalling your agents.