.net错误:Process performance counter is disabled,so the requested operation cannot be performed
来源:互联网 发布:uploadify php demo 编辑:程序博客网 时间:2024/06/01 08:52
发生错误:Process performance counter is disabled,so the requested operation cannot be performed
这是系统设置了某些禁用项导致的。解决方法如下:
1、点击“开始”菜单,选择“运行”,输入命令行:regedit,打开系统注册表;
2、定位到:hkey_local_machine/system/currentcontrolset/services/perfproc/performance
3、删除名称为"disable performance counters"的条目或者双击该条目将其值改为“0”
4、如果以上处理问题依旧,那么就是操作系统的问题,需要修复进程性能计数器:
点击“开始”菜单,选择“运行”,输入命令行:Lodctr /r
如果lodctr命令无法执行,则需要拷贝lodctr.exe到system32下再运行
5、如果问题继续则尝试拷贝perfc009.dat perfh009.dat到system32下
6、终极解决办法
A:安装exctrlst.exe,默认路径为C:/Program Files/Resource kit
B:找到路径C:/Program Files/Resource kitexctrlst.exe在程式中Extensible Performance Counters:
找出PerProc并將Performance Counter Enable打勾。应该就可以了。
网络上也有提示说是 “获取process与performance counter相关, 当前的执行用户不是administrator 组成员”
未证实
- .net错误:Process performance counter is disabled,so the requested operation cannot be performed
- net错误:Process performance counter is disabled,so the requested operation cannot be performed
- 调用Application.Quit()方法时报"This operation cannot be performed in this event handler."错误的一种解决方法
- Cannot add performance counter
- The requested page cannot be accessed because the related configuration data for the page is invalid
- qtp出错:This operation cannot be performed. For further help please contact support
- operation is executing and cannot be enqueued
- File xxx.ps1 cannot be loaded because the execution of scripts is disabled on this system
- <iOS> The operation could not be performed because of one or more tree conflicts.
- The connected J-Link is defective,Proper operation cannot be guaranteed.......
- The requested operation is invalid on a closed state
- The service cannot be started, either because it is disabled or because it has no enabled deices ass
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this sy
- 错误:The Operation Couldn't be Completed
- 拷贝文件时出现The process cannot access the file 'xxx' because it is being used by another process.错误
- The operation cannot be completed. See the details.
- The operation cannot be completed. See the details.
- golang:An operation on a socket could not be performed because the system lacked sufficient buffer s
- ASP.NET中获取本机的IP
- winfrom 在任务栏上的右键菜单
- MIPS--cache管理
- C#线程参考手册Chapter 1笔记
- C#线程参考手册Chapter 2笔记
- .net错误:Process performance counter is disabled,so the requested operation cannot be performed
- tomcat内存溢出
- 批处理命令大全
- LibCurl编程 【转自http://blog.chinaunix.net/u1/57905/showart_1950598.html】
- Apache连接Tomcat
- struts actionform date beanutils
- Linux下删除并重建Oracle实例
- Java编程的常见问题
- Drawable、Bitmap、Canvas和Paint的关系以及部分使用方法