0

I am really struggling with this and any input would be appreciated.

After SharePoint Migration (with the Database Attach method) from 2007->2010->2013 multiple sub-sites in a site collection are having Problems.

Managing Permissions from Site Settings is not possible:

/domain/sitecollection/subsiteA/_layouts/15/people.aspx

/domain/sitecollection/subsiteA/_layouts/15/user.aspx

The Two Pages are Throwing an Error

An unexpected error has occurred:
Log:
Application error when access /_layouts/15/people.aspx, Error=Index was out of range. Must be non-negative and less than the size of the collection.  Parameter name: index   at Microsoft.SharePoint.WebControls.ListSiteMapPath.CreateControlHierarchy()     at System.Web.UI.WebControls.SiteMapPath.CreateChildControls()     at System.Web.UI.Control.EnsureChildControls()     at System.Web.UI.WebControls.CompositeControl.get_Controls()     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlB... a042ca9d-e5a1-3092-22c7-5be152697ad2
...yWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalking(Control namingContainer, String id)     at Microsoft.SharePoint.WebControls.Menu.set_TemplateId(String value)     at Microsoft.SharePoint.WebControls.Menu.InitializeControlIds(Control namingContainerScope)     at Microsoft.SharePoint.WebControls.Menu.OnLoad(EventArgs eventArgs)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at Sys...  a042ca9d-e5a1-3092-22c7-5be152697ad2
...tem.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   a042ca9d-e5a1-3092-22c7-5be152697ad2
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.  Parameter name: index    at Microsoft.SharePoint.WebControls.ListSiteMapPath.CreateControlHierarchy()     at System.Web.UI.WebControls.SiteMapPath.CreateChildControls()     at System.Web.UI.Control.EnsureChildControls()     at System.Web.UI.WebControls.CompositeControl.get_Controls()     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control roo... a042ca9d-e5a1-3092-22c7-5be152697ad2
...tControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalking(Control namingContainer, String id)     at Microsoft.SharePoint.WebControls.Menu.set_TemplateId(String value)     at Microsoft.SharePoint.WebControls.Menu.InitializeControlIds(Control namingContainerScope)     at Microsoft.SharePoint.WebControls.Menu.OnLoad(EventArgs eventArgs)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRe...  a042ca9d-e5a1-3092-22c7-5be152697ad2
...cursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    a042ca9d-e5a1-3092-22c7-5be152697ad2
Getting Error Message for Exception System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.  Parameter name: index     at Microsoft.SharePoint.WebControls.ListSiteMapPath.CreateControlHierarchy()     at System.Web.UI.WebControls.SiteMapPath.CreateChildControls()     at System.Web.UI.Control.EnsureChildControls()     at System.Web.UI.WebControls.CompositeControl.get_Controls()     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.... a042ca9d-e5a1-3092-22c7-5be152697ad2
...FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalkingInner(Control rootControl, String id)     at Microsoft.SharePoint.WebControls.Menu.FindControlByWalking(Control namingContainer, String id)     at Microsoft.SharePoint.WebControls.Menu.set_TemplateId(String value)     at Microsoft.SharePoint.WebControls.Menu.InitializeControlIds(Control namingContainerScope)     at Microsoft.SharePoint.WebControls.Menu.OnLoad(EventArgs eventArgs)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive(...  a042ca9d-e5a1-3092-22c7-5be152697ad2
...)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   a042ca9d-e5a1-3092-22c7-5be152697ad2

What I've figured out so far:

  1. Groups are there:
    -/domain/sitecollection/subsiteA/_layouts/15/people.aspx?MembershipGroupId=3898 throws the same Error.
    -/domain/sitecollection/_layouts/15/people.aspx?MembershipGroupId=3898 but direct in sitecollection the group is found
  2. Subsites where permissions are working: /domain/sitecollection/subsiteB/_layouts/15/people.aspx?MembershipGroupId=6618 is displayed correctly, but when I change the list view from the Default Detail View to another View, the same error occurs.
  • Have you performed upgrade or are you running in compatibility mode? Do you get same error if you navigate to the 14 hive? ie (/domain/sitecollection/subsiteA/_layouts/14/people.aspx?MembershipGroupId=3898) – Marek Sarad Jan 12 '17 at 12:57
  • @MarekSarad yes an upgrade was also done. When I navigate to /14/people.aspx it gets redirected to hive 15 with the same error – Dejan Jan 12 '17 at 15:09
  • I would increase the level of verbosity to check do you get any additional information. Set-SPLogLevel -EventSeverity verbose -TraceSeverity verboseex – Marek Sarad Jan 13 '17 at 14:01
0

I have found the Problem and it was not caused by the Migration, it was caused by a Custom Control (Implemented for the BreadCrumb Navigation).

The Control was Implemented from the Example on the Link, SiteMapProviders="SPSiteMapProvider,SPXmlContentMapProvider"

The SPXmlContentMapProvider did cause an exception but not always, just when a SiteCollection had a White Space in the URL, and only if you have navigated to the Permission Managing Page.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.