Steps you will need to follow to display PWA Web Parts in another site within the same SharePoint farm:
1. Chose the Web Part (e.g. TimesheetPart) from the PWA homepage or the web parts gallery (Project Web Access > Site Settings > Galleries > Web Parts) and Export and Save to your preferred desktop location:
2. Edit the Web Part in Notepad. Find the following property PSIURL (or add if it does not exist) and change it accordingly for instance:
<property name="PsiUrl" type="string"> http://server/PWA</property>
3. Save Web Part update
4. From http://server/sites/project - Site Collection EPM > Web Part Gallery > Upload Document, select TimesheetPart modified earlier.
5. Add Web Part to the page you like (Site Action -> Edit Page)
To cross SharePoint server farms, you can use the Page Viewer web part in conjunction with SimpleUI=31
If you encounter the following while adding the Web Part to the page : “Unable to add selected web part(s). My Timesheet: The request failed with HTTP status 401: Unauthorized” check the ULS logs. It’s typically an access right issue so make sure the user has access to the PWA site.
Project Server 2007 Web Parts
Do not forget to put the property on the top of properties block. I try to put it at the end and it does not work
I tried to follow the the steps as you have mentioned. Reminder, task and few other webparts are working perfectly, but I am getting the "The request failed with HTTP status 401: Unauthorized” error when I am trying to add the Project Center webpart.
Below are the configurations of my dev env
1. I am using Virtual PC
2. I am using NTLM with impersonation turned on, anonymous access turned off (I have also tried to use Kerburos).
3. I am using the local admin account to logon to the site. this account is also a farm admin, as well as have admin access on the PWA site.
4. The App pool is also running on Admin account.
Can you suggest where I am going wrong ?
P.S : I am able to add the Project Center webpart in the PWA site.
Hi Christophe and Bhaskar
I've found that the "The request failed with HTTP status 401: Unauthorized" occurs with the Projcet Center and Project Details web parts (and possibly others) only work within the same site collection.
We have our project server install in http://server/pwa and our workspaces in http://server/projects. The web parts work OK if they are added to pages in http://server/pwa/site1 but the above error occurs outside of this site collection (e.g. http://server/projects/site1). The webparts have the PWA URL correctly specified.
The MyTimesheets webparts work OK wherever they are placed (e.g. My Site)
kindly i need your help, i have added the projectcenter web part under the Project workspace under PWA url but if i put it under a outside sharepoint url an error ocurred what can i do?
I get a 401 error when I try to add the project details web part to a sharepoint site on the same farm as project server. Any help in resolving this issue will be great appreciated. Here's what I see in the logs -
PSI Auth: SiteId 533432a4-c8b9-4c13-bc15-664b376c84b2 was not found in the ProjectSiteCollection for this SSP
System.Net.WebException: The request failed with HTTP status 404: Not Found. 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 Microsoft.Office.Project.Server.PSIAuth.Authentication.GetUserByName(Boolean isProjUser, String username)
System.Net.WebException: The request failed with HTTP status 404: Not Found. at Microsoft.Office.Project.Server.PSIAuth.Authentication.GetUserByName(Boolean isProjUser, String username) at Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean validateUser, String username, Boolean checkTimebomb)
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 Microsoft.Office.Project.Server.WebServiceProxy.PSIProxyBase.InvokePSI(String serviceName, String methodName, Object parameters)
so i also have THE SAME PROBLEM like "NNARVEKAR".
and i have the same szenario like AndyS explained.
I always get the error: The request failed with HTTP status 401: Unauthorized
Have anybody of you solved the problem???
A few weeks ago, I did my 200th post since starting this blog, so following Brian Smith’s initiative
Great artical and has helped us split PWA from the workspaces.
I have also resolved the 401 issues raised above, however it is a bit of a fudge!
It looks like setting the PsiUrl does not work for a number of web parts (i.e. Project Details etc.) However If you first add in the TimeSheet Web Part and check that it works. You can then add in any other Projec tWeb Part without error.
However the Timesheet Web Part must be left on the page (can be closed) and the event log will report 7377 errors on the odd occasion.
Hope this is of use