John Stephen
Programmer
I am posting this as general information in case someone has trouble in the future.
I have a client with a server running my (VFP compiled executable) and numerous PC's running on a network using mapped drives. The client updated to Windows Server 2016 and the trouble started. The errors were to do with "Can't find xxx on Users/John etc" (the original computer I work on). In short it appeared the network was dropping out.
The technician blamed my app of course so I showed him it worked fine when running through a VPN and Remote Desktop.
It wasn't until I Googled and found that Windows 10 (or Server 2016) drops Mapped Drives when they are idle for a time. The answer was to use a UNC path in the shortcut instead of an address via the mapped drive.
It is fine now running the UNC path. Never a dull moment
Cheers
John
I have a client with a server running my (VFP compiled executable) and numerous PC's running on a network using mapped drives. The client updated to Windows Server 2016 and the trouble started. The errors were to do with "Can't find xxx on Users/John etc" (the original computer I work on). In short it appeared the network was dropping out.
The technician blamed my app of course so I showed him it worked fine when running through a VPN and Remote Desktop.
It wasn't until I Googled and found that Windows 10 (or Server 2016) drops Mapped Drives when they are idle for a time. The answer was to use a UNC path in the shortcut instead of an address via the mapped drive.
It is fine now running the UNC path. Never a dull moment
Cheers
John