Cannot load Counter Name data because an invalid index -Exception

后端 未结 3 1078
再見小時候
再見小時候 2020-11-29 01:14

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

I used Devexpress Grid in wpf. I want to bind it to datab

3条回答
  •  我在风中等你
    2020-11-29 01:51

    Although this has already been answered, I see people are repeatedly getting the same error that I did when trying to solve it. If when you run:

    C:\windows\system32> lodctr /r

    you get the error

    Error: Unable to rebuild performance counter setting from system backup store, error code is 2

    then you instead need to run

    C:\windows\SysWOW64> lodctr /r

    after which you should get

    Info: Successfully rebuilt performance counter setting from system backup store

    Note this has to be done as administrator. I found the solution here

提交回复
热议问题