Exchange RPC Timeouts when using Citrix NetScaler


Updated 9 June 2016

Environment


Exchange 2010

Citrix NetScaler 10.x/11.x

Issue


  • Users creating a new email and clicking on To: to browse the Global Address List would receive an Exchange timeout error message.
  • Accepting meeting invites puts the appointment in the recpients calendar but not the organisers and no email gets sent to the organiser of the appectance. Takes clicking the Accept button multiple times before it processes the acceptance.

Resolutions


Create a new TCP Profile

GUI:

  • System
  • Profiles
  • Add
  • Name: RPC_Profile
  • MSS: 1460
  • Keep-Alive Probes – Enable
  • Connection idle time before sending probe (secs) – 30
  • Keep-alive probe interval (secs) – 20
  • Everything else defaults

Bind this profile to the RPC Load Balanced VIP

  • Traffic Management
  • Load Balancing
  • Virtual Servers
  • <Exchange RPC LB VIP Name>
  • Profiles > Add
  • TCP Profile – Select RPC_Profile
  • Ok
  • Done

CLI:

add ns tcpProfile RPC_Profile_RPC -mss 1460 -KA ENABLED -KAconnIdleTime 30 -KAprobeInterval 20

add lb vserver <Exchange RPC LB VIP Name> TCP <IP_Address> * -persistenceType SOURCEIP -timeout 150 -cltTimeout 180 -tcpProfileName RPC_Profile

 

Additional Timeout customization recommendations

  • Add ‘Thresholds & Timeouts node to the RPC ServiceGroup
    • Configure ‘Client Idle Time-out’ setting to: 28800
  • Disable AppFlow on the RPC VIP and ServiceGroup
  • Ensure ‘Surge Protection’ is disabled on the RPC ServiceGroup

 

Advertisements

‘BadCursor’ error on XenApp desktop when using HP ThinPro OS


Environment

HP T510 running ThinPro 4.4

Citrix XenApp 6.5 on Windows Server 2008 R2

Issue

Users were using HP Thin Clients and the device itself would display the following error in front of their Citrix XenApp published desktop:

“The X Request 2.0 caused  error: “6 : BadCursor (invalid Cursor parameter)”

Cause

Users would scroll through documents using the mouse wheel.

Resolution

1. Run ‘fsunlock’

2. browse to: /usr/lib/ICAClient/config/usertemplate/All_Regions.in

3. Locate [Virtual Channels\ZeroLatency]

4. Modify ZLMouseMode=* to ZLMouseMode=0

5. Save the file

6. Run ‘fslock’

Slow Logon’s when using Folder Redirection


Environment Windows Server 2008 R2 Citrix XenApp 6.5 RU5

Issue Slow logon speeds into XenApp Published desktop/applications, hangs for a period of time on ‘Applying Folder Redirection Settings’

Resolution On the XenApp Servers, apply the following registry key HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer FolderRedirectionWait (REG_DWORD) = 0

Further details – http://support.citrix.com/article/CTX133595/

Service ‘Director Windows Management Instrumentation Provider’ failed to start.


Environment

  • Citrix XenApp 6.5 RU2-5
  • Microsoft Windows Server 2008 R2 SP1

Issue

Installing ‘Director Windows Management Instrumentation Provider’ (DirectorWMIProvider_x64.msi) onto Citrix XenApp 6.5, the component installs but then fails starting the service.

Resolutions

  • Recommend Fix:

Ensure the latest Microsoft Root Certificate has been applied – http://support.microsoft.com/en-us/kb/3004394 then install DirectorWMIProvider_x64.msi (ideal fix), the service will now start during install.

  • Alternate Workaround:

Enable “Turn off Automatic Root Certificate Update” in GPO under Computer Settings / Administrative Templates / System / Internet Communication Management, then install DirectorWMIProvider_x64.msi (this fix isn’t ideal but works, you might experience issues browsing to https sites of the latest Root Cert Update hasn’t been applied. Recommend to install KB970067 also, this hotfix resolves issues with high CPU for Wmiprvse.exe on Terminal Servers running Windows Server 2008.

Logging into ShareFile UMT – Error logging on to ShareFile”


Issue

When attempting to log into ShareFile UMT 1.7.12.0 you get:
“Error:Login (Background)
Error logging on to ShareFile”

Looking into umt.log the following is present:

14/08/2014 10:54:28 a.m.: ShareFile User Management Tool – GUI.
14/08/2014 10:54:28 a.m.: * v 1.7.12.0
14/08/2014 10:54:28 a.m.: Initializing …
14/08/2014 10:54:28 a.m.: Verifying file system paths …
14/08/2014 10:54:28 a.m.: Verifying registry values …
14/08/2014 10:54:28 a.m.: Initializing Google Analytics Connector …
14/08/2014 10:54:28 a.m.: Checking Screen Size …
14/08/2014 10:54:28 a.m.: Loading registry settings …
14/08/2014 10:54:28 a.m.: Loading settings …
14/08/2014 10:54:28 a.m.: Retrieving local configuration from registry …
14/08/2014 10:54:41 a.m.: * Google Analytics Connector Disabled due to handled exception. *
14/08/2014 10:54:58 a.m.: Attempting to log on to ShareFile …
14/08/2014 10:54:58 a.m.: API Call: .sharefile.com/rest/getAuthID.aspx [ Timeout = 60,000 ms]

Resolution
Browse to: C:\Program Files\Citrix\Sharefile\User Management Tool
Run: ShareFileProxyConfig.exe
Select: Use Internet Explorer settings (or configure your proxy)
Click OK and try again

Citrix Command Center “Error occurred during initialization of VM”


Issue
After upgrading Command Center 5.x and rebooting, Command Center services fail to start. In the wrapper log file (C:\Program Files (x86)\Citrix\Citrix Command Center\logs) the following errors are present:
– Error occurred during initialization of VM
– java/lang/NoClassDefFoundError: java/lang/Object

Resolution
1. Copy ‘rt.jar’ from “C:\Program Files (x86)\Citrix\Citrix Command Center\_jrebkup” to “C:\Program Files (x86)\Citrix\Citrix Command Center\jre\lib”

2. Add the following to the PATH System Variable
C:\Program Files (x86)\Citrix\Citrix Command Center\jre\bin

Restart the server, the service will successfully start.

Local Printer not printing in Citrix XenApp session


Environment:

Windows Server 2008 R2 SP1

Citrix XenApp 6.5

Local HP Printer

Configured Policies:

– Auto-create client printers: (Auto-create the client’s default printer only)

– Automatic installation of in-box printer drivers (Disabled)

– Universal driver preference (EMF;XPS;PCL5c;PCL4;PS)

Issue:

User has a local printer and logs into a Citrix desktop\application. The policy is configured to map through user’s local default printer. The printer maps through and appears in the users session. User prints to the local printer, print job spools, disappears and nothing prints out.

 

Resolution:

Reconfigured the ‘Universal driver preference’ driver order from

EMF;XPS;PCL5c;PCL4;PS

to

PS;XPS;EMF;PCL5c;PCL4