Alexander’s Blog

December 3, 2008

How to Deal with 50 Site Limit in TOC Web Part in MOSS 2007

by @ 7:26 am. Filed under IIS, SharePoint, Tips & Tricks

If you’ve run into the 50 site limitation in the site directory listing you can use the following method to increase the size limit. The Table of Content (TOC) Web part is used to display the site directory listing. If you were using SPS 2003 before you may have thousands of sites listed in the TOC Web part but if you upgrade it to MOSS 2007 you will notice that only the first 50 sites are displayed.

Edit the IIS web.config file located at C:\inetpub\wwwroot\wss\VirtualDirectories\YourSiteName80 on each front-end Web server. Make sure that you edit the correct web.config file. DO NOT edit the SharePoint web.config file located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\CONFIG\.

Set the DynamicChildLimit value to “0″ if you don’t want any limits. Otherwise, set it to a number that you would like.

For each provider listed below, add the DynamicChildLimit value, as shown in bold below. The following example sets the size limit to zero (unlimited).

<add name=”GlobalNavSiteMapProvider” description=”CMS provider for Global navigation” type=”Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=70ac9876ab9ca575″ NavigationType=”Global” EncodeOutput=”true” DynamicChildLimit=”0″/>

<add name=”CombinedNavSiteMapProvider” description=”CMS provider for Combined navigation” type=”Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=70ac9876ab9ca575″ NavigationType=”Combined” EncodeOutput=”true” DynamicChildLimit=”0″/>

<add name=”CurrentNavSiteMapProvider” description=”CMS provider for Current navigation” type=”Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=70ac9876ab9ca575″ NavigationType=”Current” EncodeOutput=”true” DynamicChildLimit=”0″/>

<add name=”CurrentNavSiteMapProviderNoEncode” description=”CMS provider for Current navigation, no encoding of output” type=”Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=70ac9876ab9ca575″ NavigationType=”Current” EncodeOutput=”false” DynamicChildLimit=”0″/>

Leave a Reply

Comment spam protected by SpamBam

Contact E-mail | Terms of Use | Privacy Policy

Copyright ©2009 Zubair Alexander. All rights reserved.

Internal Links

Categories

Search Blog

Archives

January 2009
M T W T F S S
« Dec    
 1234
567891011
12131415161718
19202122232425
262728293031  

RSS Feeds

TechGalaxy Visitors

29 queries. 2.702 seconds