After generating traffic for your .NET app and waiting five minutes, data still does not appear in the New Relic UI.
Check with your system administrator before changing permissions.
Ensure the app pool identity has
readaccess to the New Relic registry key located at:
HKLM\SOFTWARE\New Relic\.NET Agent\
Grant all users on the system access to this registry key, or allow only the app pool identity to access the key.
- To grant the Everyone user access to the registry key:
- As Admin, open the Windows registry.
- Select Computer > HKEY_LOCAL_MACHINE > Software > New Relic. Right-click .NET Agent, then select Permissions.
- If you do not see an Everyone user in the Group or user names list, create the user: Select Add. Then, from Select Users or Groups: In the Enter the object name to select field, type
Everyone. Select OK.
In the Group or user names list, select Everyone. Then, in the Permissions for table, select the Allow checkbox for Read permissions.
- To grant individual app pool identities access to the registry key:
Determine your app pool identity, which uses this standard format:
As admin, open the Windows registry.
Select Computer > HKEY_LOCAL_MACHINE > Software > New Relic. Right-click .NET Agent, then select Permissions.
From the Permissions for .NET Agent dialog, select Add. Then, from Select Users or Groups: In the Enter the object name to select field, type your app pool identity (for example,
IIS AppPool\APP_POOL_NAME). Select OK.
In the Group or user names list, select your new app pool identity. Then, in the Permissions for table, select the Allow checkbox for Read permissions.
- From the command line, perform an IISRESET.
- If updating permissions does not resolve the problem, follow the .NET agent's troubleshooting procedures for missing data.
To prevent this problem from happening with future installs, uninstall WSM 22.214.171.124 and install WSM 126.96.36.199. If you do not want to make changes to your registry, uninstall WSM and .NET, then reinstall the latest versions.
A common reason why data does not appear is because the New Relic .NET agent cannot access its registry keys. You may see registry permission errors in your profiler logs at:
%ALLUSERSPROFILE%\New Relic\.NET Agent\Logs\
For example, you may see:
[Info] ... Logger initialized [Error] ... Unable to find New Relic Home directory in registry or environment. [Error] ... An exception was thrown while initializing the profiler.