question

DuraikannuJeyamani-4777 avatar image
0 Votes"
DuraikannuJeyamani-4777 asked LimitlessTechnology-2700 answered

My own Core CLR profiler not loading into worker process

I am using Windows server 2016 os and am trying to profile .NET Core web applications that runs on .NET Core 2.1 using CoreCLR Profiler.
I have developed my clrprofiler and output profiler dll pasted into application binary location.
I have set the environment values CORECLR_PROFILER , CORECLR_ENABLE_PROFILING and CORECLR_PROFILER_PATH.

Here's the my web.config,
132557-web.jpg

My clrprofiler.dll not loaded into the worker process (w3wp.exe | dotnet.exe - checked both in-process and out of process)

I confirmed my profiler dll not loaded into worker process by checking with processexplorer. exe and by running command **

Tasklist /M /FI "PID eq 11132" | find "ClrProfiler.dll"

  • (11132 - process id of worker process)

Where I missed here, how can I load my own core clrprofiler into dotnet process | w3wp ?

It would be much helpful if I get some correct direction to troubleshoot this.

Thanks in advance.






windows-serverdotnet-runtime
web.jpg (112.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @DuraikannuJeyamani-4777,

Thank you for your question.

I recommend that you take a look at the article below and see why this error may be happening and how to solve it:

https://docs.microsoft.com/en-us/dotnet/framework/deployment/initialization-errors-managing-the-user-experience

If the answer was helpful, please don't forget to vote positively or accept as an answer, thank you.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.