Monitor .NETCORE appliations deployed in IIS

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

Applicare dotnet agent by default will monitor both .NET framework and .NETCORE applications deployed in IIS. If we are not able to see http, sql, webservices data on dotnet agents, then it is possible that the profiler dll is not registered or the instrumentation is not initiated.

1. Add environment variables if it is missing. Make sure the following system environment variables are set in the machine in which agent is installed.

CORECLR_ENABLE_PROFILING : 1 CORECLR_PROFILER : {AD0AB006-9F79-43F1-B5CF-26768A70E789}

CORECLR_PROFILER_PATH_32 : <Agent_Installed_Path>\Profiler\Arcturus.Applicare.DotNetAgent.Profiler_32.dll

CORECLR_PROFILER_PATH_64 : <Agent_Installed_Path>\Profiler\Arcturus.Applicare.DotNetAgent.Profiler_64.dll

[Screenshot 1 is not available on this page.]

2. Open command window in admin mode and go to the path <Agent_Installed_Path>\Profiler then register the profiler dlls using the following command.

regsvr32 Arcturus.Applicare.DotNetAgent.Profiler_32.dll **regsvr32 Arcturus.Applicare.DotNetAgent.Profiler_64.dll

[Screenshot 2 is not available on this page.]** 3. Make sure the .NETCORE application apppool's .NET CLR VERSION is set to "No Managed Code" in IIS.

4. Make sure both .NET Framework application and .NETCORE application is not deployed on same site in IIS.

Restart IIS after making any changes.

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support