Errors in name, creating/updating assignments

Aug 22, 2007 at 10:56 PM
I have the connector installed and was able to bring over tasks from a project on project server to the project I selected in Team Explorer. The new tasks show up in the All Work Items list in TFS without the corresponding names (the "assigned to" field is blank) -- even though the list of available names in the project matches that of the project on Web Access. When I then add names back to the project in TFS and then save/exit, errors are generated in the error log like "unable to save assignments" and "Timestamp: 8/22/2007 9:34:27 PM Message: An exception occurred trying to create a new assignment via the Statusing APIs: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message: --<HTML dir="ltr"> <HEAD><meta name="GENERATOR" content="Microsoft SharePoint" /><meta name="progid"

I could copy the entire message if this would be useful.

Windows authentication is being used (each setup individually on single servers), but we do not have active directory. Any suggestions on what I can do so the 2 systems recognize the user names as matching?
Coordinator
Aug 23, 2007 at 3:30 PM
The 401 error is an authorization issue that is occurring trying to access PS' Statusing API. Please look at my reply at http://www.codeplex.com/pstfsconnector/Thread/View.aspx?ThreadId=11565 to see if this helps?
Aug 23, 2007 at 10:40 PM
Edited Aug 23, 2007 at 10:57 PM


lfenster wrote:
The 401 error is an authorization issue that is occurring trying to access PS' Statusing API. Please look at my reply at http://www.codeplex.com/pstfsconnector/Thread/View.aspx?ThreadId=11565 to see if this helps?


Hi again,
I have gone through your instructions in threadid=11565 and was able to add my tfsservice account to the "process accounts with access to the SSP" section. When I open the web.config file for the Connector Web Service in Enterprise Library 3.1, what section should tell me the GUID to match with my PWA site GUID? I was unable to find it (and clicked on everything).

I retried the Connector (uninstalled/reinstalled after adding the connector account to the PWA SSP) and have received 7 errors. Here they are in full detail:
1. Timestamp: 8/23/2007 9:27:37 PM
Message: No value was passed in for the account name. Defaulting to EVEREST\TfsService
Category: General
Priority: 9
EventId: 0
Severity: Error
Title:
Machine: EVEREST
Application Domain: /LM/W3SVC/3/Root/Connector Web Service-2-128323766428906250
Process Id: 1228
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 5460
Thread Name:
Extended Properties:

2. Message: An exception occurred trying to create a new assignment via the Statusing APIs: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<HTML dir="ltr">
<HEAD><meta name="GENERATOR" content="Microsoft SharePoint" /><meta name="progid" content="SharePoint.WebPartPage.Document" /><meta HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8" /><meta HTTP-EQUIV="Expires" content="0" /><meta name="ROBOTS" content="NOHTMLINDEX" /><title>

Error

</title><link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/core.css?rev=5msmprmeONfN6lJ3wtbAlA%3D%3D"/>
<script type="text/javascript" language="javascript" src="/_layouts/1033/init.js?rev=VhAxGc3rkK79RM90tibDzw%3D%3D"></script>
<script type="text/javascript" language="javascript" src="/_layouts/1033/core.js?rev=F8pbQQxa4zefcW%2BW9E5g8w%3D%3D"></script>

<meta name="Robots" content="NOINDEX " />
<meta name="SharePointError" content=""/>
</HEAD>
<BODY scroll="yes" onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();">
<form name="aspnetForm" method="post" action="../../../_layouts/error.aspx" id="aspnetForm" onsubmit="return _spFormOnSubmitWrapper();">
<div>
<input type="hidden" name="_VIEWSTATE" id="_VIEWSTATE" value="/wEPDwUKLTU2NjkxODU3M2Rk5bGvTEsLI1mP3YPAWGWP8GzmT0E=" />
</div>

<TABLE class="ms-main" CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH="100%" HEIGHT="100%">
<tr><td>
<table CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH="100%">
<tr>
<td colspan=4 class="ms-globalbreadcrumb" align="right">
 
Coordinator
Aug 24, 2007 at 1:52 PM
You have either the wrong SSP url or wrong siteGuid specified for Project Server. The configuration for this information is in the tfsSynchronization section. Specifically, the workItemStore element for the PS2007 Provider. It should look something like:
<add epmApprovalNeeded="true" serverUrl="http://PSServerName/pwa"
authenticationType="Windows" userName="" password="" sspUrl="http://PSServerName:56737/SharedServices1"
siteGuid="4f7c46dc-064f-45b5-8c27-ca3467931ecb" ps2007AssocDb="PS2007 Provider Db"
deleteCreateEqualsUpdate="true" type="Microsoft.Vsts.Ranger.Connector.PS2007Providers.PS2007WorkItemStoreProvider, Microsoft.Vsts.Ranger.Connector.PS2007Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PS2007WorkItemStoreNode">
Aug 24, 2007 at 5:53 PM
Edited Aug 24, 2007 at 9:33 PM
I have checked what you have below, but still can't get beyond the same errors. I know my GUID is correct, so I'm unsure about my SSP url.

I believe my correct SSP url is in the following format: http://PSServerName:8080/ssp/admin since when I go to this site, it opens a website that says "Shared Services Administration" at the top. On the "Home" tab, there's a "Project Server" bar and under that a link to "Project Web Access Sites". Clicking on Project Web Access Sites brings me to a page with a link to my PWA site (http://PSServerName:8080/pwa).

I tried the above url as the "Uri for Project Server SSP" in the connector installation and it gives me the same errors as the suggested uri (http://PSServerName:46621/SharedServices2). This address doesn't work on the internet, although I can go to http://PSServerName:46621 (this is my central administration page where I only have 1 link under Shared Services Administration called "SharedServices2")

Here is my configuration info: add epmApprovalNeeded="true" serverUrl="http://xyz:8080/PWA" authenticationType="Windows" userName="" password="" sspUrl="http://xyz:8080/ssp/admin" siteGuid="01ce3bf1-18bc-4e19-96ca-d631681b2e58" ps2007AssocDb="PS2007 Provider Db" deleteCreateEqualsUpdate="true" type="Microsoft.Vsts.Ranger.Connector.PS2007Providers.PS2007WorkItemStoreProvider , Microsoft.Vsts.Ranger.Connector.PS2007Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PS2007WorkItemStoreNode">

Any ideas?

Also, do I need my Project Server SSP site to accept my TfsService user name and password? Right now, it just accepts my WSSadmin username (from when it was installed).
Coordinator
Aug 27, 2007 at 2:45 PM
unless you have varied from the defaults when PS was installed, the port will not be 8080. The default for the SSP will be more similar to http://PSServerName:56737/SharedServices1. That is what you need to have. If you go to IIS on the PS machine and look at the available web sites, you should be able to determine whether there is a PSI directory that runs under this port.

It will use Windows auth to access these services. So, it will use the identity that the Connector Web Service is configured to use within its applicaiton pool