Welcome to MSDN Blogs Sign in | Join | Help

Is it taking ages to display the gallery when you are trying to add a web part?

If you find it can sometimes take 20–30 seconds to return the web part gallery so that you can drop a web part onto a web part page then this post is for you.

The problem may be because SharePoint is trying to contact the online web part gallery, however, if your machine is not connected to the internet, or the proxy is not configured properly, then it could take some time to actually work this out. This is the delay you are seeing.  

You can easily turn off the web part gallery by following these simple steps:

1. Open SharePoint Central Administration (make sure you are on the Windows SharePoint Services page)

2. Click on “Configure Virtual Server”

3. Select the Virtual Server on which you are experiencing the delay

4. Click “Manage Security Settings for Web Part Pages”

5. Select the “Disabled” option next to “Online Web Part Gallery” and click OK.

OnlineGallery

You should now find it all working at lightning speed, I kinda wish we had shipped it this way.

Published Wednesday, December 22, 2004 3:31 PM by danielmcpherson

Comments

# re: Is it taking ages to display the gallery when you are trying to add a web part?

Wednesday, December 22, 2004 3:56 PM by Mart Muller
Ah great, this was why my Sharepoint development Virtual PC is taking such a long time! Thanks for the tip!

# re: Is it taking ages to display the gallery when you are trying to add a web part?

Wednesday, December 22, 2004 4:53 PM by Patrick
Definetly sounds like a place for some multithreading. Thread off those calls to the web, so that even if it fails/stalls, the UI stays responsive.

# re: Is it taking ages to display the gallery when you are trying to add a web part?

Wednesday, December 22, 2004 5:02 PM by Daniel McPherson
Hey Patrick,

I'm sure there would be a way to do it better, fingers crossed for the next version eh?

As it stands its all server side, so not sure threading would help much, either way it just has to wait until it knows before sending the page down to the client.

# re: Is it taking ages to display the gallery when you are trying to add a web part?

Thursday, December 23, 2004 1:01 AM by Alex
Thanks so much for this tip!

# re: Is it taking ages to display the gallery when you are trying to add a web part?

Friday, January 07, 2005 6:43 AM by Matt Williams
Oh thankyou for posting this. I knew I had seen the answer to this problem a while back inside MSFT, but when I asked around a few weeks back everyone turned stupid and couldn't come up with a good answer. This will help me so much with my dev work.

# re: Is it taking ages to display the gallery when you are trying to add a web part?

Thursday, January 20, 2005 7:51 AM by google456

# Web part gallery taking *forever* to display?

Wednesday, July 13, 2005 6:27 AM by Adventure Girl
Well mine was, and it was getting embarrassing trying to explain to the customer why it was running so...

# SharePoint Tips #2 - Speeding up your Demo

Wednesday, July 13, 2005 7:56 AM by Edward Ferron's WebLog
Daniel McPherson posted a great tip on speeding the display of the web part page gallery.  For his...

# SharePoint Tips #2 - Speeding up your Demo

Wednesday, July 13, 2005 8:00 AM by Edward Ferron's WebLog
Daniel McPherson posted a great tip on speeding the display of the web part page gallery.  For his...

# SharePoint Tips #2 - Speeding up your Demo

Wednesday, July 13, 2005 8:01 AM by Edward Ferron's WebLog
Daniel McPherson posted a great tip on speeding the display of the web part page gallery.  For his...

# SharePoint Tips #2 - Speeding the web part page gallery

Wednesday, July 13, 2005 8:01 AM by Edward Ferron's WebLog
Daniel McPherson posted a great tip on speeding the display of the web part page gallery.  For his...

# SharePoint Tips #2 - Improving performance of the web part page gallery

Wednesday, July 13, 2005 8:02 AM by Edward Ferron's WebLog
Daniel McPherson posted a great tip on speeding the display of the web part page gallery.  For his...

# Is Windows SharePoint Services taking ages to display the gallery when you are trying to add a web part?

Monday, September 18, 2006 5:52 AM by David Overton's Blog
This is a quick one to speed up WSS when using it, especially when doing demos. The service by default
New Comments to this post are disabled
 
Page view tracker