SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
RASDial

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
RASDial
Author Message
Rick Ireland



Joined: 30 Oct 2000
Posts: 44

Post RASDial Reply with quote

Hi -

The RASDial function will fail at times with either an "insufficient memory" or an "unknown RAS error" message. It does not appear to be a resouce issue, although I cannot rule that out at the moment. The problem I have is that 24x7 displays a message box asking whether I want to continue, but regardless of the answer, 24x7 ends up in a 'Not Responding' state and must be manually terminated via Task Manager.

Is there a way around this? Any known issues with RAS-commands I should be aware of?

Thanks in advance

- Rick

Wed Apr 24, 2002 10:56 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: RASDial Reply with quote

Which 24x7 and Windows versions are you running?

: Hi -

: The RASDial function will fail at times with either an "insufficient
: memory" or an "unknown RAS error" message. It does not
: appear to be a resouce issue, although I cannot rule that out at the
: moment. The problem I have is that 24x7 displays a message box asking
: whether I want to continue, but regardless of the answer, 24x7 ends up in
: a 'Not Responding' state and must be manually terminated via Task Manager.

: Is there a way around this? Any known issues with RAS-commands I should be
: aware of?

: Thanks in advance

: - Rick

Wed Apr 24, 2002 11:43 am View user's profile Send private message
Rick Ireland



Joined: 30 Oct 2000
Posts: 44

Post Re: RASDial Reply with quote

: Which 24x7 and Windows versions are you running?

We have 24x7 3.2.1 and Windows 2000 Server.

Wed Apr 24, 2002 12:20 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: RASDial Reply with quote

I could not find any reason other than the connection is not released from a previous dial or another job.

I would like to suggest making several attempts. Try this script as an example.

// set 3 minutes as a timeout, change it if you want
Dim timeout, number, 3

OnErrorGoTo WAIT_AND_TRY_AGAIN

REDIAL:
RASDial phonebook_entry, user_name, password, connection

// if we are here, RASDial succeeded, now jump to the main part of the script
GoTo MAIN_PART:

WAIT_AND_TRY_AGAIN:
// if we are here, RASDial failed. Wait 60 seconds and try again
Wait 60
Subtract Timeout, 1, Timeout
If Timeout, REDIAL, ERROR_HANDLING

ERROR_HANDLING:
.... put here what you want to do if all 4 dial out attempts failed
Exit

MAIN_PART:
OnErrorStop
.... continue your script here ...

Thu Apr 25, 2002 2:07 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 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
Design by Freestyle XL / Flowers Online.