Project Server: This Web Part was unable to load

In this post, we will be solving “This Web Part was unable to load” error that you may face after migrating PWA instance to another farm in Project Server.

You might also like to read Project Server 2013 Migration from one farm to another


Project Detail Page (PDP): This Web Part was unable to load

I have recently moved a Project Server Farm from Production to a Test server that had done properly, But when I tried to open Project Detail Page (PDP), I encountered the below error:

The Project Detail Page (PDP) Shows “This Web Part was unable to load.”

The Project Page Detail (PDP) Shows "This Web Part was unable to load."

I performed a quick investigation by editing the  PDP, add a new Project Fields Web Part or any other Project Web Part to ensure that the issue is not related to project data. but the issue seems to affect all Project Web Part types.

Cause

The PWA URL still points to the Project Server PWA instance URL in Production.

Note: you should check the log file with the related correlation ID to can investigate your issue.


Solution

After moving a PWA instance to another farm, you may need to clear the PWA URL property to let the PWA instance read by default the current PWA instance URL.

Clear PWAURL property in Project Server using PowerShell

Steps
  • Open SharePoint Management Shell as Administrator.
Upgrading to Project Server 2016
  • Run the following code one by one.
$Web = get-SPWeb http://servername/pwa

$Web.AllProperties | Format-Table
  • Check the PWAURL that was set to old link actually.
UnSet PWAURL property in Project Server using PowerShell

You might also like to read Get PWA Instance Details using PowerShell

  • Run the following code to set PWAURL to empty.
$Web.AllProperties["PWAURL"]=""
$Web.Update()
  • Great, The “This Web Part was unable to load” error is gone, and the PDP should be now opening properly.
The Project Page Detail (PDP) Shows "This Web Part was unable to load."

Applies To
  • Project Server 2016.
  • Project Server 2013.
  • Project Server 2010.
See Also

2 thoughts on “Project Server: This Web Part was unable to load”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top