Error as follows when attempting to access server settings:
Error While Reading Global Permissions: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Qpm.JustOnce.ServerCore.Psi.Security.Security.ReadGlobalPermissions()
at Qpm.JustOnce.ServerCore.AdminSettings.AdminSettingsCore.GetManageJOSettingsPermissionUid()
at Qpm.OneTime.SharePoint.Install.JOSettingsLink.<>c__DisplayClass5.<Page_Load>b__1()
at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Qpm.OneTime.SharePoint.Install.JOSettingsLink.Page_Load(Object sender, EventArgs e)
In this particular case, we did a refresh of our stage environment which caused our application pool account to no longer be an administrator in PWA (different domain authentication per environment). Once we added the application pool account as an administrator in PWA, we could access the server settings page.
We also at one time had a similar issue in which the solution below solved:
- APP Pool ACCOUNT has access in the staging DB environment
- Read, Write, Create and Delete (essentially dbo permissions) for ProjectServer_Reporting
- Read and Write permissions for ProjectServer_Published