Type: System.UnauthorizedAccessException Message: Access to the registry key 'Global' is denied. StackTrace: 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.get_CategoryTable() at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category) at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName) at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName) at Microsoft.Dynamics.Framework.UI.WebBase.Diagnostics.CounterExistsPerformanceCounterEnabledStrategy.get_IsEnabled() at Microsoft.Dynamics.Framework.UI.WebBase.Diagnostics.SystemPerformanceCounter.Increment() at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionManagerBase.OnClientSessionCreated(ClientSessionCore createdSession) at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.CreateClientSession(String sessionId) at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.EnsureSession(String sessionId) at Microsoft.Dynamics.Framework.UI.Web.ClientSessionManager.EnsureSession() at Microsoft.Dynamics.Framework.UI.Web.FormControl.OnInitCore(EventArgs e) at Microsoft.Dynamics.Framework.UI.Web.FormControl.<>c__DisplayClass3.<OnInit>b__2() at Microsoft.Dynamics.Framework.UI.Web.WebEventExecutor.<>c__DisplayClass3.<Execute>b__2() at Microsoft.Dynamics.Framework.UI.Web.WebEventExecutor.ExecuteCore[T](Func`1 webEvent, Func`1 condition) Source: mscorlib
Type: System.ArgumentNullException Message: Value cannot be null. Parameter name: key ParamName: key StackTrace: at System.Collections.Generic.Dictionary`2.FindEntry(TKey key) at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) at Microsoft.Dynamics.Framework.UI.WebBase.WebSessionStateProvider.Unregister(ClientSessionBase clientSession) at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionManagerBase.OnClientSessionRemoved(ClientSessionCore removedSession) at Microsoft.Dynamics.Framework.UI.ClientSessionManagerCore.RemoveClientSession(ClientSessionCore clientSession) at Microsoft.Dynamics.Framework.UI.ClientSessionCore.Dispose(Boolean disposing) at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionBase.Close() at Microsoft.Dynamics.Framework.UI.Web.ClientSession.OnExitProcessing() at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionBase.ExitProcessingCore() at Microsoft.Dynamics.Framework.UI.WebBase.ClientSessionBase.ExitProcessing() at Microsoft.Dynamics.Framework.UI.Web.FormControl.UnloadCleanup() at Microsoft.Dynamics.Framework.UI.Web.FormControl.<OnUnload>b__17() at Microsoft.Dynamics.Framework.UI.Web.WebEventExecutor.<>c__DisplayClass3.<Execute>b__2() at Microsoft.Dynamics.Framework.UI.Web.WebEventExecutor.ExecuteCore[T](Func`1 webEvent, Func`1 condition) Source: mscorlib
Comments
Now it works like a charm!
Edit: now it's not working again
If I add a single windows login to the Perf Monitor Users group it works..
I'll investigate with the people managing the domain if it could cause any security concerns but this is the only workable solution I found so far.
I resolve it adding Network service to Performance Monitor Users group.