I'm currently unable to access Manage Content & Structure on one of our MOSS 2007 websites.
It reports the following error:
Value does not fall within the expected range. at Microsoft.SharePoint.Libra
ring bstrUrl, String bstrListName, Int32 lItemI, Guid& pWorkflowInstanceId, Guid& pGuidTemplateId, Int32 inclusiveFilterState, Int32 exclusiveFilterState, UInt32& pdwColCount, UInt32& pdwRowCount, Object& pvarDataSet)
g bstrUrl, String bstrListName, Int32 lItemI, Guid& pWorkflowInstanceId, Guid& pGuidTemplateId, Int32 inclusiveFilterState, Int32 exclusiveFilterState, UInt32& pdwColCount, UInt32& pdwRowCount, Object& pvarDataSet)
I'm pretty sure I know what the problem is so I'll outline what's happened:
I imported just a list (document library) from site A to site B using the Content and Deployment Wizard - the list was imported fine and all was working as expected.
I then deleted the list through Site Libraries and Lists (customise ListA) and I thought that was the end of it. When I then tried to re-import the list it reported the following error message:
FatalError: The specified name is already in use.
I then discovered that the list was still resident in Site Libraries and Lists but when clicking on it it reports the following error:
List does not exist
The page you selected contains a list that does not exist. It may have been deleted by another user. at Microsoft.SharePoint.Libra
ing bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)
I'm not sure if this is relevant but the list has a GUID based URL:
rather than the typical /lists/name/allitems.aspx format.
To my further horror I then discovered that users were unable to access the Manage Content & Structure. The rest of the site is working perfectly fine.
So basically the list has been deleted, SharePoint reports that it does not exist but yet it's still there and I've been unable to find a way to delete something that doesn't exist. Now obviously Content & Structure is looking for the phantom list as it starts and it's unable to find it so any suggestions as to how I could find it would be appreciated.