Items in Site Navigation and Navigation Editor are not displaying after 40 to 50 pages are created

I've had a couple of customer come across this issue, which is actually a limitation that is put in place out of box. By default, the web.config file is set to allow only 50 items to be displayed on the navigation menu chrome on the top of any portal. The 50 items is also taking into account any default navigational tab that the template being used for the portal has. For example, the Collaboration portal template has 6 tabs, by default. To allow more items to be displayed in the navigational chrome, there are 4 lines in the web.config file for the virtual server in IIS that needs to be modified.

Note: Before making any changes to your web.config file, please make a backup of it!

Find the following lines in the web.config file:

add name="GlobalNavSiteMapProvider"

add name="CombinedNavSiteMapProvider"

add name="CurrentNavSiteMapProvider"

add name="CurrentNavSiteMapProviderNoEncode"

At the end of each line, add the following value:

DynamicChildLimit="x"

x = the number of elements you want to allow to be displayed on the navigational chrome. This number also takes into account the number of default navigational tabs that are included with the portal template being used.

If we wanted to allow a total of 85 elements, it would be configured as such:

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=71e9bce111e9429c" NavigationType="Global" EncodeOutput="true" IncludePages="PerWeb" IncludeHeadings="true" IncludeAuthoredLinks="true" DynamicChildLimit="85"

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=71e9bce111e9429c" NavigationType="Combined" EncodeOutput="true" IncludePages="PerWeb" IncludeHeadings="true" IncludeAuthoredLinks="true" DynamicChildLimit="85"

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=71e9bce111e9429c" NavigationType="Current" EncodeOutput="true" IncludePages="PerWeb" IncludeHeadings="true" IncludeAuthoredLinks="true" DynamicChildLimit="85"

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=71e9bce111e9429c" NavigationType="Current" EncodeOutput="false" IncludePages="PerWeb" IncludeHeadings="true" IncludeAuthoredLinks="true" DynamicChildLimit="85"