Jeff,
Sorry to leave you hanging, but you have not been forgotten. I am working
with the .NET team to investigate why the workaround did not work. I hope to
have an answer for you in a few days.
--
Thanks,
Lynda
"This posting is provided "AS IS" with no warranties, and confers no rights"
"Jeff Arnett" <(E-Mail Removed)> wrote in message
news:3fc201c37653$2ffc68a0$(E-Mail Removed)...
> Any update here Lynda?
>
> -jeff
>
> >-----Original Message-----
> >Jeff,
> >
> >Sorry for the confusion. You are correct in your
> interpretation of my
> >misleading post. That said, we are investigating the
> issue and I will post
> >again as soon as I have an update.
> >-
> >Thanks,
> >
> >Lynda
> >
> >"This posting is provided "AS IS" with no warranties,
> and confers no rights"
> >"Jeff Arnett" <(E-Mail Removed)> wrote in
> message
> >news:049401c36b49$9d0d1210$(E-Mail Removed)...
> >> Lynda,
> >>
> >> It's not clear what the registry change actually is.
> >>
> >> Your message implies adding a registry key in
> >> the ...\Performance tree of DWORD value w/ the name
> >> "Disable ..".
> >>
> >> It is not clear what the DWORD value should be, so I
> >> tried 0 and 1, but nothing seems to help; same error??
> >>
> >> -jeff
> >>
> >> >-----Original Message-----
> >> >Jeff,
> >> >
> >> >Try the following change to the registry:
> >>
> >HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Perf
> >> Proc\Performance:
> >> >DWORD value "Disable Performance Counters"
> >> >
> >> >This is an issue that is known by the netfx team and
> >> they are addressing it.
> >> >--
> >> >Hope this helps,
> >> >
> >> >Lynda
> >> >
> >> >"This posting is provided "AS IS" with no warranties,
> >> and confers no rights"
> >> >"Jeff Arnett" <(E-Mail Removed)> wrote in
> >> message
> >> >news:0b0401c3681d$b10745d0$(E-Mail Removed)...
> >> >> When using the .NET GetProcesses() or
> GetProcessByName
> >> ()
> >> >> API on XPE-SP1 the following error occurs (see
> below).
> >> >>
> >> >> Anyone know how to fix "Process performance counter
> is
> >> >> disabled" problem. We have all software compnents in
> >> our
> >> >> image so I don't think it's a mere dependency issue.
> >> >>
> >> >> -jeff
> >> >>
> >> >> >
> >> >> >System.InvalidOperationException: Process
> performance
> >> >> counter is
> >> >> >disabled, so the requested operation cannot be
> >> performed.
> >> >> > 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.GetProcesses
> (String
> >> >> machineName)
> >> >> > at System.Diagnostics.Process.GetProcesses()
> >> >> > at XPE_ProcessProblem.Form1.button1_Click(Object
> >> >> sender, EventArgs e)
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >
|