Solution Starter Resource Picker for PDP Fails to Fetch Data in Project Server 2010
One of our customers is using PDP customization solution which is the part of Project Server 2010 Solution Starter kit. This solution has the Resource Picker web part which allows end users to select a resource from Project Server Security Group.
Recently this feature stopped working in DEV environment after copying the production data to DEV. People Picker was not returning any data. Also we were getting below message while trying to edit the Web part.
We deployed the solution again, however that didn’t help to resolve the issue. We found below errors in ULS log.
ystem.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 PDPCustomizations.WebSvcSecurity.Security.ReadGroup(Guid groupUid) at PDPCustomizations.Services.SecurityGroupsService.GetSecurityGroupMembersUids(Guid groupUid) at PDPCustomizations.AutoCompleteWebPart.AutoCompleteWebPart.<>c__DisplayClass9.b__4() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.b__2()
Above error was indicating that it’s failing while reading Project Server Security Group information due to permission issue. So the next question was which account it’s using to read the Project Server Security Group details. This information was available in the log. However Log does show that it’s running as “RunWithElevatedPrivileges”. Ideally RunWithElevatedPrivileges method uses the Application Pool Account of Service Application. That means the Application Pool Account for Project Service Application was not having enough permission to read the Project Server Security group.
We resolved this issue by adding Application Pool Account in Project Server Administrator Group.
PPM Works is a full service Microsoft Project and Portfolio Management consultancy, focused on Microsoft Project Server and Microsoft SharePoint platforms. We believe in partnering with our clients to exceed expectations and build long lasting rewarding partnerships. We are continuously building a knowledge base of multiple tips, tricks and solutions to make your use of Microsoft Project Pro as quick and easy as possible. Contact us for more information.
Stay updated with the latest of Project Online/Server 2013 with us: Subscribe. Check our future events!
Subscribe to our webcast email list for updates on our upcoming webinars!
Visit our FAQ Page for access to our tool box.