win2K打补丁后,C#程序出现的一个问题

RiskUO 2003-04-07 08:57:04
昨天打了win2K的补丁
有个C#程序出现了如下错误:
Exception Msg: Process performance counter is disabled, so the requested operation cannot be performed
以前没有的。
这个程序是服务端软件,我运行restart命令,应该是kill当前process,然后重起。
有谁知道Process performance counter如何enabled吗
先谢谢了
...全文
21 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
愉快的登山者 2003-04-07
  • 打赏
  • 举报
回复
regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance

删除: "Disable Performance Counters"
或设为 0

TheAres 2003-04-07
  • 打赏
  • 举报
回复
edit the registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance

remove an entry named "Disable Performance Counters" or set it to 0

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧