Application Server Mode?
I am starting the daunting task of finally updating our Citrix
Metaframe environment since the upcoming version of our primary
management software will not run on Windows 2000.I have installed a Windows 2008 server with the Terminal Services role
(using the 120 day trial) and installed XenApp 5.0 evaluation, however
the server will not permit me more than 2 connections. When
installing Terminal Services I did not see an option regarding Remote
Administrator mode or Application Server mode as I was familiar with
in previous version of the OS. Where is this option? I have 4 or 5
users that will need to be testing applications on this machine.
Thanks!
Answers
Hi,
The errors/problems you are seeing are related to Citrix. They are not generated by "plain" Terminal Services 2008.
- Server only permits two connections and related error message "The number of connections to this computer is limited..." This appears to be a problem with your Citrix licensing and/or related configuration that enables Citrix licensing to work. Verify in the Citrix tools that it shows you as having 99 licenses (this is what the eval has I believe). Also check your error logs for errors relating to Citrix or its licensing.
- You mentioned an error when you attempt to connect via RDP "The desktop you are trying to open is currently available only to administrators..." This error is caused by having the option set on the listener to only allow published applications. This is a Citrix feature.
Have you considered replacing Citrix with plain Remote Desktop Services 2008 R2, or just Terminal Services 2008? There are many new features in 2008/2008 R2 that may fit your needs without using Citrix on top.
Thanks.
-TP- Marked As Answer byJeff Pitsch [MVP]MVP, ModeratorThursday, November 05, 2009 2:17 PM
- Proposed As Answer byTP [] Thursday, November 05, 2009 4:25 AM
All Replies
- If you have installed the TS Role then you should be in application mode. Starting with Windows 2003, you do not have to install TS and then select appsrv mode and remote admin mode. What error are you receiving when more than 2 users try connect?
- Hello,
I think you will also need to install a W2K8 RDS License server. In this way at least temporary licenses will be issued to the RDS Server.
Robert - I get an error that there are no available licenses, though I'm unable to reproduce the problem today (logging in as the admin). Another thing I just determined: I created a user group on the domain called XENAPP-TEST1. Into this group I added the domain admin account (that I was using for testing/install), my personal account and another person in my department. I added this group to the Remote Desktop Users group on the server, however when I try to launch a published app in XenApp I receive the error "Your interactive logon privilege has been disabled. Please contact your administrator." If I use Remote Desktop to try to access the server I receive the connection error "The desktop you are trying to open is currently available only to administrators. Contact your administrator to confirm that the correct settings are in place for your client connection."
For the record, I have the following Roles/Services installed:
- Application Server
- Application Server Foundation (App Server is something I just installed to see if it would work; it didn't make a difference)
- Terminal Services
- Terminal Server
- TS Licensing
- Web Server (IIS)
- Web Server
- Common HTTP Features
- Static Content
- Default Document
- Directory Browsing
- HTTP Errors
- Application Development
- ASP.NET
- .NET Extensibility
- ISAPI Extensions
- ISAPI Filters
- Health and Diagnostics
- HTTP Logging
- Request Monitor
- Security
- Windows Authentication
- Client Certificate Mapping Authentication
- Request Filtering
- Performance
- Static Content Compression
- Management Tools
- IIS Management Console
- IIS 6 Management Compatibility
- IIS 6 Metabase Compatibility
- IIS 6 WMI Compatibility
- IIS 6 Scripting Tools
- IIS 6 Management Console - Is this Windows 2008 or Windows 2008 R2?
- Windows Server 2008 Enterprise SP2.
In TS Config, you can specify a license server, make sure you specify the server to point to itself.
- Definitely getting closer. It was trying to auto-discover and was trying to use one of the domain controllers. I specified my server (LAN-XEN1) so Discovery mode now shows "Use specified license servers). However the number of CALS available for clients still says 0 (which I'm guessing is normal since I have no CALs entered into it), but once a third user tries to connect to the server I get "The number of connections to this computer is limited and all connections are in use right now. Try connecting later or contact your system administrator."
Is this normal? Frankly I've never tried to set up TS in a test environment, so I don't know if it's possible to have more than 2 connections anyway. I'm fairly certain we had a 2003 box set up last year to test our management app that allowed more than 2 users.
As an addendum the reason I was getting the error about the local logon rights was my AD account did not have the "Allow access to terminal servers" box checked, which is odd since it's the account I always use when logging into our production environment. - Ok the next thing to check is to make sure that we aren't limited artificially. Open TSConfig again and go into the RDP-TCP properties and then the Network Adapter tab. Make sure you are set to unlimited connections.
- Proposed As Answer byKristin L. GriffinMVP, ModeratorWednesday, November 04, 2009 4:05 PM
- Yep, it's set to Unlimited connections.
- also, make sure your licensing is set to per user in ts config.
Hope this helps,
Kristin L. Griffin
Co-Author of the Windows Server 2008 Terminal Services Resource Kit (and a SUPER BIG fan of the Microsoft RDV Team!!!) Hello All,
Isn't the license server supposed to be a W2K8 RDS License server to hand-out licenses??
Robert- JGrover said he was using Windows Server 2008 Enterprise SP2, so no, he does not need an R2 license server for 2008 environment.
Hope this helps,
Kristin L. Griffin
Co-Author of the Windows Server 2008 Terminal Services Resource Kit (and a SUPER BIG fan of the Microsoft RDV Team!!!) - So a Windows 2000 or Windows 2003 license server is able to give the correct licenses??
Robert - No a Win2k8 Terminal server requires a Win2k8 license server. He has TS licensing installed on the Win2k8 box. He implied in his reply that he pointed the discovery of the license server to the Win2k8 terminal server.
- yeah, to be clear,
Robert, JGrover does neeed a 2008 license server. He just doesn't need a 2008 R2 license server. In R2 is when the name changed to RD Licensing, (not TS License server) so I wanted to make sure JGrover did not think he needed an R2 license server for a 2k8 environment. make sense?
Hope this helps,
Kristin L. Griffin
Co-Author of the Windows Server 2008 Terminal Services Resource Kit (and a SUPER BIG fan of the Microsoft RDV Team!!!) Hi,
The errors/problems you are seeing are related to Citrix. They are not generated by "plain" Terminal Services 2008.
- Server only permits two connections and related error message "The number of connections to this computer is limited..." This appears to be a problem with your Citrix licensing and/or related configuration that enables Citrix licensing to work. Verify in the Citrix tools that it shows you as having 99 licenses (this is what the eval has I believe). Also check your error logs for errors relating to Citrix or its licensing.
- You mentioned an error when you attempt to connect via RDP "The desktop you are trying to open is currently available only to administrators..." This error is caused by having the option set on the listener to only allow published applications. This is a Citrix feature.
Have you considered replacing Citrix with plain Remote Desktop Services 2008 R2, or just Terminal Services 2008? There are many new features in 2008/2008 R2 that may fit your needs without using Citrix on top.
Thanks.
-TP- Marked As Answer byJeff Pitsch [MVP]MVP, ModeratorThursday, November 05, 2009 2:17 PM
- Proposed As Answer byTP [] Thursday, November 05, 2009 4:25 AM
- Well that was in fact the problem. This is the first time I've done any "from the ground up" work with Citrix, I've only administered an existing Metaframe installation that's been around since the dawn of man. What I had not done was get the actual eval license from Citrix. I went into the license manager and saw a license with an expiration of Permanent and a number of 5,000 and figured that was just the eval. I was wrong. I logged into My Citrix at the Citrix website and issued myself an eval XenApp license, pulled it into the server and just logged in with 4 different users at once.
I appreciate everyone's help in trying to track down the issue. Thanks! - nice one TP. :)
Kristin L. Griffin
Co-Author of the Windows Server 2008 Terminal Services Resource Kit (and a SUPER BIG fan of the Microsoft RDV Team!!!) - Thank you!
:-)

