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

Outlook 2010 Search – No Search Results returned


Environment

Windows Server 2008 with Terminal Services

XenApp5

Microsoft Office 2010 SP1

Symptoms

You open Outlook 2010 in a Remote Desktop Protocol (RDP) session on a computer that is running Windows Server 2008. When you try to search a string that is included in some email messages in Outlook 2010, no search results are returned.

Resolution

Apply ‘Outlook 2010 Hotfix‘ August 30, 2011

Slow printing in Citrix XenApp environment


Environment

Print Server – Windows Server 2008 R2

XenApp Servers – Windows Server 2008\XenApp5

  • Ensure that the Printer driver version number is the same on the Print Server and on the XenApp server
  • If the printers are MFD, make sure Spooling is happening on the printers Hard Disk. This is set on the Print Device itself
  • Disable ‘Enable Advanced Printing Features’ on the printer queue, under the Advanced tab
  • If PDF’s are spooling to 10x the file size, change the ‘Image Compression’ option from Standard to Photo (if it exists in the driver)

Unable to preview Office attachments within Outlook 2010


Environment

Windows Server 2008 with Terminal Services

XenApp5

Microsoft Office 2010

Symptoms

When trying to preview an attachment from within published application ‘Outlook 2010’, you get the following error:

This file cannot be previewed because of an error with the following previewer:

Microsoft Word previewer

To open this file in its own program, double-click it.

Workaround

According to Microsoft (KB983064), when running Outlook 2010 over XenApp/Terminal Services your unable to preview attachments. You need to double-click on the attachment to view it.

NOTE: This is only related to Office related attachments, Adobe PDF attachments preview within Outlook 2010

Outlook 2010 Signature / nk2 files disappear


Environment

Windows Server 2008 with Terminal Services

Citrix XenApp

Symptom

User’s reporting they set their Outlook 2010 signatures but after closing and relaunching Outlook, their signature is gone and needs to be recreated

Resolution

For XenApp 5 on Windows 2008, apply Hotfix Rollup1 For Citrix XenApp 5.0 for Windows Server 2008.

http://support.citrix.com/article/CTX125414

Though it doesn’t describe the exact issue, the fix is:

Fix #93 – “The CPU consumption of Microsoft Office 2007 applications published using Microsoft App-V on servers running XenApp can increase to 100%”

After applying Hotfix Rollup1 this issue has been resolved.

After installing XenApp5 for Windows 2008 Rollup1, applications crash just after launch


Environment

Windows 2008 Server R2 – Print Server
Windows 2008 Server SP2 -Citrix XenApp5 with RollUp1
Microsoft Office 2010
Fuji Xerox printer driver(s) installed

Issue
After installing Rollup1 for XenApp5 on Windows, when published applications like Word, Excel, Notepad get launched, the application will ‘stop working’ and try to restart.
Before Rollup1 this issue never occurred.

Looking in the Windows Event Viewer, under Application, an Application Error has occurred on application.exe (winword.exe, excel.exe) and the faulting module is one of the FX printer driver DLL’s.

Resolution
Fuji Xerox have a GPD printer driver which is similar to a universal printer driver.

Fuji Xerox GPD Printer Driver

Update

After using this GPD driver we started experiencing other issues like slowness when trying to print etc. Fuji Xerox support said not to use this Global Driver and recommended upgrading our drivers on the XenApp servers. Fuji Xerox also have a ‘Print Utility for XenApp’ which they recommend, to use this utility it only works with actual drivers and not the GPD.

Office Picture Manager won’t allow printing


Scenario

Windows 2008 Server, XenApp 5, Office 2010 Pro

Issue

When trying to print from Office Picture Manager 2010 using the Print button or File > Print nothing happens.

Resolution

You need to enable the Windows 2008 Server Feature ‘Desktop Experience’, then all printing from within Office Picture Manager now work.