Description:This article describes the resolution for following Exception in the Web Player log files:
-----------------------------------
Spotfire.Dxp.Internal.Diagnostics.PerformanceCounterUtils - Exception in setting up the performance counters.
System.UnauthorizedAccessException: Access to the registry key '238' is denied.
------------------------------------
Symptoms:The following exception can appear after enabling performance counter logs in Web Player.
INFO 2015-03-02 14:48:24,581 [11392, 28, (null)] Spotfire.Dxp.Internal.Diagnostics.PerformanceCounterUtils - Exception in setting up the performance counters.
System.UnauthorizedAccessException: Access to the registry key 'xxxxx' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object defaultValue, Boolean doNotExpand, Boolean checkSecurity)
at Microsoft.Win32.RegistryKey.GetValue(String name)
at System.Diagnostics.PerformanceMonitor.GetData(String item)
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)
at System.Diagnostics.PerformanceCounterLib.GetCategorySample(String machine, String category)
at System.Diagnostics.PerformanceCounter.NextSample()
at System.Diagnostics.PerformanceCounter.NextValue()
at Spotfire.Dxp.Internal.Diagnostics.PerformanceCounterReader.get_NextValue()
Cause:The cause of this exception is the registry access permission to the Web Player Application pool identity.