KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Invalid window handle error

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Wed Mar 05, 2003 11:06 am    Post subject: Reply with quote

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: 12137
Location: USA

PostPosted: Wed Mar 05, 2003 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Marcus



Joined: 18 Nov 2002
Posts: 367

PostPosted: Thu Mar 06, 2003 1:55 am    Post subject: Reply with quote

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
View user's profile Send private message
BHarvey



Joined: 27 Oct 2002
Posts: 33

PostPosted: Thu Mar 06, 2003 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Marcus



Joined: 18 Nov 2002
Posts: 367

PostPosted: Thu Mar 06, 2003 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index