I am getting these exceptions when I try and decompile another .NET dll
Exception:Process performance counter is disabled, so the requested operation cannot be performed.Stack Trace:
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_MainWindowHandle()
at \u3.\u2.\u14(String , String[] , \u2 )
at \u11\ue.\u11.\u4(\u15 )
at \u6\u14.\u5.\u4(\u15 )
at \u6\u14.\u5.\u4(\u5 )
at \u5\u4.\u5.\u14()
at \u6\u11.\u1.\u4(Type )
at \u6\u11.\u1.\uf\u1()
at \u10.\u4\u2.\u2(\u1 )
at \u10.\u4\u2.\u2(CodeCompileUnit , String , \u1[] )
at \u10.\u4\u2.\u4(\u5 )
at \u10.\u4\u2.\u2(Object , LanguageType )
at NineRays.ILOMD.DecompilerManager.\u2(Object , Object , LanguageType )Exception:Process performance counter is disabled, so the requested operation cannot be performed.Stack Trace:
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_MainWindowHandle()
at \u3.\u2.\u14(String , String[] , \u2 )
at \u11\ue.\u11.\u4(\u15 )
at \u6\u14.\u5.\u4(\u15 )
at \u6\u14.\u5.\u4(\u5 )
at \u5\u4.\u5.\u14()
at \u6\u11.\u1.\u4(Type )
at \u6\u11.\u1.\uf\u1()
at \u10.\u4\u2.\u2(\u1 )
at \u10.\u4\u2.\u2(CodeCompileUnit , String , \u1[] )
at \u10.\u4\u2.\u4(\u5 )
at \u10.\u4\u2.\u2(Object , LanguageType )
at NineRays.ILOMD.DecompilerManager.\u2(Object , Object , LanguageType )Exception:Process performance counter is disabled, so the requested operation cannot be performed.Stack Trace:
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_MainWindowHandle()
at \u3.\u2.\u14(String , String[] , \u2 )
at \u11\ue.\u11.\u4(\u15 )
at \u6\u14.\u5.\u4(\u15 )
at \u6\u14.\u5.\u4(\u5 )
at \u5\u4.\u5.\u14()
at \u6\u11.\u1.\u4(Type )
at \u6\u11.\u1.\uf\u1()
at \u10.\u4\u2.\u2(\u1 )
at \u10.\u4\u2.\u2(CodeCompileUnit , String , \u1[] )
at \u10.\u4\u2.\u4(\u5 )
at \u10.\u4\u2.\u2(Object , LanguageType )
at NineRays.ILOMD.DecompilerManager.\u2(Object , Object , LanguageType )