Service Crash when using DialUp Network

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
UKortkamp
Posts: 24
Joined: Thu Dec 01, 2005 9:02 am

Service Crash when using DialUp Network

Post by UKortkamp »

Hello @all,
based on an older Tip here from Forum ...: to notify via MobilePhone i'd like to do the following:

- created an DialUp Connection to my MobilePhone in Windows
- set the ModemDialTimeout to 15 seconds via "ATS7=15" (because i doesn't want that the modem talks to my VoiceMailbox - which would take the call after 25 seconds of calling)
- HM action profile defined to DialUpNetwork "myMobilePhone"

Following happens:
TestError occurs => HM is dialing myMobilePhone => MobilePhoneRings (great when associated an police alarm to the calling number :) ) => the DialTimeOut (defined in Modem-Setup) stops the Call => exactly at this moment HM crashes (service stopped)

WindowsEventLogEntry(unimportant deleted):
Ereignisquelle: DrWatson
Ereigniskennung:4097
Datum: 09.12.2005
Zeit: 11:01:47
Die Anwendung "C:\Programme\HostMonitor5\hostmon.exe" hat einen Programmfehler verursacht.
Ausnahme: 000006f7 an Adresse 7C815DEA (kernel32!RaiseException)

Until this moment it's a great feature: no delay through eMail-2-SMS, independent from a working internet connection, NO CHARGE (because no connection will be established)

Enviroment: Windows Server 2003 latest Build's, HM latest build (bought 12 hours ago :) ), very old US Robotics Modem - installed as Windows "default modem"

Any on an idea ?

Kind regards
Uwe
UKortkamp
Posts: 24
Joined: Thu Dec 01, 2005 9:02 am

Post by UKortkamp »

I think i've found the problem AND the solution.

When Windows is unable to establish a connection (because the modem hangs up after DialTimeOut) a popup Window comes up to inform the user. IMHO this Window crashes the service.

The solution (if someone else will try these notification mode):
in HM Action profile use "Execute external program => commandline: RASDIAL.exe DialUpEntryName => WindowMode SW_HIDE" und everythink works fine.

Have a nive weekend
Uwe
Post Reply