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

信息: 成功地从系统备份存储中重建性能计数器设置

Cannot load Counter Name data because an invalid index相关推荐

  1. 解决IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Pyth

    解决IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Pyth ...

  2. IndexError:invalid index of a 0-dim tensor

    运行从githb上下载下来的人脸表情识别项目时,报出如下错误 Traceback (most recent call last):File "mainpro_CK+.py", li ...

  3. Oracle客户端工具出现“Cannot access NLS data files or invalid environment specified”错误的解决办法...

    Oracle客户端工具出现"Cannot access NLS data files or invalid environment specified"错误的解决办法 方法一:参考 ...

  4. tfds.load()和tf.data.Dataset的简介

    tfds.load()和tf.data.Dataset的简介 tfds.load()有以下参数 tfds.load(name, split=None, data_dir=None, batch_siz ...

  5. (原) ora-12705 cannot access nls data files or invalid environment specified

    今天修改了一个参数 NLS_LANG  导致数据库报错. ORA-12705: Cannot access NLS data files or invalid environment specifie ...

  6. Non-OK-status: Status(error::Code::INVALID_ARGUMENT, “Unsupported data format“) status: Invalid argu

    在配置运行deep-fingerprinting项目时,遇到如下的错误:020-10-08 12:27:19.278162: F ./tensorflow/core/util/mkl_util.h:1 ...

  7. 【问题记录】pytorch自定义数据集 No such file or directory, invalid index of a 0-dim

    保存模型: : 保存整个神经网络的结构和模型参数 torch.save(mymodel, 'mymodel.pkl') 只保存神经网络的模型参数 torch.save(mymodel.state_di ...

  8. IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python

    报错原因分析: train_loss += loss.data[0] 是旧版本的Pytorch版本代码,在Pytorch0.4-0.5中会出现警告,不会报错, 在Pytorch0.5版本以上会报错 I ...

  9. IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in

    使用python pytorch框架出现问题: IndexError: invalid index of a 0-dim tensor. Use tensor.item() in Python or ...

最新文章

  1. InfoQ趋势报告:架构和设计领域技术演变详解
  2. Android客户端捕获http请求包的方法
  3. awk读取txt生成mysql插入语句
  4. hadoop balancer
  5. Catalyst 2950/2955交换机的RSPAN配置
  6. SSH客户端开发开源组件Ganymed SSH-2 for Java初体验
  7. win7 下jenkins配置与使用
  8. 参加 CSDN 2009 英雄大会有感(二)
  9. 【Java并发编程:volatile关键字之解析】
  10. JIRA和Confluence更改JVM内存大小解决访问打开缓慢问题
  11. python : os.path 相关操作
  12. Opencv_07 图像的像素值统计
  13. 闲人闲谈PS之二十二——WBS结算规则批量维护函数
  14. 2013年12月14日家中聚餐
  15. sklearn机器学习笔记:数据预处理与特征工程
  16. 绘一幅人人出彩的教育画卷
  17. PKUSC 2022游记
  18. S32K144之时钟配置及时钟查看
  19. VENC 通道属性配置参数理解
  20. 啊哈添柴挑战Java1828. 逆序输出(简单)

热门文章

  1. 描述性统计 -- 偏态分布
  2. 织梦编辑器加HTML视频显示很小,dede织梦编辑器中插入视频文件方法
  3. ts常用内置工具类型
  4. 腾讯产品经理笔试面试题目(含答案)
  5. 戴尔Alienware Command Center重装方法
  6. Ubuntu ens33网卡无ip
  7. 看完95后阿里p7的工资,觉得自己这两年工作了个寂寞
  8. Apifox如何上传图片、文件做接口测试
  9. 基于Java swing开发的雷霆战机
  10. css 伪类和伪元素区别