Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapped drive losing connection
Message
From
14/03/2017 01:02:57
 
 
To
14/03/2017 00:33:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01649005
Message ID:
01649006
Views:
95
>Greetings!
>
>I am trying to help on a small office network that desktops are mapped to a server, and to a 'web server'. The regular server runs a regular vfp exe, and the data files reside on that server. There is a 'web component' that runs a separate exe on a server via RDP. Data is posted to the 'web server' dbf's from the work stations in the office. The RDP exe uses the data and posts info back to the regular server. The problem that is occurring is that the mapped drives randomly disconnect, which brings up an error on the desktops - as in 'Alias not found'. When opening windows explorer, one of the mapped drives will be marked with the red x indicating a broken connection. Click on it to connect again, and all works well until it randomly decides to disconnect again. Is there any way to check from within vfp if the drive is still connected, and if not, to reconnect before 'selecting' a file on the disconnected drive?

Some people have had success modifying Group Policy: Message#1642076

ISTR years ago there were issues working with drives mapped in RDS sessions but I can't immediately find a reference. IIRC the workaround was to put the data on the RDS server itself so mapped drives were unnecessary.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform