[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Issues connecting to a VFP application with MS 2012 R2 Remote Desktop Services

Posted on 2016-10-10
Medium Priority
Last Modified: 2016-10-18
We have recently deployed a 2012R2 Terminal services box, with 4 users on it.  We have a FoxPro app called Broker Plus installed on our primary server.  There are a dozen stand alone PC clients accessing the app with no issues.  When a client tries to access Broker Plus through the terminal server, they are getting a number of errors, each of which kills the session.  The RDS client is setup exactly the same as the local desktop client.  Same user.   Same permissions.  Same drive mappings.  But while it works fine on the desktop, it crashes from the TS.
I have recreated profiles, restarted the server, verified AV is not scanning the folder, disabled SMB1 and SMB2, disabled Fair Share... I dont know where else to turn.  The software mfr has no clue at this point.  Most of the errors are file read errors  (error 1104, error reading file location.cdx)

Any help or ideas would be greatly appreciated.
Question by:Crimsonwingz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 43

Expert Comment

ID: 41848145
RDS does not have problems with SMB2,3 when data are accessed locally on the same machine. So the data folder containing all DBF files must be on the local drive on your Terminal server. Also check the temporary files location in the application.

Error 1104 points to the data possibly accessed via network which is not good solution for RDS. To tune such environment up is a nightmare... Better solution would be to use SQL Server to store the data in this case.

The app vendor must tell what Broker Plus setup is necessary to successfully run it under the RDS environment. Some applications do not support RDS.

Author Comment

ID: 41848149
So my only option will be to move the database from its current location to the terminal server.
LVL 43

Expert Comment

ID: 41848166
Yes, it should help. And remember the shared files access via network is less and less supported today and Microsoft ignores legitimate demands of developers.  Servers make more money...
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.


Author Comment

ID: 41848182
One last question, please.   What is the difference between running this client app on the server and on a normal desktop?  Drive mappings, access, etc, are all identical.  The only difference is the hardware, essentially.   I would think that if data access was an issue on the RDS, it would also show the same type of errors on the PCs.  They are all in the same network, same IP range, etc, accessing through the same drive mapping.  I am going to suggest that the vendor move the app, but I am sure there will some cost associated to that and would hate to be no farther along after its done.
LVL 43

Accepted Solution

pcelba earned 2000 total points
ID: 41848267
But your desktops do not use 2012R2 operating system most probably, they have different network drivers, and the virtualization has its own specifics...  Maybe the drivers update could help. You could try Microsoft support and ask them how to setup 2012R2 RDS for network shared files access. You just cannot tell them we are using Visual FoxPro but "We are using Win32 API application"... (Win32 API is still supported whereas FoxPro isn't) which uses following Win32 API entry point calls... These calls are visible in e.g. Process Monitor incl. parameters and result codes. So you could even see what was the problem reported by OS to VFP right before 1104 error and ask Microsoft why this function call failed?

... as I said nightmare ...

Author Closing Comment

ID: 41848301
Thanks so much for the help and guidance!  I will take this up with MS and with the software vendor at this point...

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question