Tuesday, January 3, 2012

Citrix XenDesktop 5.5: Desktop Director Launch Delays / Slow

I am one more step further with the XenDesktop project. The last issue I had was the Error Expanding Node caused by upgrading a mix of upgrading to VMWare ESXi v5.0 from v4.1 and using DVSwitches in our environment. Unfortunately, the only solution to this is obtain the private hotfix from Citrix available to those with maintenance contracts only. Hopefully they will release a hotfix for everyone.

Back to the problem: Every time I launch Desktop Director, there is a 10-15sec delay before I see the logon screen. Issue can be fixed by upgrading Net Framework and changing IIS settings.

Current Setup:
- Windows Server 2008 R2 Standard x64
- Citrix XenDesktop v5.5

This solution might also work for XD v5.0.

Fixing Slowness problem:

1. Update Microsoft Net Framework to v4.0. If you are running the default version of Net Framework this might help, go to Microsoft Website and download the Net Framework v4.0.30319.

2. Once successfully upgraded, update the Desktop Director application pool to use Net Framework v4.0.

- Launch IIS Manager | Application Pools | click on DesktopDirector.
- Click on change to .NET Framework v4.0.30319 if v2.0 is previously selected.

image

3. Try launching Desktop Director again, if this doesn’t work try a IISReset or reboot the server before you try something else.

Other Possible Solutions from CTX KB Website:

Web Interface 5.x Delay on First Page http://support.citrix.com/article/CTX117273

6 comments:

  1. Have you also experienced an issue with the Web Interface being slow when the first user connects? After first connection its fine, until left idle overnight. I'd be interested to know as I have come across these symtpoms!

    ReplyDelete
    Replies
    1. I did noticed the slowness launching the web interface, but haven't formally resolved the problem. After making these changes I saw huge improvement with the Desktop Director and I changed the Net Framework version to v4 to fix the web interface as well and it seemed to help a little bit. I will post my findings once I verify that works. Thanks for checking.

      Delete
  2. Good to know. I'll try it on a test environment to see if it makes any difference. There seems to be very little out there regarding these kinds of issues.
    Glad I stumbled across your Blog cheers!

    ReplyDelete
    Replies
    1. Great, I am so glad this is helping some one. From the amount of time I spent working on this project, I realized that Xendesktop is a really great product when you get thing right but is so sensitive and it can break in so many ways if you are careless. Citrix support have all the answers but not all of them are available in their forums.

      Delete
    2. Quick update: Have you tried http://support.citrix.com/article/CTX117273 ?? This indeed works. We did this one 2 servers and definitely helped. Just modified the asp config file on the server with WI loaded, rebooted and it became real fast without having to install net framework v4.0

      Delete
  3. Thx for the info! Works!

    ReplyDelete