Page 1 of 1

An Error Occured

Posted: Tue Apr 05, 2016 3:36 pm
by Dunzo
Not sure what this is about, I made no changes to anything(That I am aware of) and the game continues to load/run fine far as I can tell. But if this needs to be addressed, what should I do or what is going on here?

When I click connect this is the error that pops up:

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()

Re: An Error Occured

Posted: Tue Apr 05, 2016 4:19 pm
by Elven
If it works fine, then no need to worry about it. If it does bother you, well...

If you're getting this line of code in your error log:

Code: Select all

at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
You need to rebuild performance counters.

How to manually rebuild performance counters:

1. Go to start, and type in the search box "cmd". Right click cmd, and run as administrator.

2. Type in the command console, "cd c:\windows\system32", and hit enter.

3. Then type "lodctr /r", and hit enter.

3. It will take a few seconds to perform the command.

Performance counters should be rebuilt. Try loading the game, again.

[/color]

Re: An Error Occured

Posted: Tue Apr 05, 2016 4:24 pm
by Dunzo
You are the mother effin MAN elven! Thanks for what you do!

Re: An Error Occured

Posted: Tue Apr 05, 2016 4:36 pm
by Elven
Glad to hear it's sorted for you.

Happy hunting.