Steps to be performed when an application is not getting added by the .NET agent profiler in APM
Please follow the below troubleshooting steps if an application does not get added by the .NET agent:
- Copy the ClrProfilerAgent.dll from the installation directory of the agent
- Paste the dll in %SystemRoot%\system32
- Unregister the ClrProfilerAgent.dll. In command prompt, go to the installation path of the .NET agent and type the command: regsvr32 -u ClrProfilerAgent.dll
You will get a message that the dll is unregistered - Go to %SystemRoot%\system32 (where we copied our agent dll) and register our agent dll by typing below the following command: regsvr32 ClrProfilerAgent.dll
You will get a message that the dll is registered
Once you have done this, perform some web transactions. Then check the log folder (C:\Document and Settings\All Users\Application Data\dotNetAgent\†AgentLogs.
Check for log files similar to .NetAgentNative.w3wp.exe.796.log to confirm the successful addition of an application by the .NET agent profiler.