Problems with SharePoint 2010 menus and javascript using a Cisco WebVPN (ASA)

We noticed that the SharePoint 2010 menus were not working with our Cisco ASA’s WebVPN. If the top level menu had children, they would not show on hover. Then we started noticing that all jQuery based functions stopped working. It seemed that much of the Javascript used with SharePoint 2010 would not work with our ASA. The fix was to add this to the web.config for the SharePoint site:

           <scriptResourceHandler enableCompression="false" enableCaching="true" />

Obviously you are adding the scriptResourceHandler to an exiting scripting section and not replacing what is already there.

, ,

11 Responses to Problems with SharePoint 2010 menus and javascript using a Cisco WebVPN (ASA)

  1. Mike March 11, 2013 at 8:03 am #

    That you very much for this post. This resolved an issue we have been struggling with for quite some time between SharePoint and our ASA.

  2. jbmurphy March 11, 2013 at 4:55 pm #

    Glad I could help!

  3. Scott March 12, 2013 at 4:46 pm #

    This works great for me too. I’m curious why Cisco does not have this documented anywhere. Sharepoint 2010 should be fully supported.

    Can you explain what enableCompression=”false” enableCaching=”true” actually does? Other than knowing it works, I would like to know if it might cause other problems in the future. Thanks.

  4. jbmurphy March 12, 2013 at 4:49 pm #

    Honestly, I don’t know but I have not seen any issues. WebVPN functionality was a very important requirement, so we had to do it.

  5. Scott March 12, 2013 at 4:54 pm #

    No, problem. I appreciate the help. Just curious, how did you find out about it?

  6. jbmurphy March 12, 2013 at 4:58 pm #

    Support call!

  7. Phil May 23, 2013 at 5:41 pm #

    Dumb question – which web.config file do we need to put this in?

  8. jbmurphy May 23, 2013 at 5:50 pm #

    I put it in the one for the site:

  9. Marco July 10, 2013 at 9:18 am #

    We had this problem too. The SharePoint ribbon was stuck on ‘Loading’ and would never appear. Also other functions like “Create New Site” didn’t work.

    After adding these lines in the web.config files for our two web applications (portal and mysites) it started working immediately.

    Thank you very much for sharing this information!

  10. Dez January 3, 2014 at 2:38 pm #

    Thanks so much JBMurphy!! Was lost and having issues with outside vendors being able to upload documents using ribbon. Ribbon was staying stuck at loading, added this script to webconfig and things are working fine now for users!

  11. Tim October 13, 2014 at 2:22 pm #

    Can you tell me where you added the script to the web.config file please? I added it to the very end of the file, and it broke it alltogether.

Powered by WordPress. Designed by WooThemes