Citrix NetScaler

Fixing the Citrix Access Gateway blank page in Microsoft IE 11 (Internet Explorer 11) on your Netscaler

If you have a Netscaler and are using the Citrix Access Gateway (aka Netscaler Gateway now), you might have users using IE 11 (Internet Explorer 11) complain they are getting a blank page. Chrome and Firefox will work fine but IE11 just doesn’t want to show the login page. A quick work around is to tell the user to view the site in compatibility mode or use a different browser but that will annoy users after some time. You have to make it as easy as possible for your users since not all of them are going to be tech savvy.

The best thing to do is force Internet Explorer into compatibility mode on page load. Just open up the index.html running in flash and the one in your theme:

Flash - /netscaler/ns_gui/vpn/index.html

Advertisement. Scroll to continue reading.

Theme - /var/vpn/themes/Horizon1/ns_gui/vpn/index.html

and add the following line in header at the top before the body tag:

Advertisement. Scroll to continue reading.

so it looks like this:

You can choose which version of IE to emulate and Stackoverflow has an excellent post on the differences between each here:

http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge-e

Advertisement. Scroll to continue reading.

In my experience, sticking with emulating IE9 works great with the Access Gateway. Users won’t even know the difference. Hope this helps!

13 Comments

  1. Trevor Prokop

    December 30, 2013 at 7:10 AM

    Great solution, thanks for sharing.

  2. Jason Samuel

    December 30, 2013 at 5:34 PM

    Glad to help Trevor!

  3. Tony

    January 7, 2014 at 11:51 AM

    IE10 works fine with the changes but IE11 miss some header content/logo.

  4. Bob

    January 12, 2014 at 6:53 AM

    This change did make the NetScaler page render properly without having to be in compatibility mode, but the Citrix Web Interface 5.4 then asks for the plug-in install (when it’s already installed). Adding the site back to compatibility mode makes the Web Interface work properly.

  5. Jason Samuel

    January 13, 2014 at 5:02 PM

    @Bob
    I’m not sure why that is happening to you. I tried just now with Web Interface 5.4 with silent detection enabled and it went right through. The ActiveX Control for detection worked as expected.

  6. andyH

    January 14, 2014 at 1:07 PM

    Nice workaround for /vpn/index.html, but there is some more stuff, connecting to a WI 5.4 that does not work. silentdetection.aspx, default.aspx, launcher.aspx, …?
    Who knows what exact pages need this META- IE9 Tag?

  7. Jason Samuel

    January 14, 2014 at 3:47 PM

    @andyH
    I was unable to replicate the problem on WI 5.4, it works normally for me. You can try including the IE9 emulation line to the header code for those pages. If I remember right all those pages should have an include file at the top. Keep digging backward until you find the include file with the HTML headers and drop the IE9 emulation line in it. It should work. I can try looking for the exact files that need to be modified later in my lab.

  8. Drshutt

    February 12, 2014 at 12:10 PM

    Did anyone find the file that needs to be updated on WI 5.4. I am also having this issue. When a user clicks on a published app it prompts them at the bottom of the page to save or open the .ica file.

  9. Byron

    June 2, 2014 at 9:16 AM

    Does anyone know what needs to be modified to fix this for the change password page? Thanks!

  10. DaveT

    July 28, 2014 at 5:55 AM

    Hi Guys,
    Did anyone fix this for when the plugin detection fails after the Netscaler fix is applied?

    For me, I get as far as downloadNative.aspx.

    I’ve tried adding the IE9 header info to various places, including the web.config as per here – http://blog.codefluententities.com/2012/09/28/how-to-enable-ie-9-compatibility-mode-for-your-website/ – but I can’t get it to past the downloadNative.aspx page.

    Any thoughts?

    Cheers guys!
    Dave

  11. Dennis Gamboa

    August 6, 2014 at 6:58 AM

    Hi All, I experienced this error when upgrading my IE to ver11. What I did was click Tool then click Compatibility view settings then add the your website and it resolved the issue. Hope this helps. Thanks.

  12. Alain Assaf

    May 3, 2016 at 3:01 PM

    Hello,

    I know this is an old post, but has anyone run into trouble when the user has to change their password. I’m using a custom theme and the login page that is generated when a user has to change their password, does not display correctly and is missing the meta tag to emulate IE9. I’ve dug into the javascript files trying to put this line in but have not had any luck.

    I’m running firmware NS10.5.57.7 nc and will update to a newer 10.5 firmware, so this may have been addressed by Citrix.

    Thanks,
    Alain

  13. David Salas Villalobos

    August 17, 2017 at 11:35 AM

    My index.html already has a line:

    meta http-equiv=”X-UA-Compatible” content=”IE=edge”

    should I remove it an add the new one, or should I keep both?

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Apache

Today I would like to go over proper URL redirection when using SSL but first I would like to preface this by describing what...

Exchange 2003

A useful Exchange 2003 guide I wrote for a friend’s blog originally but I am posting it here on mine now for your viewing...

Citrix Workspace

You can use FIDO2 hardware security keys plugged into your physical desktop over the Citrix HDX remoting protocol for use with virtualized Windows Desktop...

Cloud Design Architecture

The community-driven paperback book initiated by my friends Bas van Kaam and Christiaan Brinkhoff is available for sale on Amazon. If you haven’t picked...

JasonSamuel.com was launched in 2008 as a platform to give back to the IT community by sharing knowledge and expertise. Over the years, it has become a trusted global resource for the latest insights, how-to guides, and thought leadership on enterprise mobility, security, virtualization, cloud architecture, automation, and other cutting-edge technologies. Today, it serves as a go-to reference hub for IT professionals, attracting hundreds of thousands of unique visitors from around the world each month. Learn more on the About Me page.
Copyright © 2008-2025 JasonSamuel.com

Exit mobile version