
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:
- Download the project site wsp solution from the solution gallery
- Download and install WSP Builder Extensions (http://wspbuilder.codeplex.com/) from Codeplex
- Run the command prompt as an administrator
- Change the current directory to the directory including WSPBuilder.exe (i.e. “cd C:\Program Files (x86)\WSPTools\WSPBuilderExtensions“)
- Run the following command from the command prompt:
WSPBuilder.exe -o extractwsp -filename <wsp_location> -targetpath <output_location> - Go to: <output_location>\12\template\features\<solution_name>WebTemplate\<solution_name>\ONet.xml
- 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
- Run the following command from the command prompt:
WSPBuilder.exe -ProjectPath <output_location> -SolutionPath <output_location> -Outputpath <new_wsp_location>
- Upload the new wsp solution to the solution gallery and update respective configurations in PWA