Updating a Project Site WSP Solution

Posted By Posted by: EPM Partners on November 5, 2012

Problem: Receive the following error when provisioning a new project site “The site template requires that the Feature {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} be installed in the farm or site collection” and there is no project site to reprovision a project site wsp solution.

 

Solution: Edit the wsp solution and remove the reference in the wsp solution manually.

 

Steps:

  1. Download the project site wsp solution from the solution gallery
  2. Download and install WSP Builder Extensions (http://wspbuilder.codeplex.com/) from Codeplex
  3. Run the command prompt as an administrator
  4. Change the current directory to the directory including WSPBuilder.exe (i.e. “cd C:\Program Files (x86)\WSPTools\WSPBuilderExtensions“)
  5. Run the following command from the command prompt:
    WSPBuilder.exe -o extractwsp -filename <wsp_location> -targetpath <output_location>
  6. Go to: <output_location>\12\template\features\<solution_name>WebTemplate\<solution_name>\ONet.xml
  7. Remove the <Feature/> that is causing the issue from the opened xml file ONet.xml i.e. where ID is equal to the guid shown in the error message
  8. Run the following command from the command prompt:

WSPBuilder.exe -ProjectPath <output_location> -SolutionPath <output_location> -Outputpath <new_wsp_location>

  1. Upload the new wsp solution to the solution gallery and update respective configurations in PWA

Blog Posted In Blog Posted In: How to, SharePoint
Blog Posted In 

Leave a Reply

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