DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   

Error occurred in deployment step 'Add Solution' - Use the force attribute to explicitly re-install the feature

By Ashok Nalam on 05 Mar 2013 | Category: Sharepoint | Tagged: error 
  Discuss Add Comment   |  
Add rating Rate this resource   
Sometimes when we try deploy the visaul web parts solution to share point site, we might get an error like

"Error occurred in deployment step 'Add Solution': A feature with ID 15/bb6298f9-f2c1-4dba-b8fa-1ae0c752bcf2 has already been installed in this farm.  Use the force attribute to explicitly re-install the feature"

In order to resolve this issue, set AlwaysForceInstall atttribute to True in featurename.Template.xml file.
<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" AlwaysForceInstall="TRUE">
</Feature>
Alternatively, we can use power shell command also.
Install-SPSolution <solutionname>.wsp -GACDeployment -Force  
  Discuss Add Comment    
Add rating Rate this resource   
About the Contributor
Member Since : 10 Dec 2012
Member Points (Level) : 9526  (Professional)
Location : INDIA
Home Page : http://dotnetmirror.com
About : I am admin of this site.
Rate this resource
 
Add your Comment
Name Email WebSite
Captcha Refresh


Comments (0)
No comments found, click here to add comment.
 
cheap jordans|wholesale air max|wholesale jordans|wholesale jewelry|wholesale jerseys