Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running multi-sessions on Server
Message
From
20/05/2016 00:16:47
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01636648
Message ID:
01636651
Views:
62
>Hi,
>
>I am currently running a Foreclosure Management App in a desktop dbf environment with between 40-50 users. The app is distributed locally, having a copy on the server, and when they sign on the app checks if server has a newer version and then copies the exe to the local PC. It has been working fine for years but some users will be working from home and want access remotely.
>
>This was no problem using Remote Desktop to their PC's at work. The problem is new users will be accessing the system without a workplace PC. My network guy said when more than one session is instantiated on the server (running exe on server), you get an access denied. It seems only one session can run using REMOTE DESKTOP SESSION HOST on the server(Server 2012 R2).
>
>Any ideas on any workarounds or what can be done to allow multi- remote sessions on the server and continue normally at the office environment? Currently using VFP6 but moving to VFP9 within a month.

By default Windows Server 2012 R2 allows 2 simultaneous RD sessions. They must be under different accounts or they will step on each other - later logons will force-disconnect earlier ones (last logon wins).

Those default sessions are for administration, not running user apps. If you want to run apps you should have Remote Desktop Services licensed and installed, and it should be on a server computer (physical or virtual) dedicated to that purpose.

You'll have to modify your app so that neither your launcher nor components of your executables try to overwrite files that may be in use by others on the same machine. This means, for example, putting temp files into users' profiles rather than fixed locations such as C:\Temp.
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
Next
Reply
Map
View

Click here to load this message in the networking platform