I recently ran across an interesting error and upon a quick search I didn't find much, if anything, about the errors presented so this team blog should be a good place for it.
I had been working with a customer who was attempting to provision a PWA site. Try as he might, every time he provisioned a PWA site, he encountered the following error:
Failed to provision site PWA with error: Microsoft.SharePoint.SPException: Failed to find Service Application. Either the Service Application does not exist or the Service Application proxy is misconfigured.
at Microsoft.Office.Project.Server.Administration.ProvisionFeatureEventHandler.FeatureActivated(SPFeatureReceiverProperties properties)
at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)
at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)
at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureProvisioningFeature(SPSite site)
This particular problem is pretty straight forward as dictated by the information in the error. The customer had done some SharePoint configuration where the web application didn't have the Project Server service connection check marked in it as below. In his instance there were several items that were not checked within here that would have had other implications. If you happen to run into this particular issue you can easily resolve the issue as depicted below.
1. Access Central Administration
2. Manage web applications
3. Select the web application where you are trying to provision PWA and click service connections
4. Check mark the Project Server Service Application Association