View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Wed Mar 05, 2003 11:06 am Post subject: |
|
|
Windows XP Pro SP1 using RDP (remote desktop/terminal services)
Hostmon running as service, logon locally, open Hostmon, choose edit - all works; logon via RDP, open Hostmon, edit anything or choose Options opens small unuseable window/edit box and hangs Hostmon forcing restart of service. This also happens if starting service while logged in via RDP, the logging into the console.
Error [Invalid window handle] below is found in the WinXP Application event log. Easy fix?
Event Type: Error
Event Source: hostmon.exe
Event Category: None
Event ID: 0
Date: 3/5/2003
Time: 8:59:19 AM
User: N/A
Computer: <removed>
Description:
The description for Event ID ( 0 ) in Source ( hostmon.exe ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Win32 Error. Code: 1400.
Invalid window handle.
Thanks. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed Mar 05, 2003 4:18 pm Post subject: |
|
|
I think when you use RDP, it provides different system handles for each user session (like NT 4.0 changes handles every time user login). Unfortunatelly to correct this problem we have to redesign compliler's library. Its not easy at all
In HostMonitor version 4 will be implemented Remote Control Center to allow configure HostMonitor using TCP/IP
Regards
Alex |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Thu Mar 06, 2003 1:55 am Post subject: |
|
|
I think when you use RDP, it provides different system handles for each user session (like NT 4.0 changes handles every time user login).
It sounds like the same problem with terminal service, with the exception that you can login directly to the console. Solution could be: Stop the service before starting the application. When finished, stop the application and start the service.
To avoid problems you could turn off the system tray icon...... |
|
Back to top |
|
|
BHarvey
Joined: 27 Oct 2002 Posts: 33
|
Posted: Thu Mar 06, 2003 11:22 am Post subject: |
|
|
If you turn off the tray, how do you open the existing service for monitoring and changes?
Management via TCP and a Web interface will be excellent.
Thanks,
Brad |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Thu Mar 06, 2003 1:49 pm Post subject: |
|
|
You have to stop the service and then start the application itself.
To stop the service: net stop "Advanced Host Monitor"
After you are finished, you should start the service again:
net start "Advanced Host Monitor" |
|
Back to top |
|
|
|