Phoenix - Error in thread Server status update task

Results 1 to 5 of 5
  1. #1
    Enthusiast MrSirNin is offline
    MemberRank
    Jul 2014 Join Date
    26Posts

    Phoenix - Error in thread Server status update task

    It keeps reading "Error in thread Server status update task" when I load up the emulator.
    This is the trouble log:

    03/07/2014 10:57:17 PM: Error in thread Server status update task:
    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 Phoenix.HabboHotel.Misc.LowPriorityWorker.smethod_0() in C:\Users\NETO\Downloads\Phoenix\Phoenix v3.11.0 (14986)\Phoenix v3.11.0 (14986)\Source\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18


    03/07/2014 10:58:36 PM: Error in thread Server status update task:
    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 Phoenix.HabboHotel.Misc.LowPriorityWorker.smethod_0() in C:\Users\NETO\Downloads\Phoenix\Phoenix v3.11.0 (14986)\Phoenix v3.11.0 (14986)\Source\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18


    03/07/2014 10:58:42 PM: Error in thread Server status update task:
    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 Phoenix.HabboHotel.Misc.LowPriorityWorker.smethod_0() in C:\Users\NETO\Downloads\Phoenix\Phoenix v3.11.0 (14986)\Phoenix v3.11.0 (14986)\Source\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18
    Thanks,
    - James


  2. #2
    Member PSK is offline
    MemberRank
    Jan 2014 Join Date
    55Posts

    Re: Phoenix - Error in thread Server status update task

    Run this query, it might help
    SET FOREIGN_KEY_CHECKS=0;


    -- ----------------------------
    -- Table structure for `server_status`
    -- ----------------------------
    DROP TABLE IF EXISTS `server_status`;
    CREATE TABLE `server_status` (
    `status` enum('0','1','2') NOT NULL DEFAULT '0',
    `users_online` int(11) NOT NULL DEFAULT '0',
    `rooms_loaded` int(11) NOT NULL DEFAULT '0',
    `server_ver` text NOT NULL,
    `stamp` double NOT NULL,
    `userpeak` int(11) NOT NULL DEFAULT '0'
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;


    -- ----------------------------
    -- Records of server_status
    -- ----------------------------
    INSERT INTO `server_status` VALUES ('0', '0', '0', 'Phoenix v3.9.0 (Build 14615)', '1346780784', '0');


  3. #3
    Enthusiast MrSirNin is offline
    MemberRank
    Jul 2014 Join Date
    26Posts

    Re: Phoenix - Error in thread Server status update task

    Quote Originally Posted by PSK View Post
    Run this query, it might help
    Still getting:

    04/07/2014 12:18:06 AM: Error in thread Server status update task:
    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 Phoenix.HabboHotel.Misc.LowPriorityWorker.smethod_0() in c:\Users\Makennan\Desktop\3.11.0\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18

  4. #4
    Member PSK is offline
    MemberRank
    Jan 2014 Join Date
    55Posts

    Re: Phoenix - Error in thread Server status update task

    If your database is kind of new, then I would to wipe the database, use phoenix 3.11 (if you aren't already), import the clean DB + fix.
    If your database is old, I suggest to backup items/users/catalog tables and import them into the new DB.

    Never had this sort of problem myself, but I wish you the best of luck & hope this works.

  5. #5
    Enthusiast MrSirNin is offline
    MemberRank
    Jul 2014 Join Date
    26Posts

    Re: Phoenix - Error in thread Server status update task

    This is a fresh DB right from the release



Advertisement