SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
RASDIAL ERROR : NOT ENOUGH MEMORY

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
RASDIAL ERROR : NOT ENOUGH MEMORY
Author Message
SC



Joined: 04 Oct 2005
Posts: 6

Post RASDIAL ERROR : NOT ENOUGH MEMORY Reply with quote

Hello,

I have some problem with 24x7's RASDial command.

The connexion are estabished but i have this message :

ERROR_NOT_ENOUGH_MEMORY

Thank you,



Tue Oct 04, 2005 6:10 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6500

Post Re: RASDIAL ERROR : NOT ENOUGH MEMORY Reply with quote

This is a known issue. On some Windows versions this error appears regardless of result of calling RASDial command. Several workarounds are available,
for example, you can do

OnErrorResumeNext
RASDial ...
OnErrorStop

or instead of calling RASDial statement you can execute RAsDial command line utility

Dim pid, number
RunAndWait "rasdial [entryname here]", "", 60, pid
... do what you need to do after dialing ...
RunAndWait "rasdial [entryname here] /DISCONNECT", "", 60, pid

: Hello,

: I have some problem with 24x7's RASDial command.

: The connexion are estabished but i have this message :
: ERROR_NOT_ENOUGH_MEMORY

: Thank you,

Tue Oct 04, 2005 7:59 am View user's profile Send private message
SC



Joined: 04 Oct 2005
Posts: 6

Post Re: RASDIAL ERROR : NOT ENOUGH MEMORY Reply with quote

Tank you,
"ERROR_NOT_ENOUGH_MEMORY" does'nt appear, when connexion are established (with RASDial Command on 2x7), the return variable is "0" (Open Port).
RAsHAngUp don't disconnect, and RASGetStatus always return "Open Port", when i disconnect manually.

: This is a known issue. On some Windows versions this error appears regardless
: of result of calling RASDial command. Several workarounds are available,
: for example, you can do

: OnErrorResumeNext
: RASDial ...
: OnErrorStop

: or instead of calling RASDial statement you can execute RAsDial command line
: utility

: Dim pid, number
: RunAndWait "rasdial [entryname here]", "", 60, pid
: ... do what you need to do after dialing ...
: RunAndWait "rasdial [entryname here] /DISCONNECT", "",
: 60, pid

Tue Oct 04, 2005 8:25 am 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.