无法加载计数器名称数据,因为无效的指数-Exception计数器、加载、指数、名称

由网友(纯天然少女)分享简介:我使用C#和WPF - 操作系统是Windows 7专业版和Visual Studio 2012年,SQL Server 2012的I am using C# and WPF - Operating System is windows 7 Professional and Visual Studio 2012, S...

我使用C#和WPF - 操作系统是Windows 7专业版和Visual Studio 2012年,SQL Server 2012的

I am using C# and WPF - Operating System is windows 7 Professional and Visual Studio 2012, SQL Server 2012.

我用Devex preSS电网在WPF。我想用ADO.Net服务器模式,将其绑定到数据库。我选择了项目源向导选项来做到这一点约束力,但它产生以下异常:

I used Devexpress Grid in wpf. I want to bind it to database using ADO.Net Server mode. I selected "Items Source Wizard" Option to do this binding but it generated following Exception:

出现InvalidOperationException:无法加载计数器名称数据,因为无效的指数'是从注册表中读取

InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.

是什么异常是什么意思?

能否请你帮我解决这个问题。

Can you please help me to resolve this issue.

谢谢, 安妮。

推荐答案

只是有这样的消息相关的Microsoft Dynamics CRM更新,就不安装和the这个帖子明显的答案提供了很大帮助:

Just had that message related to Microsoft Dynamics CRM updates not installing and the marked answer for this post helped greatly:

点击开始,键入cmd右键单击cmd.exe,然后选择以管理员身份运行。   在提示符下,键入 LODCTR / R 和preSS ENTER键。

Click Start, type cmd right click cmd.exe, and select Run as administrator. At the prompt, type lodctr /r and press ENTER.

显然,Windows将在注册表中的一些柜台缓存在 HKEY_LOCAL_MACHINE SOFTWARE 微软的Windows NT CURRENTVERSION 内Perflib 009 计数 + 帮助。如果这个缓存被损坏(有空行),你得到上面的错误 - 和 LODCTR / R 重建该缓存

Apparently, Windows keeps some counters cache in the registry at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib09 Counter+Help. If this cache becomes corrupted (has blank lines), you get the above errors - and lodctr /r rebuilds that cache.

阅读全文

相关推荐

最新文章