Can't rebuild performance counters
Posted: Wed Jun 15, 2016 7:39 pm
I've been getting
Data.myp:
System.InvalidOperationException: Category does not exist.
at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at MYPHandler.MYPHandler..ctor(String filename, del_FileTableEventHandler eventHandler_FileTable, del_FileEventHandler eventHandler_Extraction, HashDictionary hashDic)
at RoRLauncher.Client.UpdateWarData()
and apparently the solution is to rebuild your performance counters, but I can't. I get
Error: Unable to rebuild performance counter setting from system backup store, error code is 5
every time I try. Does anyone know how to deal with this? I've been looking for quite a while and I haven't found any information on it.
Also, if I try lodctr /e:PerfProc nothing happens at all.
EDIT: I actually got it to work, but it didn't help, and I still get the error and can't make characters.
Data.myp:
System.InvalidOperationException: Category does not exist.
at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at MYPHandler.MYPHandler..ctor(String filename, del_FileTableEventHandler eventHandler_FileTable, del_FileEventHandler eventHandler_Extraction, HashDictionary hashDic)
at RoRLauncher.Client.UpdateWarData()
and apparently the solution is to rebuild your performance counters, but I can't. I get
Error: Unable to rebuild performance counter setting from system backup store, error code is 5
every time I try. Does anyone know how to deal with this? I've been looking for quite a while and I haven't found any information on it.
Also, if I try lodctr /e:PerfProc nothing happens at all.
EDIT: I actually got it to work, but it didn't help, and I still get the error and can't make characters.