Error Message installing Project Server component

Oct 2, 2007 at 5:57 PM
Hi everyone, apologies if this issue has already been addressed somewhere else.

I am doing a 2-server configuration: Connector site hosted on the TFS box, Project Server 2007 running on a separate, virtual machine (this is for a proof of concept, not a production setup.)

Installing the Project Server component on the Project Server box gives me the following errors in the PS2007-TFSConnectorSetup.log:

InstallEventHandlers fails with a 401 Unauthorized error from IIS. I am using a domain account for the connector. This account has Admin rights on the Project Server.

Logging started at: 10/02/07 11:10:04

< 11:10:04 >Start PS2007-TFS Connector Setup
< 11:10:04 >CheckIfInstallerRunning
< 11:10:04 >CopyFromMsi
< 11:10:54 >CheckConnectorNameIsValid
< 11:10:54 > CheckMachineNameIsValid Started
< 11:10:54 > CheckMachineNameIsValid Completed
< 11:11:04 >CheckServiceUserIsEmpty
< 11:11:04 > CheckEmptyString Started
< 11:11:04 > CheckEmptyString Completed
< 11:11:14 >CheckPSPWAUrlIsValid
< 11:11:14 > CheckUrlFormatIsValid Started
< 11:11:14 > CheckUrlFormatIsValid Completed
< 11:11:18 >PSEventHandlersInstall
< 11:11:18 > InstallPSEventHandlers Started
< 11:11:18 > GetUserCredentials started
< 11:11:18 > GetUserCredentials Completed
< 11:11:18 > Loging to the project server event service : http://rtg23proj01/PWA/vtibin/psi/events.asmx
< 11:11:18 > LoginToEventsService Started
< 11:11:20 > LoginToEventsService Completed
< 11:12:04 > InstallEventHandlers failed due to following Exception : The request failed with HTTP status 401: Unauthorized.
Stacktrace for the exception : 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 CustomAction.PSEvents.Events.ReadEventsList()
at CustomAction.CommonCustomAction.InstallPSEventHandlers(String projectWebAccessUrl, String userName, String password)

Oct 2, 2007 at 7:45 PM
I found the root cause of this issue. I used the wrong account as Administrator when I created the PWA website. I deleted the PWA site and created a new one using the correct account. The Project Server Connector piece installed just fine after that.
Apr 9, 2008 at 12:40 AM
Is there any chance you can be more specific about how you corrected this issue. I am facing this issue now and do not see how I may have used the incorrect account when creating my PWA site. At any rate, I am not able to recreate it using another account as it is in a production setting. Perhaps I am using the wrong account in my Connector setup.

Any advice would be helpful. Thanks.
Aug 6, 2008 at 10:20 PM
When I got error messages when installing the Project Server component, I fixed it by adding the tfsservice account as a user in PWA through the Server settings in Project Web Access.
I made the tfsservice account an admin through here.