I am trying to apply a xslt list view from one site to a bunch of other sites. This is a filtered calendar web part in list style not calendar view, so I cant use an overlay. I am adding the web part on the landing page of each site. The landing page also has a document library web part on the page.
There are no issues when the web part is added. However once I try to click into folders for the document library the page throws an error. This does not happen with other list view web parts (links, library) that have been added from other sites only once the calendar has been added.
Error that I get from ULS is:
System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl) at Microsoft.SharePoint.SPWeb.GetItem(String strUrl, Boolean bFile, Boolean cacheRowsetAndId, Boolean bDatesInUtc, String[] fields) at Microsoft.SharePoint.SPList.EnsureCurrentFolderInfo() at Microsoft.SharePoint.SPList.DoesUserHavePermissions(SPBasePermissions permissionMask, Boolean checkFolder) at Microsoft.SharePoint.Utilities.RightsSensitiveVisibilityHelper.UserHasRights(PermissionContext permissionContext, SPBasePermissions permissions, PermissionMode permissionMode, SPContext context, SPWeb contextWeb, SPList contextList) at Microsoft.SharePoint.Utilities.RightsSensit...
At first I thought this had to do with some custom XSL I had added. However I tried it without the custom xsl and still had the same issue.
Anyone else experience this. I am running this issue with SharePoint 2010 Foundation.