Did you backup this site from another URL and then restore with a different
name? Or possibly moved this site between SharePoint Farms?

I've seen this before in a site - pretty nasty error - basically your Page
Layout URL is incorrect and referencing an older site.
Luckily - as on many other ocassions Gary Lapointe comes to the rescue

Fixes the Page Layout URL property of publishing pages which can get
messed up during an upgrade or from importing into a new farm.

http://stsadm.blogspot.com/2007/08/fix-publishing-pages-page-layout-url.html

This is just a guess by the way - but I am suggesting this as we experienced
a similar thing - ie. a menu item that renders as Error and hovering over
the item displays the nasty error message Microsoft.SharePoint.Library.
SPRequestInternalClass.GetMetadataForUrl

Also - i've seen a number of varying problems in the past throwing an
exception on - 
Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl
and it's not always the same reason - so googling this stuff can be
difficult.


On Tue, Sep 16, 2008 at 5:45 PM, Ajay <[EMAIL PROTECTED]> wrote:

> Hi,
> I am turning on MOSS output cache. (This is working fine on some other
> sites).
>
> When I check the option
>
> Page layouts can use a different page output cache profile
>
> Click Okay.. the navigation menu disappears, only top site tab remains
> in navigation and a new tab called Error appears.
> When I hover over the error tab.. it displays
> title="An error occured while rendering navigation for requested URL:
> /. Exception message: Value does not fall within the expected range.
> Stack trace:    at
>
> Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String
> bstrUrl, Int32 METADATAFLAGS, Guid&amp; pgListId, Int32&amp; plItemId,
> Int32&amp; plType, Object&amp; pvarFileOrFolder)
>   at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String
> bstrUrl, Int32 METADATAFLAGS, Guid&amp; pgListId, Int32&amp; plItemId,
> Int32&amp; plType, Object&amp; pvarFileOrFolder)
>   at Microsoft.SharePoint.SPWeb.GetMetadataForUrl(String relUrl,
> Int32 mondoProcHint, Guid&amp; listId, Int32&amp; itemId, Int32&amp;
> typeOfObject, Object&amp; fileOrFolder)
>   at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)
>   at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String
> url, SPWeb web)
>   at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()
>   at
> Microsoft.SharePoint.Publishing.PublishingPage.GetEffectivePageCacheProfileId(Boolean
> anonUserProfile)
>   at
> Microsoft.SharePoint.Publishing.PublishingPage.GetEffectiveAnonymousPageCacheProfileId()
>   at Microsoft.SharePoint.Publishing.CachedPage..ctor(PublishingPage
> page, SPListItem altItem, String id, String parentId, String title,
> String url, String description, CachedObjectFactory factory,
> List`1&amp; fieldInfo)
>   at
> Microsoft.SharePoint.Publishing.CachedPage.CreateCachedPage(PublishingPage
> page, SPListItem altItem, CachedObjectFactory factory, List`1&amp;
> fieldInfo)
>   at
> Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateObject(PublishingPage
> adminPage, PublishingPage readerPage, List`1&amp; fieldInfo)
>   at Microsoft.SharePoint.Publishing.CachedArea.GetChildPageIds()
>   at
> Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildren(NodeTypes
> includedTypes)
>   at
> Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes
> includedTypes, NodeTypes includedHiddenTypes, OrderingMethod ordering,
> AutomaticSortingMethod method, Boolean ascending, Int32 lcid)
>   at
> Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes
> includedHiddenTypes)
>   at
> Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(PortalSiteMapNode
> node, NodeTypes includedHiddenTypes)"
> id="zz1_TopNavigationMenun1"><table class="ms-topnav
> zz1_TopNavigationMenu_4 ms-topnavselected zz1_TopNavigationMenu_10"
> cellpadding="0" cellspacing="0" border="0" width="100%">
>
>
> -------------------------------------------------------------------
> OzMOSS.com - to unsubscribe from this list, send a message back to the list
> with 'unsubscribe' as the subject.
> Powered by mailenable.com
>
>
>



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com

Reply via email to