#SharePoint 2010 #List does not exist #Server Error
While working on a customers development system I was quite surprised to get the error below while working with a list.
I was creating a custom list and wanted to add a lookup to an existing site list, as soon as I selected the ‘Lookup’ radio button, BANG – SharePoint errored.
Normally when you select Lookup, the Addition Column Settings pane show all the lists available on your site in the Get Information from dropdown.
When we checked the list of lists from All Site Content, a couple of the lists would not open, the <SiteName>/Lists/ListName/AllItems.aspx page was giving a 404 error
It was clear we had a couple of duff lists on our hands, we tried deleting them via SharePoint Designer, Stsadm & PowerShell, none of which would work. I even tried running an stsadm –o databaserepair with the deletecorruption switch, but still no joy.
Finally I decided to take a look in SQL, normally you would never do this, and certainly never on a live system, but as this was development I thought it would be okay.
The first thing to do was run a quick backup just in case !, then break open the database, fortunately all the lists in a contentDB are entries in the table AllLists ![]()
So as a starter Select * from dbo.AllLists order by tp_Title
Shows the references to all the lists in your ContentDB in name order
also quite fortunately you can search by list name which is the tp_title field
so was quite easy to track down which lists were the ones in question, all the entries looked okay, so I took the rather brave (so I thought)decision to simply delete the entries in question as we had a SQL backup to fall back to.
Once deleted, the references to the duff lists disappeared from All Site Content and we could carry on with our work, albeit now several hours behind schedule.
If this had been a production system it might have needed a call into Microsoft Premier Support, even then I suspect the answer may have been similar.
Happy SharePointing !
Leave a Reply Cancel reply
Tags
Top Posts
- Useful JavaScript Function: PreSaveAction #SP2010 #SharePoint #PS2010 #ProjectServer #in
- Excel formulas not auto calculating but F9 still works #in
- Clearing the SharePoint Designer 2007 / 2010 Cache
- Programmatically setting a field to hidden within a Content Type #SharePoint #SP2010 #in
- Security Validation Issue - Form Services issue with SP1+June 2011 CU (Release 2) #in #SP2010 #SharePoint #MSProject #ProjectServer
- SharePoint Designer 2013 workflow action "Call HTTP Web Service"
- Updating User Profile Properties via PowerShell (PictureURL)–SharePoint 2010 #in #SP2010
- Visual Studio 2012 templates for SharePoint 2013
- SharePoint and Document Versioning within Word.
- How to check the SharePoint 2010 and Project Server 2010 service pack / patch level #PS2010 #ProjectServer #SharePoint #SP2010
Blogroll
Archives
Blog Stats
- 229,630 hits