Pages

Friday, April 9, 2010

RemoteApp and Desktop Connection - An error occurred. Contact your workplace administrator for assistance.....NOT!


Symptoms:
In RemoteApp and Desktop Connections on Windows 7 you cannot setup a new connection. Or, if you already had a connection established, you cannot update the connection.
You get the following error: An error occurred. Contact your workplace administrator for assistance.



Diagnosis:
This occurs (and is reproducible) if you have certain symbols added to the end of your Display Name on the Connection Settings tab in Remote Desktop Connection Manager (RDCM).
To get here: Open RDCM, Right click on Remote Desktop Connection Manager and click Properties.



FYI: This affects only the display name – the Connection ID is ok with any symbol added to the end of the ID.

To Reproduce:
1.      On your RD Connection Broker, change the Display name to include a period at the end of the Display Name
2.      Stop and Start the RD Web Access default website (just restarting did not work for me.  If you don’t do this you have to wait 2 minutes for the changes to occur)
3.      Try to add or update RemoteApp and Desktop Connections on a Windows 7 or 2008 R2 server by adding or updating the web feed (https://YOURR-RDWA-SERVER/rdweb/feed/webfeed/aspx)

Fix:
Do not add a period (.) or an asterisk (*) or a question mark (?) to the end of your Display Name in Remote Desktop Connection Manager. For example: “Alpine Ski House, Inc.” will not work, while “Alpine Ski House, Inc” will work.

Below is a list of the symbols I have tested and the results:

Display IDs that work:
  • Alpine Ski House, Inc
  • Alpine Ski House. Inc (period inside the text is ok, just not at the end)
  • Alpine Ski House, Inc#
  • Alpine Ski House, Inc$
  • Alpine Ski House, Inc,
  • Alpine Ski House, Inc%
  • Alpine Ski House, Inc!
  • Alpine Ski House, Inc @
  • Alpine Ski House, Inc ^
  • Alpine Ski House, Inc &
  • Alpine Ski House, Inc (
  • Alpine Ski House, Inc)
  • Alpine Ski House, Inc -
  • Alpine Ski House, Inc +
  • Alpine Ski House, Inc=

Display IDs that do not work:
(It does NOT break if symbols are in the middle of the text – it DOES break if these two sympbols are at the END of the text)
  • Alpine Ski House, Inc.
  • Alpine Ski House, Inc*
  • Alpine Ski House, Inc?