Issue:
When looking in the investigator, .NET Agent names appear with %1 added.
Environment:
.NET Agents on Windows
Cause:
The application administrator does a regular recycle of the Apps in their environment.
There are two ways to recycle .Net applications. One is App pool recycle and the other is IIS reset.
1) In App pool recycle, it starts a new instance of that application. Then it sends all new requests to that instance while continuing to maintain the old instance until all the existing requests get serviced.
2) In an IIS reset, it stops everything and users may lose their sessions and connections while this is happening.
When App pool restart is used for recycling, there are two instances of same application running. As a result, we see a name with %1 in .NET agent name.
The following is logged in the IntroscopeEnterpriseManager.log:
[WARN] [PO:WatchedAgentPO Mailman 2] [Manager] Non-unique Agent requested connection ("SuperDomain|HOSTNAME|.NET Process|<Agent Name>"). Re- assigning Agent Name: <Agent Name>%1
Workaround:
The application administrator can use IIS reset instead of App pool recycle to avoid this problem.