The Feature Has Already Been Installed. Use The Force Attribute To Explicitly Re-install The Feature

Asked By 0 points N/A Posted on -
qa-featured

There are some issues with SlideShare 2010 and Visual Studio. Farm solutions do not work. A feature with ID 17/…. is already installed in this farm. Use the force attribute to explicitly re-install the feature. It does work with the force attribute. How to solve it without force flag?

SHARE
Answered By 0 points N/A #319015

The Feature Has Already Been Installed. Use The Force Attribute To Explicitly Re-install The Feature

qa-featured

Enable Always Force Install to True in the feature in Visual Studio 2012 SP.

By default, it has been set to False, and you can always configure that to be set to True.

OR

It is because of Orphaned Feature. There are chances that whenever you try to remove wsp from the farm and redeploy it, then the feature associated with that wsp might not get deleted properly. This feature will not be listed in your Powershell also when you try to search which features are available on your farm. So a better way to resolve this issue is to first list out all ORPHANED Feature.

PowerShell Command: Get-SPFeature | ? {$_.Scope -eq $null}

This command will give you all the orphaned features. After that, you can delete this orphaned feature by using their Display Name as you can not use the ID to delete these features.

The PowerShell Command to Delete the Orphaned Feature is:

$feature = Get-SPFeature | ? {$_.DisplayName -eq “OrphanedFeatureName”}
$feature.Delete()

Related Questions