Related pages: |
This page describes issues you may encounter when installing the .NET Agent.
Use the UI to verify that the agent can connect to the Controller.
In a browser open:
http://<controller-host>:<controller-port>/controller |
If you cannot connect to the Controller in Internet Explorer, see Check Internet Explorer proxy settings.
The Health tab lists the tiers, their nodes, and App Agent Status. When an agent successfully reports to the Controller, an up arrow symbol displays.
See Agent-to-Controller Connections.
If no data displays after a few minutes:
%ProgramData%\AppDynamics\DotNetAgent\Logs\AgentLog.txt
Use this procedure to resolve issues connecting to the Controller when step 1 of 'Verify Agent Controller Connection' fails. To configure the .NET Agent to work through a proxy, see 'Controller Element' on .NET Agent Configuration Properties. |
Misconfigured proxy settings in Internet Explorer may cause the App Agent for .NET to fail to connect to the Controller.
If the test Controller connection fails on the Controller Configuration pane in the Agent Configuration utility:
In Internet Explorer, open:
http://<controller-host>:<controller-port>/controller |
Item | Notes | |
---|---|---|
Run the installer as Administrator. | ||
Verify that MSDTC is enabled and that it is running under the correct account. | Verify MSDTC is enabled and running under the correct account | |
Verify permissions for Agent directory. | Verify that the .NET Agent directory has the correct permissions based on the site’s application pool identity. | |
Verify that the Agent is compatible with the Controller. | ||
Verify the correct settings in the Windows Server 2008 and later: | Update the config.xml file to include the .NET Agent Configuration Properties. |
If the Agent installation is failing, check these configurations in your environment:
Ensure that you have administrative privileges when you launch the installer. If the current user doesn't have sufficient privileges, the installer prompts you for an administrator password.
If you encounter an error that MSDTC is not enabled or it is running for the wrong account, launch an elevated command prompt with full administrative privileges and execute this command:
msdtc -install |
Even if MSTDC is already installed, this command resets the service to run using the "NT Authority\NetworkServices" account.
If the installer fails, use this command-line utility to launch the installer:
msiexec /i $Path_to_the_MSI_File /l*v verbose.log |
A verbose log for the .NET Agent is created at the same location where you saved the installer file.
The .NET Agent installation may fail if there are other Application Performance Management (APM) products installed in the same managed environment. Remove the associated Environment subkey for certain services for the installed APM products.
To remove the associated environment subkey for W3SVC and WAS services in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W3SVC
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WAS
Modify the Environment
subkey to delete these values:
COMPLUS_ProfAPI_ProfilerCompatibilitySetting=EnableV2Profiler COR_ENABLE_PROFILING=1 COR_PROFILER= {a GUID} |
config.xml
file for the App Agent for .NET. See .NET Agent Configuration Properties.If you manually edited the config.xml
file, check the AgentLog.txt
file and WarnLog.txt
file for errors. Invalid XML displays in the log as:
2014-03-13 10:49:18.7199 1232 dllhost 1 1 Error ConfigurationManager Error reading the configuration file |
The .NET Agent writes logs to these directories:
%ProgramData%\AppDynamics\DotNetAgent\Logs
The agent will not generate logs if the agent directory does not have sufficient permissions.
logs
directory for the App Server Agent and select Properties.If the Agent logs directory does not have the required permissions:
For IIS 6.x, these settings are applicable for Application Pool Identities:
Application Pool Identity | Permission Level |
---|---|
|
|
|
|
|
|
| Provide the exact name of the account. |
For IIS >= IIS 7.0, these settings are applicable for Application Pool Identities:
Application Pool Identity | Permission Level |
---|---|
|
|
|
|
|
|
| Provide the group level permissions for |
| Provide the exact name of the account. |
For example, if your application has the identity ApplicationPoolIdentity
, you must provide the permissions for IIS_IUSRS
group to your agent directory.
|
.NET Agent >= 20.3 supports .NET Core. If you used the Microservice Agent to monitor .NET Core applications you can monitor .NET Core with the full .NET Agent. You may receive an error message in the MSI Installer stating that another version of is detected.
The Microservice Agent uses a JSON file to store configuration information while the .NET Agent uses an XML file. The data does not migrate between these files.
To fix this issue, you need to map the data in the JSON file to the XML file, config.xml
and remove environment variables. If you have completed the instructions above and still see the error, you may need to reboot your machine. You may want to plan reboots according to your planned outage schedule.
You may ignore the following error from the AppDynamics.Agent.Coordinator
service in the agent.log or warn.log:
2015-12-01 10:12:03.0435 3872 AppDynamics.Coordinator 1 7 Warn MaxQueueItemAgePolicy MaxQueueItemAge is beyond the integer limit: 13093467123 |