Microsoft.SharePoint.SPException: The selected Project Web App instance is not Online.

adil 1,206 Reputation points
2022-09-29T09:49:43.017+00:00

Hi,In SharePoint 2016 Farm i found that Project web app Provision error ,here how to fix this error and what is the meaning of Provisioning Result: deprovisioned when i run the powershell command Get-SPProjectWebInstance

Error when i open Project web app

Microsoft.SharePoint.SPException: The selected Project Web App instance is not Online. Check the
provisioning state of the instance. at Microsoft.Office.Project.PWA.CommonControls.PWASiteInstanceSelecto
r.GetValidProjectWebInstanceForSiteId(ProjectInstance projectWebInstance) at
Microsoft.Office.Project.PWA.CommonControls.PWASiteInstanceSelector.GetProjectWebInstanceForSiteId(String
siteId) at
Microsoft.Office.Project.PWA.CommonControls.PWASiteInstanceSelector.GetSiteIdForCurrentRequest() at
Microsoft.Office.Project.PWA.PJBasePage..ctor(String pwaUrl) at
ASP._layouts_15_pwa_admin_admin_aspx..ctor() at
__ASP.FastObjectFactory_app_web_admin_aspx_ad835a1b_lggszjia.Create_ASP__layouts_15_pwa_admin_admin_aspx()
at System.Web.Compilation.BuildManager.CreateInstanceFromV...

246008-project-web-app-error.png

245930-project-powershell.png

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,222 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,806 questions
{count} votes

1 answer

Sort by: Newest
  1. Yanli Jiang - MSFT 21,606 Reputation points Microsoft Vendor
    2022-09-30T09:47:03.87+00:00

    Hi @adil ,
    Thanks for your question.
    As the cause of the problem is complicated, there are several issues that need to be confirmed with you:
    1, What is your farm environment like?
    2, How many PWA instances have you created?
    3, Is this only one PWA instance having such a problem?
    4, What are your steps to create a PWA instance? Follow this steps to recreate a PWA instance and see if the same problem occurs.
    Here are two articles for your reference:
    https://www.c-sharpcorner.com/UploadFile/fc34aa/provision-project-web-app-within-sharepoint-2016/
    https://pholpar.wordpress.com/2018/07/07/automating-the-provisioning-of-a-pwa-instance-in-project-server-2016/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Thanks,
    Yanli Jiang
    *
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.