TFS Connector Admin Site Error

Mar 10, 2009 at 10:52 PM

Hi,

After successfully installing the PS2007 TFS Connector , I opened the admin site and the following error message was displayed: This operation could not be successfully performed. Please contact the administrator and refer to HandlingInstanceID: 4af79b14-8e90-4a3a-8feb-28f9263e3ed3.

I checked the EventViewer and the generic message below is displayed.

I am using two machines (one with TFS2008+PSConnector and the other ProjectServer2007). The account I'm using - tfsservice - is administrative for TFS.

I tried to access the webservices (http://localhost:8082/Connector%20Web%20Service/PS2007ProviderAdministration.asmx) directly and it works.

In IIS, the Connection Pool Identity and anonymous authetication/impersonation are using TFSService account + Windows Integrated, so I think this is not a permission issue.

I also noticed that the databases the Connector uses (ConnectorDb and PS2007ProvidersDb) were not created in the DB server I informed to the installer.

-------------------------------------------------------------
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date:  3/10/2009
Time:  4:27:02 PM
User:  N/A
Computer: SRV15
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/10/2009 4:27:02 PM
Event time (UTC): 3/10/2009 7:27:02 PM
Event ID: cec4932c94974c0cb6b12ffaff9352e8
Event sequence: 3972
Event occurrence: 311
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/868147268/Root/Connector Web Site-1-128811732292193744
    Trust level: Full
    Application Virtual Path: /Connector Web Site
    Application Path: C:\Program Files\Microsoft Project Server 2007 Connector\Connector Web Site\
    Machine name: SRV15
 
Process information:
    Process ID: 3288
    Process name: w3wp.exe
    Account name: MSTECH\tfsservice
 
Exception information:
    Exception type: HttpUnhandledException
    Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
 
Request information:
    Request URL: http://localhost:8082/Connector Web Site/default.aspx
    Request path: /Connector Web Site/default.aspx
    User host address: 127.0.0.1
    User: SRV15\tfsservice
    Is authenticated: True
    Authentication Type: Negotiate
    Thread account name: MSTECH\tfsservice
 
Thread information:
    Thread ID: 1
    Thread account name: MSTECH\tfsservice
    Is impersonating: False
    Stack trace:    at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP._project_list_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\connector web site\62e3e5c3\aca471d1\App_Web_qkhhvy5o.0.cs:line 0
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)

Any suggestions?

Thanks,
---
Bruno

Mar 11, 2009 at 4:21 PM
Hello,

After re installing the PS-TFS Connector, I found the error: I filled the Server\Instance information incorrectly during the installation.

That's why it could not create the tables mentioned.

But now a second error is occurring. The home page is displayed and I click in "Create new project association". Project Server Projects and Team Foundation Projects are correctly listed.

Whatever is the option I choose to the assignment association, when I click in "Save" to associate the corresponding projects, the following error occurs:

------------------------------------------------------------------------------------------------------
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date:  3/11/2009
Time:  10:56:31 AM
User:  N/A
Computer: SRV15
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/11/2009 10:56:31 AM
Event time (UTC): 3/11/2009 1:56:31 PM
Event ID: caf11712157a41e0a210f04234b10052
Event sequence: 39
Event occurrence: 2

Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/868147268/Root/Connector Web Site-1-128812532912028528
    Trust level: Full
    Application Virtual Path: /Connector Web Site
    Application Path: C:\Program Files\Microsoft Project Server 2007 Connector\Connector Web Site\
    Machine name: SRV15
 
Process information:
    Process ID: 5348
    Process name: w3wp.exe
    Account name: MSTECH\tfsservice
 
Exception information:
    Exception type: SoapException
    Exception message: Microsoft.Vsts.Ranger.Connector.WebServices.ExceptionHandling.ConnectorWebServiceException: This operation could not be successfully performed.  Please contact the administrator and refer to HandlingInstanceID: aea4128b-2979-449a-986f-d0217e2d4b92
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.IntentionalRethrow(Exception chainException, Exception originalException)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.RethrowRecommended(Exception chainException, Exception originalException)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.Handle(Exception exceptionToHandle)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl.HandleException(Exception exceptionToHandle)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.HandleException(Exception exceptionToHandle, String policyName)
   at Microsoft.Vsts.Ranger.Connector.WebServices.ExceptionHandling.ExceptionHandler.HandleException(Exception exception)
   at Microsoft.Vsts.Ranger.Connector.WebServices.PS2007ProviderAdministration.CreateProjectAssociation(Guid psProjectGuid, String tfsProjectUri, SynchronizationDirection direction)
 
Request information:
    Request URL: http://localhost:8082/Connector Web Site/Project_Details.aspx
    Request path: /Connector Web Site/Project_Details.aspx
    User host address: 127.0.0.1
    User: SRV15\tfsservice
    Is authenticated: True
    Authentication Type: Negotiate
    Thread account name: MSTECH\tfsservice
 
Thread information:
    Thread ID: 1
    Thread account name: MSTECH\tfsservice
    Is impersonating: False
    Stack trace:    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 PS2007ProviderAdministration.CreateProjectAssociation(Guid psProjectGuid, String tfsProjectUri, SynchronizationDirection direction)
   at Microsoft.Vsts.Ranger.Connector.WebUI.BLL.ProjectsManager.CreateProjectAssociation(Guid psProjectId, String teamProjectUri, CreationOption createOption)
   at Project_Details_aspx.SaveButton_Click(Object obj, EventArgs args)
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-------------------------------------------------------------------------------

Has anyone faced this problem before? Any problem with the CreateProjectAssociation webmethod?

Regards,
---
Bruno
 

Mar 13, 2009 at 2:09 PM

Hi,

After following the article: Getting a Process Template for a Team Project in TFS 2008 (http://blogs.msdn.com/lfenster/archive/2008/02/14/getting-a-process-template-for-a-team-project-in-tfs-2008.aspx), I used ProjProps tool, included in the previous link, and added the 'templateName' node in the XML process template in the Team Foundation Server ("MSF for Agile Software Development - v4.2").

After this modification, the page is displayed and the project associations between Project Server and Team Foundation are created (I checked the database).

But, even with this modification, I click in the association's "Details" link and "Create new assignment association" button and I get an error message.

The following error is logged in Event Viewer:

-------------------------------------------------------
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/13/2009 9:58:31 AM
Event time (UTC): 3/13/2009 12:58:31 PM
Event ID: 3cf3323776ea4fb68ea1e1e2a95a6e9e
Event sequence: 39531
Event occurrence: 14
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/868147268/Root/Connector Web Site-1-128813706309190784
    Trust level: Full
    Application Virtual Path: /Connector Web Site
    Application Path: C:\Program Files\Microsoft Project Server 2007 Connector\Connector Web Site\
    Machine name: SRV15
 
Process information:
    Process ID: 3748
    Process name: w3wp.exe
    Account name: MSTECH\tfsservice
 
Exception information:
    Exception type: SoapException
    Exception message: Microsoft.Vsts.Ranger.Connector.WebServices.ExceptionHandling.ConnectorWebServiceException: This operation could not be successfully performed.  Please contact the administrator and refer to HandlingInstanceID: 374f2ca8-b6fd-43e9-92cd-dadc80041c74
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.IntentionalRethrow(Exception chainException, Exception originalException)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.RethrowRecommended(Exception chainException, Exception originalException)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.Handle(Exception exceptionToHandle)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl.HandleException(Exception exceptionToHandle)
   at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.HandleException(Exception exceptionToHandle, String policyName)
   at Microsoft.Vsts.Ranger.Connector.WebServices.ExceptionHandling.ExceptionHandler.HandleException(Exception exception)
   at Microsoft.Vsts.Ranger.Connector.WebServices.PS2007ProviderAdministration.GetActiveWorkItemsForTeamProject(String projectUri)
 
Request information:
    Request URL: http://srv15:8082/Connector Web Site/Create_Assn_Associations.aspx?AssocId=6
    Request path: /Connector Web Site/Create_Assn_Associations.aspx
    User host address: 192.168.1.162
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: MSTECH\tfsservice
 
Thread information:
    Thread ID: 8
    Thread account name: MSTECH\tfsservice
    Is impersonating: False
    Stack trace:    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 PS2007ProviderAdministration.GetActiveWorkItemsForTeamProject(String projectUri)
   at Microsoft.Vsts.Ranger.Connector.WebUI.BLL.ProjectsManager.UnassociatedWorkItems(Int32 projectAssociationId)
   at Microsoft.Vsts.Ranger.Connector.WebUI.Create_Assn_Associations.GetWorkItems(Int32 projectAssocId)
   at Microsoft.Vsts.Ranger.Connector.WebUI.Create_Assn_Associations.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 --------------------------------------------------------------------

I don't know what else I can try. Am I missing any other configuration?

Regards,
---
Bruno