Upon trying to deploy webpart wsp solutions from App server, the feature xml file never gets added to the 15 hive on the application server, the feature does get added to the 15 hive on the web front end server, it is almost like the feature components are never propagated to App Server, which is where trying to enable feature fails as it cannot find the feature xml.

Commands being run in the exact order:

Add-SPsolution -LiteralPath "c:\..."

Install-SPSolution -Identity "solutionname.wsp" -GACDeployment -FullTrustBinDeployment -WebApplication "http://consoto.com/" 

Install-SPFeature "FeatureName" -Force (Fails with the error "Could not find feature.xml at ..\15\Templates\Features")

Enable-SPFeature -Identity "FeatureName" -Url "http://contoso.com/pwa" -Force  (Fails with the error "Could not find feature.xml at ..\15\Templates\Features")

Any help is greatly appreciated.

2 Answers 2


That feature likely has a dependency on the Foundation Web service being in a Started state. Start the Foundation Web on your Application server and it should populate the feature XML to the 15 hive.

  • All the feature has is a visual web part, this technet article link here suggests that the service be turned off on non-web front end servers? Is turning this service on a recommended approach? Mar 29, 2016 at 21:00
  • TN has some bad info. Yes, you should enable Foundation Web on all servers.
    – Trevor Seward
    Mar 29, 2016 at 21:01
  • Thanks, I will try enabling the service and deploy the solution, btw, I found this on another technet article --> "This service provides web server functionality. It is started by default on web servers. Custom features scoped to web applications may not display in Central Administration as intended if this service is not started on the server running Central Administration and if the feature cannot be deployed globally." In a way contradicting the previous article. Mar 29, 2016 at 21:04
  • Starting the Foundation Web service did the trick, thanks much! Mar 29, 2016 at 21:33
  • All the activated features now don't show up under site features list, did an IISReset to be sure too, is there something else I am missing? The features did install, I can add the web parts to the page. Mar 29, 2016 at 21:42

To resolve the issue immediately,I would do this

  • copy the feature.xml file from web front server and place in the correct directory at App Server
  • Now Reset IIS
  • Restart the SharePoint Timer service.
  • 2
    This would beat the whole purpose of automating deployments. Mar 29, 2016 at 21:01
  • you are right, thats why i said immediate fix otherwise start the foundation web servics.
    – Waqas Sarwar MVP
    Mar 29, 2016 at 21:05
  • 2
    Starting Foundation Web is an immediate fix with zero downtime for the Application server services.
    – Trevor Seward
    Mar 29, 2016 at 21:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.