dbTalk Databases Forums  

VFP 6: Windows Explorer "Network Drive Disconnected" Errors

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP 6: Windows Explorer "Network Drive Disconnected" Errors in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP 6: Windows Explorer "Network Drive Disconnected" Errors - 09-14-2005 , 06:02 PM






Network shares kept getting disconnected on the company LAN.
This caused my VFP app to hang when it accessed those shares. I did
some searching and found
net config server /idledisconnect:<bignum>
could help. Per my testing, it appears to keep the shares open just
fine, but lettered, network drives based on such shares still
disconnect. The drive letter is still usable, but there is a delay
before data starts flowing. Is there a way to prevent lettered,
network drive disconnection, too?

Sincerely,

Gene Wirchenko


Reply With Quote
  #2  
Old   
Fred Taylor
 
Posts: n/a

Default Re: VFP 6: Windows Explorer "Network Drive Disconnected" Errors - 09-14-2005 , 09:30 PM






There's an AutoDisconnect setting you need to change.

From a cmd prompt:

net config server /autodisconnect:-1

--
Fred
Microsoft Visual FoxPro MVP


"Gene Wirchenko" <genew (AT) ucantrade (DOT) com.NOTHERE> wrote

Quote:
Network shares kept getting disconnected on the company LAN.
This caused my VFP app to hang when it accessed those shares. I did
some searching and found
net config server /idledisconnect:<bignum
could help. Per my testing, it appears to keep the shares open just
fine, but lettered, network drives based on such shares still
disconnect. The drive letter is still usable, but there is a delay
before data starts flowing. Is there a way to prevent lettered,
network drive disconnection, too?

Sincerely,

Gene Wirchenko




Reply With Quote
  #3  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 6: Windows Explorer "Network Drive Disconnected" Errors - 09-15-2005 , 12:21 PM



On Wed, 14 Sep 2005 19:30:27 -0700, "Fred Taylor"
<ftaylor (AT) mvps (DOT) org!REMOVE> wrote:

Quote:
There's an AutoDisconnect setting you need to change.

From a cmd prompt:

net config server /autodisconnect:-1
Windows XP does not recognise "/autodisconnect".

What is the difference between it and "/idledisconnect"?

[snip]

Sincerely,

Gene Wirchenko



Reply With Quote
  #4  
Old   
Dan Freeman
 
Posts: n/a

Default Re: VFP 6: Windows Explorer "Network Drive Disconnected" Errors - 09-15-2005 , 01:34 PM



Gene Wirchenko wrote:
Quote:
On Wed, 14 Sep 2005 19:30:27 -0700, "Fred Taylor"
ftaylor (AT) mvps (DOT) org!REMOVE> wrote:

There's an AutoDisconnect setting you need to change.

From a cmd prompt:

net config server /autodisconnect:-1

Windows XP does not recognise "/autodisconnect".

What is the difference between it and "/idledisconnect"?

[snip]

Sincerely,

Gene Wirchenko

See this:
http://support.microsoft.com/default...roduct=win2000




Reply With Quote
  #5  
Old   
Fred Taylor
 
Posts: n/a

Default Re: VFP 6: Windows Explorer "Network Drive Disconnected" Errors - 09-15-2005 , 05:56 PM



I have no idea. You need to set this on the server you're using, so it
should be "autodisconnect".

--
Fred
Microsoft Visual FoxPro MVP


"Gene Wirchenko" <genew (AT) ucantrade (DOT) com.NOTHERE> wrote

Quote:
On Wed, 14 Sep 2005 19:30:27 -0700, "Fred Taylor"
ftaylor (AT) mvps (DOT) org!REMOVE> wrote:

There's an AutoDisconnect setting you need to change.

From a cmd prompt:

net config server /autodisconnect:-1

Windows XP does not recognise "/autodisconnect".

What is the difference between it and "/idledisconnect"?

[snip]

Sincerely,

Gene Wirchenko




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.