#11 SysTray failes to load on MSServer2003

open
nobody
None
5
2013-01-10
2008-11-17
Anonymous
No

debug:.\TrayIcon.cpp:53: Failed to load: ChangeWindowMessageFilter aparently we are not on Vista...

Discussion

  • wsoethe
    wsoethe
    2008-11-17

    I just got the same problem.

    This is my event application error:
    Event Type: Error
    Event Source: Application Error
    Event Category: (100)
    Event ID: 1000
    Date: 11/17/2008
    Time: 3:34:11 PM
    User: N/A
    Computer: MyServerName
    Description:
    Faulting application nstray.exe, version 0.0.0.0, faulting module gdi32.dll, version 5.2.3790.4237, fault address 0x00009d33.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 41 70 70 6c 69 63 61 74 Applicat
    0008: 69 6f 6e 20 46 61 69 6c ion Fail
    0010: 75 72 65 20 20 6e 73 74 ure nst
    0018: 72 61 79 2e 65 78 65 20 ray.exe
    0020: 30 2e 30 2e 30 2e 30 20 0.0.0.0
    0028: 69 6e 20 67 64 69 33 32 in gdi32
    0030: 2e 64 6c 6c 20 35 2e 32 .dll 5.2
    0038: 2e 33 37 39 30 2e 34 32 .3790.42
    0040: 33 37 20 61 74 20 6f 66 37 at of
    0048: 66 73 65 74 20 30 30 30 fset 000
    0050: 30 39 64 33 33 09d33

     
  • Same problem on Windows 2003 SBS SP2

    If I run nsclient++ /test it runs OK but if I just run the tray icon I get the failure.

    nsclient++ /test

    log :
    2008-12-09 12:26:21: message:.\FileLogger.cpp:92: Starting to log for: NSClient++ - 0.3.5.2 2008-09-24
    2008-12-09 12:26:21: message:CACHE.\NSClient++.cpp:262: Booting: NSClientpp (Nagios) 0.3.5.2 2008-09-24 w32
    2008-12-09 12:26:21: message:CACHE.\NSClient++.cpp:370: Attempting to start NSCLient++ - 0.3.5.2 2008-09-24
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: CheckDisk...
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: Event log Checker....
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: Helper function...
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: CheckSystem...
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: File logger...
    2008-12-09 12:26:21: debug:CACHE.\PDHCollector.cpp:66: Autodetected w2k or later, using w2k PDH counters.
    2008-12-09 12:26:21: message:CACHE.\FileLogger.cpp:93: Log path is: C:\Program Files\NSClient++\\nsclient.log
    2008-12-09 12:26:21: debug:CACHE.\PDHCollector.cpp:103: Using index to retrive counternames
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: NRPE server...
    2008-12-09 12:26:21: debug:CACHE.\PDHCollector.cpp:123: Found countername: CPU: \Processor(_total)\% Processor Time
    2008-12-09 12:26:21: debug:CACHE.\PDHCollector.cpp:124: Found countername: UPTIME: \System\System Up Time
    2008-12-09 12:26:21: debug:CACHE.\PDHCollector.cpp:125: Found countername: MCL: \Memory\Commit Limit
    2008-12-09 12:26:21: debug:CACHE.\PDHCollector.cpp:126: Found countername: MCB: \Memory\Committed Bytes
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: NSClient server...
    2008-12-09 12:26:21: debug:CACHE.\NSClient++.cpp:773: Loading plugin: SystemTray...
    2008-12-09 12:26:21: message:.\NSClient++.cpp:476: NSCLient++ - 0.3.5.2 2008-09-24 Started!
    2008-12-09 12:26:21: debug:d:\documents\Visual Studio 2005\Projects\NSCP\branches\stable\include\Socket.h:637: Bound to: 0.0.0.0:5666
    2008-12-09 12:26:21: debug:d:\documents\Visual Studio 2005\Projects\NSCP\branches\stable\include\Socket.h:637: Bound to: 0.0.0.0:12489
    2008-12-09 12:26:22: message:.\NSClient++.cpp:278: Using settings from: INI-file
    2008-12-09 12:26:22: message:.\NSClient++.cpp:279: Enter command to inject or exit to terminate...
    2008-12-09 12:26:22: debug:.\TrayIcon.cpp:53: Failed to load: ChangeWindowMessageFilter aparently we are not on Vista...
    2008-12-09 12:26:42: debug:.\NSClientListener.cpp:146: Data: None&2&5
    2008-12-09 12:26:42: debug:.\NSClientListener.cpp:171: Data: 5
    2008-12-09 12:26:42: debug:.\NSClient++.cpp:910: Injecting: checkCPU: 5, nsclient
    2008-12-09 12:26:42: debug:.\NSClient++.cpp:946: Injected Result: OK '0'
    2008-12-09 12:26:42: debug:.\NSClient++.cpp:947: Injected Performance Result: ''

    nstray.exe error

    Event Type: Error
    Event Source: Application Error
    Event Category: (100)
    Event ID: 1000
    Date: 09/12/2008
    Time: 12:14:44
    User: N/A
    Computer: CPSERVER
    Description:
    Faulting application nstray.exe, version 0.0.0.0, faulting module gdi32.dll, version 5.2.3790.4237, fault address 0x00009d33.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 41 70 70 6c 69 63 61 74 Applicat
    0008: 69 6f 6e 20 46 61 69 6c ion Fail
    0010: 75 72 65 20 20 6e 73 74 ure nst
    0018: 72 61 79 2e 65 78 65 20 ray.exe
    0020: 30 2e 30 2e 30 2e 30 20 0.0.0.0
    0028: 69 6e 20 67 64 69 33 32 in gdi32
    0030: 2e 64 6c 6c 20 35 2e 32 .dll 5.2
    0038: 2e 33 37 39 30 2e 34 32 .3790.42
    0040: 33 37 20 61 74 20 6f 66 37 at of
    0048: 66 73 65 74 20 30 30 30 fset 000
    0050: 30 39 64 33 33 09d33

     
  • Systray works ! On W2k3. Dont install with the msi dubbleclick.
    Take the zip, extract and install with cmd -install, works!

     
  • This is due to and issue when accessing usr.dll

     
  • AppName: nstray.exe AppVer: 0.0.0.0 ModName: user32.dll
    ModVer: 5.1.2600.5512 Offset: 00008780
    This was installed on WinXP SP3, and even WINK3 has the same issue. So this will not install correctly.