Application hangs when starting program via RDWeb - weird workaround
-
Wednesday, May 02, 2012 7:07 AM
We run eight different applications via RemoteApp in Server 2008 R2. One of the applications is giving problems. Here are details:
If I start the program in RD web access, I get a login screen for the program and if I enter correct login information the program starts loading, but it hangs and never loads correctly. Just for clarification, this login screen is not related to Windows login screens, it is just a customized login screen for the program.
Workaround:
If I start the program from normal desktop shortcut, I get a login screen for the program and if I enter correct login information the program starts loading, and after ~30 seconds of loading the program is ready to be used. After I close the program and I run it again, it loads in couple of seconds, much quicker that before. After this the program works via RD web access.We used to run this program via Citrix and are trying to move to RemoteApp. Other workaround is that if user first starts the program via Citrix and after that via RD web access – it also makes it work.
We cannot use normal desktop shortcuts because it would require configuring ODBC-connections for every workstation.
I have verified that ping between the terminal machine and application server is <1 ms.
File transfer speeds between the machines are ~40 MB/s.
What could I do to troubleshoot?
- Edited by hafka Thursday, May 03, 2012 9:39 AM edited title
All Replies
-
Thursday, May 03, 2012 9:59 AMModerator
Hi,
You can force this application running in compatibility mode for all users on RDS server to see whether the same issue still exists. Please refer to the following steps:
1. Right-click on the application and point to properties in RDS server. Then open the application properties.
2. Click the Compatibility Tab. You can find the “Change settings for all users”, click it.
3. Click Run this program in Compatibility mode for: Windows XP SP3…. Select the Operating System that the installer package is supported for, such as Windows Vista (Service Pack 2).
4. For Privilege Level, check Run this program as an administrator.
5. Click Ok.
For some cases, if the UAC affect the production environment, we can also choose to turn off it.You can open the Control Panel and click User Accounts in RDS 2008 R2 server, then click the Change User Account Control setting, dropped to the lowest turn off UAC. Press OK.Then try again to see if the same issue still exists.
And also,it seems that it is a 3rd party compatibility issue.It is always a good practice to consult with the application vendor to ensure that the application being installed will function correctly for multiple users in a RDS environment. Application vendors will sometimes provide fixes or compatibility scripts for the applications to ensure that they function correctly in a multi-user RDS environment.As a last resort,I suggest you asking the dictation software vendor for this issue.
Hope it works.
Regards,
Clarence
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contacttnmff@microsoft.com.Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
- Marked As Answer by Clarence ZhangModerator Friday, May 11, 2012 4:12 AM
-
Thursday, May 03, 2012 11:34 AMThe terminal server and application server are different computers. Terminal server is running Server 2008 R2 and Application server is running Server 2003 R2. I turned XP compatibility mode on for the .exe file in the application server and allowed non-administrators to run the program. I'll have to wait and see if it helps.
-
Friday, May 04, 2012 6:39 AM
I contacted the vendor and they said that after login, the program starts loading language files that might take a long time. They told me I should check are there any timeout settings that might cause this.
I checked the following group policies: Remote Desktop Sessions Host => Session Time Limits:
Set time limit for disconnected sessions: 30 minutes
Set time limit for active but idle Remote Desktop Services sessions: 6 hours
Set time limit for active Remote Desktop Services sessions: Active sessions limit: Never
Terminate session when time limits are reached: Enabled
Set time limit for logoff RemoteApp sessions: 15 minutes
I do not think that those setting could cause the error. Are there any other timeout settings that I should be aware of?
-
Monday, May 07, 2012 6:31 AMModerator
Those settings you mentioned above have nothing to do with timeout settings.If all other applications are running well,it is just the individual application issue.I contacted the vendor and they said that after login, the program starts loading language files that might take a long time. They told me I should check are there any timeout settings that might cause this.
I checked the following group policies: Remote Desktop Sessions Host => Session Time Limits:
Set time limit for disconnected sessions: 30 minutes
Set time limit for active but idle Remote Desktop Services sessions: 6 hours
Set time limit for active Remote Desktop Services sessions: Active sessions limit: Never
Terminate session when time limits are reached: Enabled
Set time limit for logoff RemoteApp sessions: 15 minutes
I do not think that those setting could cause the error. Are there any other timeout settings that I should be aware of?
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

