Hi
We are facing a weird issue here, While adding a link to Site in Global Navigation of our Portal site an "Incorrect Function" error is thrown. The steps I followed are as follows:
1) Log in to Site as Site Collection Administrator.
2) Navigate to Site Actions -> Site Settings -> Navigation(in Look and Feel).
3) Select Global Navigation and click Add a link.
4) Click Browse and in the modal popup(AssetPortalBrowser.aspx) select any Site, then click Ok. Now instead of showing the selected link it throws following error.
![]()
Information logged in ULS is as follows:
Logging Correlation Data xmnv Medium Name=Request (POST:https://myPC/sites/PortalSite/_layouts/AssetPortalBrowser.aspx?&AssetUrl=/sites/PortalSite/&RootFolder=/sites/PortalSite/&MDWeb=0b9ec0f7-2a2f-4357-9001-f03f0b529d2a&AssetType=Link)
f14a1f77-6a9b-4f3e-b03f-42fc99993aee
Logging Correlation Data xmnv Medium Site=/sites/PortalSite f14a1f77-6a9b-4f3e-b03f-42fc99993aee
General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070057 f14a1f77-6a9b-4f3e-b03f-42fc99993aee
Publishing 6ox6 Unexpected Unexpected error resolving input Asset URL: [/sites/PortalSite/test blog] System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl,
Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32&
plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetList(String strUrl) at Microsoft.SharePoint.Publishing.Internal.WebControls.GoToLocationUrl.GetObjectFromUrl(String inputUrl) f14a1f77-6a9b-4f3e-b03f-42fc99993aee
General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070001 f14a1f77-6a9b-4f3e-b03f-42fc99993aee
Runtime tkau Unexpected System.Runtime.InteropServices.COMException: Incorrect function. (Exception from HRESULT: 0x80070001)at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String
bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) f14a1f77-6a9b-4f3e-b03f-42fc99993aee.
Even after a lot of brainstroming, I am not been able to find out what might be the cause of the problem.Please suggest how we can eradicate this issue?
Thanks in Advance..!!!