Error in Azure Emulator when creating Performance Counters

我怕爱的太早我们不能终老 提交于 2019-12-01 21:14:46

Are you by chance using a non-English version of Windows? If so, I have bad news for you.

Apparently, performance counters are localized in the registry, but Azure Diagnostics tries to register them using their english names (see PdhAddCounter(\Processor(_Total)\% Processor Time) failed).

I had the same problem and asked a question on the Azure forums (here), but no solution or workaround was provided. I suppose all servers in the cloud run an english version of Windows, so it's not an issue there, but you can't test locally.

If this applies to you, the only solution I can offer is to install an english version of Windows.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!