Let me share some series of error messages that I have experienced while troubleshooting the issue:
Failed to retrieve the list schema for feature [FEATURE GUID], list template [TEMPLATE]; expected to find it at: ""
System.NullReferenceException: Object reference not set to an instance of an object. at - Microsoft.SharePoint.Publishing.Internal.WebControls.ObjectSerializer.DeleteAllowed(Boolean checkPermissions)
List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.
As you can see from the above mentioned error messages, a hint/a clue/ray of hope is already reflected and you can easily troubleshoot the issue without asking for anybody’s help. Yes, you can resolve this issue on your own...
Let’s try to figure out some common words from these error messages “List does not exist, Object not set to an instance, failed to retrieve a list”-this suggest that some list instance/library instance has been corrupted/not working as per the expected behavior.
So now the big question arises- How to find out this corrupted instance?
It’s very easy, here are the details:
§ Open the SharePoint site
§ Site actions
§ Site settings
§ Site administration
§ Site libraries and lists
§ Click on each and every list one by one
§ The list which is corrupted/not working will throw this exception:
List does not exist.
§ That’s it-Delete that list and you issue will be resolved. J J
Happy SharePoint once again J
If you are thinking as How to delete that list then there are so many options:
Here we go:
§ By using SharePoint Designer 2010
§ By using windows explorer
§ By using Power shell command
stsadm.exe -o forcedeletelist -url <your list url>
If you have any queries/questions regarding the above mentioned error message then please let me know. I would be more than happy to help you as well as resolves your issues J
Thank you.
Thanks.
ReplyDeleteI cannot remove list using stsadm, getting The Web application at http://portal/Lists/survey1 could not be found. Verify th
at you have typed the URL correctly. If the URL should be serving existing conte
nt, the system administrator may need to add a new request URL mapping to the in
tended application.
This URL is correct and I can go there.
Maybe you can help me with powershell cmdlet?
To delete the list using powershell follow these steps.
ReplyDelete1. Log into the CA or SharePoint Sever
2. Bring up SharePoint 2010 Management Shell (PowerShell)
3. Type: Get-SPWeb “portal url” | % {$_.Lists.Delete([System.Guid]$_.Lists["name of list"].ID)}
4. Hit Enter
This will delete the SharePoint list from your site collection.
One more way by which you can delete the list is: SharePoint Designer (SPD)
Let me know in case of any queries/questions, Thank you
Thanks so much for saving me a lot of troubles. Your approach worked for me.
ReplyDeleteI am agree with the above comment, your provided details worked for me too. Thanks!
ReplyDeleteI tried to delete my corrupted list with the powershell commands:
ReplyDelete$web = get-spweb http://mysiteURL
$list = $web.lists["list name"]
$list.AllowDeletion = $true
$list.Update()
$list.Delete()
and got the error
. : Exception setting "AllowDeletion": "List does not exist.
The page you selected contains a list that does not exist. It may have been deleted by another user."
At line:1 char:7
+ $list. <<<< AllowDeletion = $true
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
Thanks. But how can i found list if there are a lot of webs, lists on them.. And on each web content and structure not working. But all lists can be opened
ReplyDeleteBless you Amol Ghuge!
ReplyDeleteI remember seeing a similar message years ago. Make sure the Publishing Features are fully activated. Another option could have been that they might have been activated at some point, then they were deactivated, and then the libraries that are usually pushed when the Publishing Feature is activated might have become corrupt.
ReplyDeleteThat's all that comes to mind at this time.
-Mariana Silvetti (Owner at Michigan Translations, Inc. | English<>Spanish Certified Translator)
Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. it support calgary
ReplyDelete