Unable to Edit Enterprise Project Type

In one of customers environment, we were unable to edit Enterprise Project Type and was getting below error.

Error: The operation could not be completed. An unknown error has occurred.

Reviewing the ULS log, we found that save operation is failing because due to Invalid Project Site Template. Below is the exact error from ULS log.

ULS Log: Error: PWA:http://Servername/pwa,User:i:0#.w

thcgscott.clausen-EnterpriseProjectTypeInvalidWorkspaceTemplateName

After checking the Enterprise Project Type page, we found that the Project Site Template drop down is empty. Due to which we were getting “Invalid workspace TemplateName” error in ULS log.

We resolved this issue by editing the PWA site and provisioning it with out making any changes. Below are the detailed steps.

    1. In SharePoint Central Administration, click Application Management.
    2. On the Application Management page, in the Service Application section, click Manage Service Applications.
    3. On the Service Applications page, click the Project Application Service that contains the Project Web App instance for which you want to access the Site Provisioning settings.
    4. On the Manage Project Web Apps page, click the drop-down menu for the PWA instance and click Edit.
    5. Click Edit with out making any changes.
    6. The Project Server Site will get provisioned again with same settings.

Let us know if you have any additional questions.