c# - Cannot load Counter Name data because an invalid index -Exception -
i using c# , wpf - operating system windows 7 professional , visual studio 2012, sql server 2012.
i used devexpress grid in wpf. want bind database using ado.net server mode. selected "items source wizard" option binding generated following exception:
invalidoperationexception: cannot load counter name data because invalid index '' read registry.
what exception mean?
can please me resolve issue.
thanks, annie.
just had message related microsoft dynamics crm updates not installing , the marked answer post helped greatly:
click start, type cmd right click cmd.exe, , select run administrator. @ prompt, type lodctr /r , press enter.
apparently, windows keeps counters cache in registry @ hkey_local_machine\software\microsoft\windows nt\currentversion\perflib\009
\ counter
+help
. if cache becomes corrupted (has blank lines), above errors - , lodctr /r
rebuilds cache.
Comments
Post a Comment