Page 1 of 1

Data.myp - cannot load Counter Name error

Posted: Sat Apr 02, 2016 9:46 pm
by BrotherGlacius
Data.myp:
System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists)
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()

So I've searched the forum and attempted to do the lotctr /r fix, but I get the following error:
Error: Unable to rebuild performance counter setting from system backup store, error code is 5

I then try to do the lodctr /e:PerfProc command, and that does not return an error, but I get no output whatsoever. I then tried to launch the game again and the same error occurs.

I'm current running a Win10 machine.

Re: Data.myp - cannot load Counter Name error

Posted: Sat Apr 02, 2016 9:51 pm
by magicthighs
BrotherGlacius wrote:Data.myp:
System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists)
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()

So I've searched the forum and attempted to do the lotctr /r fix, but I get the following error:
Error: Unable to rebuild performance counter setting from system backup store, error code is 5

I then try to do the lodctr /e:PerfProc command, and that does not return an error, but I get no output whatsoever. I then tried to launch the game again and the same error occurs.

I'm current running a Win10 machine.
Are you running lotctr /r as admin?

Re: Data.myp - cannot load Counter Name error

Posted: Sat Apr 02, 2016 9:56 pm
by BrotherGlacius
I had not..I did, got another error almost the same as the first, but code 2, but it did seem to work anyways...thanks

Re: Data.myp - cannot load Counter Name error

Posted: Sat Apr 02, 2016 10:02 pm
by magicthighs
Glad you got it working :)