C# 程序启动时,有个模块报错
System.TypeInitializationException: The type initializer for 'AtmMonitor.Logic.MonitorLogic' threw an exception. --->
System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
在Stack Overflow站点找到解决方法:
C:\windows\SysWOW64> lodctr /r
信息: 成功地从系统备份存储中重建性能计数器设置