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
Mike



Joined: 27 Feb 2002
Posts: 21

Post RASDial ERROR_NOT_ENOUGH_MEMORY Reply with quote

I've searched through the forums looking for a
solution to the above problem. I found the following...

===============
Instead of calling RasDial/RasHangup commands you can use the following

Dim( pid, number )
RunAndWait( "rasdial.exe [connection name here]", "", 0, pid )
... do what you need to do here ...
RunAndWait( "rasdial.exe [connection name here] /DISCONNECT", "", 0, pid )
===============

I can't get this command to work. I've been trying to rearrange my
" by can't seem to get the correct sequence.

For instance, I get a syntax error on the following...

RunAndWait( "rasdial.exe "Connection1" "user1" "pwd1"", "", 0, pid )

Any help on the above problem would be greatly appreciated.

Thanks!

Mike

Tue Feb 22, 2005 12:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: RASDial ERROR_NOT_ENOUGH_MEMORY Reply with quote

Try this
RunAndWait( "rasdial.exe Connection1", "user1", "pwd1"", "", 0, pid )

: I've searched through the forums looking for a
: solution to the above problem. I found the following...

: ===============
: Instead of calling RasDial/RasHangup commands you can use the following

: Dim( pid, number )
: RunAndWait( "rasdial.exe [connection name here]", "", 0,
: pid )
: ... do what you need to do here ...
: RunAndWait( "rasdial.exe [connection name here] /DISCONNECT",
: "", 0, pid )
: ===============

: I can't get this command to work. I've been trying to rearrange my
: " by can't seem to get the correct sequence.

: For instance, I get a syntax error on the following...

: RunAndWait( "rasdial.exe "Connection1" "user1"
: "pwd1"", "", 0, pid )

: Any help on the above problem would be greatly appreciated.

: Thanks!

: Mike

Tue Feb 22, 2005 12:36 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: RASDial ERROR_NOT_ENOUGH_MEMORY Reply with quote

Correction:
RunAndWait( "rasdial.exe Connection1 user1 pwd1", "", 0, pid )

: Try this
: RunAndWait( "rasdial.exe Connection1", "user1",
: "pwd1"", "", 0, pid )

Tue Feb 22, 2005 12:38 pm View user's profile Send private message
Mike



Joined: 27 Feb 2002
Posts: 21

Post Re: RASDial ERROR_NOT_ENOUGH_MEMORY Reply with quote

It says i'm missing a " somewhere.

: Try this
: RunAndWait( "rasdial.exe Connection1", "user1",
: "pwd1"", "", 0, pid )


Tue Feb 22, 2005 12:40 pm View user's profile Send private message
Mike



Joined: 27 Feb 2002
Posts: 21

Post Re: RASDial ERROR_NOT_ENOUGH_MEMORY Reply with quote

That did the trick. Once I removed the spaces from my
connection (i.e. Connection One --> ConnectionOne.

Thanks for your help!

: Correction: RunAndWait( "rasdial.exe Connection1 user1 pwd1",
: "", 0, pid )

Tue Feb 22, 2005 12:45 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.