加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

Windows – ClientPerfCountersInstaller.exe停止工作,现在无法

发布时间:2020-12-14 05:44:27 所属栏目:Windows 来源:网络整理
导读:我将Visual Studio 2013与 Windows Azure SDK 2.3一起使用. 无处不在,单击Start without Debugging后,我的解决方案需要一段时间才能启动,然后弹出一条错误消息,说ClientPerfCountersInstaller.exe停止工作.我单击“发送信息”按钮将错误发送给MS,然后退出.
我将Visual Studio 2013与 Windows Azure SDK 2.3一起使用.

无处不在,单击Start without Debugging后,我的解决方案需要一段时间才能启动,然后弹出一条错误消息,说ClientPerfCountersInstaller.exe停止工作.我单击“发送信息”按钮将错误发送给MS,然后退出. “这很奇怪,”我想.我关闭VS,重新打开,再次尝试.一样.重新启动计算机,重新打开VS,但现在,它只是在启动解决方案时挂起(有或没有调试). Azure计算和存储仿真器都已启动(我可以在系统托盘中看到),但没有其他任何事情发生.我最终得到了来自VS的“这比预期的要长”的消息.

我尝试卸载Windows Azure SDK 2.3,然后重新安装它.那没用.

我查看了Windows事件查看器,每次尝试启动解决方案时都注意到以下四个错误:

Application: ClientPerfCountersInstaller.exe Framework Version:
v4.0.30319 Description: The process was terminated due to an unhandled
exception. Exception Info: System.ComponentModel.Win32Exception Stack:
at
System.Diagnostics.PerformanceCounterLib.RegisterFiles(System.String,
Boolean) at
System.Diagnostics.PerformanceCounterCategory.Delete(System.String)
at
ClientPerfCountersInstaller.CounterInstaller.ReadConfigAndInstallCounters()
at ClientPerfCountersInstaller.CounterInstaller.Main(System.String[])

|

Faulting application name: ClientPerfCountersInstaller.exe,version:
1.0.5287.0,time stamp: 0x533b317f Faulting module name: KERNELBASE.dll,version: 6.1.7601.18409,time stamp: 0x5315a05a
Exception code: 0xe0434352 Fault offset: 0x000000000000940d Faulting
process id: 0x1918 Faulting application start time: 0x01cf9c5d685efbcd
Faulting application path:
C:Path-To-SolutionDealers.Web.WindowsAzure.LocalcsxDebugrolesDealers.WebapprootbinMicrosoft.WindowsAzure.CachingClientPerfCountersInstaller.exe
Faulting module path: C:Windowssystem32KERNELBASE.dll Report Id:
a64bfba7-0850-11e4-bd03-b8ca3ac71182

|

The performance strings in the Performance registry value is corrupted
when process Performance extension counter provider. The BaseIndex
value from the Performance registry is the first DWORD in the Data
section,LastCounter value is the second DWORD in the Data section,
and LastHelp value is the third DWORD in the Data section.

|

Unloading the performance counter strings for service windows azure
caching:client (windows azure caching:client) failed. The first DWORD
in the Data section contains the error code.

这怎么发生的?它听起来像文件或条目还是随机损坏的东西?

解决方法

在谷歌搜索之后,我开始找到一些关于重建性能计数器的文章.似乎其他人经历过这些计数器被破坏.

来自MS的This article提供了有关重建性能计数器的各种详细信息.我不想做整个手动过程,所以我只是尝试先用lodctr / R命令重建所有计数器.

我去了Run并键入了cmd以打开命令提示符,然后尝试了lodctr / R命令.它表示它已成功重建,但在事件查看器中,出现了两个错误,其中一个特别是它无法重建Windows Azure的计数器.

但后来我意识到我没有按照文章的指示打开命令提示符作为管理员.在这之后,我再次尝试了该命令,并且事件查看器中没有出现任何错误.

最后,我的解决方案将再次运行,无论是否调试.呼!希望这有助于其他人.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读