Error: Feature ‘GUID’ for list template ‘XXX’ is not installed in this farm. The operation could not be completed.

While playing around in an existing SharePoint environment I came across the following error: Feature ‘GUID’ for list template ‘XXX’ is not installed in this farm. The operation could not be completed. It occured while clicking on a list, I wanted to delete it. The cause of the problem is probably that someone deleted the feature that came with this list. A colleague of mine told me that I perhaps could delete it by manually changing the url: http://SharepointUri/_layouts/listedit.aspx?List=SomeGuid. It displays the list settings. To do that you first need to get the list Guid, that was the second challenge, there was no way for me to get the guid because I need the settings page to see the Guid. So I decided to write a small program to get the Guid of a certain list. After obtaining it I used it with the url but to no avail, I got the same error.

After searching the internet I came across 2 possible solutions, use stsadmin with a forcedelete command or use PowerShell. And I found out PowerShell is the way to go. It is a commandline tool with a syntax much like C#:

$w = Get-SPWeb “http://MySharePointURI”

$w.Lists.Delete([System.Guid]$w.Lists[“List Name To Delete”].ID)

What we do here is set “w” to be instantiated with the web that holds the list. Next call the delete method on the list collection of the instantiated obeject. The Delete method takes a Guid. We get the Guid with $w.Lists[“List Name To Delete”].ID it gets the Guid based on the name of the list.
 
 

2 thoughts on “Error: Feature ‘GUID’ for list template ‘XXX’ is not installed in this farm. The operation could not be completed.

  1. PowerShell is great for these kind of scenario’s.

    Sometimes the UI doesn’t display the data you need or you cannot reach it due to an error. While with PowerShell you can literally retrieve everything from SharePoint.

  2. Pingback: Feature '1a33a234-b4a4-4fc6-96c2-8bdb56388bd5' Pivot? - DL-UAT

Leave a Reply

Your email address will not be published. Required fields are marked *