Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
03-31-2021 09:54 PM
Hi Appdynamics team,
Greetings for the day!
Im trying to configure the windows service application to monitior using .net agent referring the below link.
here is the part of config.xml file which i have added
<standalone-applications>
<standalone-application executable="FULL PATH OF EXECUTABLE" command-line="-x">
<tier name="Windows Service"/>
<profiler>
<instrument-defaultdomain enabled="true"/>
</profiler>
</standalone-application>
</standalone-applications>
but unable to get the transactions. Please let me know if i missed any more configuration steps.
I have seen the below messages in the "agentlog" as below.
Info SystemInformation Environment variable 'APP_POOL_ID' is not set. Trying to extract App Pool ID from managed command line
2021-03-31 15:31:10.2771 15488 Service 1 3 Info SystemInformation Managed command line did not have 'APP_POOL_ID'. Trying to extract App Pool ID from native command line
2021-03-31 15:31:10.2771 15488 Service 1 3 Info SystemInformation The app pool ID is
2021-03-31 15:31:10.2771 15488 Service 1 3 Info Configuration appDomainName="EXE NAME" appDomainId=1 iis-app=null site=null port=null appPoolId=null commandLine=""
2021-03-31 15:31:10.2911 15488 Service 1 3 Info AgentCommunicator named pipe = \\.\pipe\AppDynamicsAgentIPC
2021-03-31 15:31:10.4096 15488 Service 1 3 Warn Configuration Problem loading the configuration: System.NullReferenceException: Object reference not set to an instance of an object.
at AppDynamics.Agent.Configuration.ValidateAndFixConfig(AppAgentConfiguration appAgentConfiguration)
at AppDynamics.Agent.Configuration..ctor(StandaloneAgentConfiguration standaloneAgentConfig, SensitiveDataScrubber dataScrubber)
I could able to get the transactions for IIS Applications.
please help me in resolving the issue.
Thanks in advance.
04-01-2021 09:55 AM
Hi @vemp.oiyu,
I did some looking and there are two very similar questions already asked on the Community that have solutions.
Please check those out to see if they offer any help, if they do, please share what you learned as a reply back to this post.
Thanks,
Ryan, AppDynamics Community Manager
04-02-2021 01:01 AM
Hi @Ryan.Paredez ,
Thanks for the reply,
I have already referred the links you have shared me. i have tried configuring the entry points as well for the windows service.
i could see this below message in the Controller with the windows service name.
I could see this message in agentlog,
Info SystemInformation Environment variable 'APP_POOL_ID' is not set. Trying to extract App Pool ID from managed command line
2021-03-31 15:31:10.2771 15488 Service 1 3 Info SystemInformation Managed command line did not have 'APP_POOL_ID'. Trying to extract App Pool ID from native command line
2021-03-31 15:31:10.2771 15488 Service 1 3 Info SystemInformation The app pool ID is
2021-03-31 15:31:10.2771 15488 Service 1 3 Info Configuration appDomainName=Service.exe appDomainId=1 iis-app=null site=null port=null appPoolId=null commandLine=""
2021-03-31 15:31:10.2911 15488 Service 1 3 Info AgentCommunicator named pipe = \\.\pipe\AppDynamicsAgentIPC
2021-03-31 15:31:10.4096 15488 Service 1 3 Warn Configuration Problem loading the configuration: System.NullReferenceException: Object reference not set to an instance of an object.
at AppDynamics.Agent.Configuration.ValidateAndFixConfig(AppAgentConfiguration appAgentConfiguration)
at AppDynamics.Agent.Configuration..ctor(StandaloneAgentConfiguration standaloneAgentConfig, SensitiveDataScrubber dataScrubber)
Could you please help me solving this appPoolID getting null.
Thanks in advance.
04-02-2021 09:55 AM
Hi @vemp.oiyu,
Thanks for letting me know. If I find anything out, I will be sure to share it here. In the meantime, let's see if the Community can jump in and help.
Thanks,
Ryan, AppDynamics Community Manager
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form