"Login failed" error after succesfully installing the Connector

Aug 4, 2008 at 4:31 PM
I successfully installed the connector in a two-box configuration.  Afterwards, when I try to bring up the connector website, I get a screen
that says:

This operation could not be successfully performed. Please contact the administrator and refer to HandlingInstanceID: 7e75c4dd-cdf4-4749-b0fc-1355b103b374


The event log shows 

Message : Login failed.  Please ensure that the server and authentication mechanisms are configured properly.

However, I have already verified that TFSService is being used in the AppPool for the Connector website and that you can successfully login to PWA using this TFSService account.

I've read some of the other discussions and don't see anything else to try.

What else could be wrong?  What should I do next?    Below, I've included the related event logs.

Thanks in advance for your help.

- Sophie

7/31/2008 9:22:03 AM ASP.NET 2.0.50727.0 Warning Web Event  1309 N/A DEVMSTFS01 "Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/31/2008 9:22:03 AM
Event time (UTC): 7/31/2008 1:22:03 PM
Event ID: 42a35b40348b40378057e1730832694e
Event sequence: 4
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1244703674/Root/Connector Web Site-1-128619841053868834
    Trust level: Full
    Application Virtual Path: /Connector Web Site
    Application Path: C:\Program Files\Microsoft Project Server 2007 Connector\Connector Web Site\
    Machine name: DEVMSTFS01
 
Process information:
    Process ID: 2584
    Process name: w3wp.exe
    Account name: DOE\tfsservice
 
Exception information:
    Exception type: HttpUnhandledException
    Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
 
Request information:
    Request URL: http://devmstfs01:8080/Connector Web Site/default.aspx
    Request path: /Connector Web Site/default.aspx
    User host address: 10.1.25.24
    User: DOE\Sophia Bunce
    Is authenticated: True
    Authentication Type: NTLM
    Thread account name: DOE\tfsservice
 
Thread information:
    Thread ID: 1
    Thread account name: DOE\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\f4544327\c8227d97\App_Web_y8rveuo4.5.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)
 
 
Custom event details:
"
7/31/2008 9:22:03 AM Enterprise Library Logging Error None 100 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:03 PM
Message: HandlingInstanceID: 3eb8823c-ef57-45d4-a525-0a700ecaf4f7
An exception of type 'System.Web.HttpException' occurred and was caught.
------------------------------------------------------------------------
07/31/2008 09:22:03
Type : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Error executing child request for /Connector Web Site/Project_List.aspx.
Source : System.Web
Help link :
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ExecuteInternal(System.Web.IHttpHandler, System.IO.TextWriter, Boolean, Boolean, System.Web.VirtualPath, System.Web.VirtualPath, System.String, System.Exception, System.String)
Stack Trace :    at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
   at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
   at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
   at System.Web.HttpServerUtility.Transfer(String path)
   at Microsoft.Vsts.Ranger.Connector.WebUI.Default.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)
   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.default_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\connector web site\f4544327\c8227d97\App_Web_yueb82vk.2.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Additional Info:

MachineName : DEVMSTFS01
TimeStamp : 7/31/2008 1:22:03 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
AppDomainName : /LM/W3SVC/1244703674/Root/Connector Web Site-1-128619841053868834
ThreadIdentity : DOE\Sophia Bunce
WindowsIdentity : DOE\tfsservice
 Inner Exception
 ---------------
 Type : System.Web.HttpUnhandledException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.
 Source : System.Web
 Help link :
 ErrorCode : -2147467259
 Data : System.Collections.ListDictionaryInternal
 TargetSite : Boolean HandleError(System.Exception)
 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\f4544327\c8227d97\App_Web_y8rveuo4.5.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)

  Inner Exception
  ---------------
  Type : System.Reflection.TargetInvocationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  Message : Exception has been thrown by the target of an invocation.
  Source : mscorlib
  Help link :
  Data : System.Collections.ListDictionaryInternal
  TargetSite : System.Object _InvokeMethodFast(System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
  Stack Trace :    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
     at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
     at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
     at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
     at System.Web.UI.WebControls.GridView.DataBind()
     at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
     at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
     at System.Web.UI.Control.EnsureChildControls()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Control.PreRenderRecursiveInternal()
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   Inner Exception
   ---------------
   Type : System.Web.Services.Protocols.SoapException, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
   Message : This operation could not be successfully performed.  Please contact the administrator and refer to HandlingInstanceID: 1727d87e-fec2-4e74-915c-abf5c0d2dcad
   Source : System.Web.Services
   Help link :
   Actor :
   Code : http://schemas.xmlsoap.org/soap/envelope/:Server
   Detail : System.Xml.XmlElement
   Lang :
   Node :
   Role :
   SubCode :
   Data : System.Collections.ListDictionaryInternal
   TargetSite : System.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, System.Net.WebResponse, System.IO.Stream, Boolean)
   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.GetPublishedPSProjects()
      at Microsoft.Vsts.Ranger.Connector.WebUI.BLL.ProjectsManager.GetDetailedProjectAssociations()

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Site-1-128619841053868834
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 6252
Thread Name:
Extended Properties: "
7/31/2008 9:22:03 AM Enterprise Library Logging Error None 100 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:03 PM
Message: HandlingInstanceID: 1727d87e-fec2-4e74-915c-abf5c0d2dcad
An exception of type 'System.ArgumentException' occurred and was caught.
------------------------------------------------------------------------
07/31/2008 09:22:03
Type : System.ArgumentException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Login failed.  Please ensure that the server and authentication mechanisms are configured properly.
Source : Microsoft.Vsts.Ranger.Connector.PS2007ServiceAgents
Help link :
ParamName :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void CheckAuthentication()
Stack Trace :    at Microsoft.Vsts.Ranger.Connector.PS2007ServiceAgents.EnterpriseProjectServiceAgent.CheckAuthentication()
   at Microsoft.Vsts.Ranger.Connector.PS2007ServiceAgents.EnterpriseProjectServiceAgent.GetProjectStatus(Guid projectId, DataStoreEnum dataStore, Int32 projectType)
   at Microsoft.Vsts.Ranger.Connector.PS2007ServiceAgents.EnterpriseProjectServiceAgent.GetProjectStatus(Guid projectId)
   at Microsoft.Vsts.Ranger.Connector.PS2007ServiceAgents.EnterpriseProjectServiceAgent.ListPublishedProjects()
   at Microsoft.Vsts.Ranger.Connector.WebServices.PS2007ProviderAdministration.GetPublishedPSProjects()

Additional Info:

MachineName : DEVMSTFS01
TimeStamp : 7/31/2008 1:22:03 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
AppDomainName : /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
ThreadIdentity : DOE\tfsservice
WindowsIdentity : DOE\tfsservice

Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 2064
Thread Name:
Extended Properties: "
7/31/2008 9:22:02 AM Enterprise Library Logging Information None 0 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:02 PM
Message: Getting all members of the group 'S-1-9-1551374245-1204400969-2402986413-2179408616-1-948149466-579151174-3081813991-3167926678'
Category: General
Priority: 3
EventId: 0
Severity: Information
Title:
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 2064
Thread Name:
Extended Properties: "
7/31/2008 9:22:02 AM Enterprise Library Logging Information None 0 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:02 PM
Message: Getting all members of the group 'S-1-9-1551374245-1204400969-2402986413-2179408616-1-853544931-1862771520-2934024682-2655984169'
Category: General
Priority: 3
EventId: 0
Severity: Information
Title:
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 2064
Thread Name:
Extended Properties: "
7/31/2008 9:22:02 AM Enterprise Library Logging Information None 0 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:02 PM
Message: Getting all members of the group 'S-1-9-1551374245-1204400969-2402986413-2179408616-1-742682789-4067771215-3160581106-1668396066'
Category: General
Priority: 3
EventId: 0
Severity: Information
Title:
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 2064
Thread Name:
Extended Properties: "
7/31/2008 9:22:02 AM Enterprise Library Logging Information None 0 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:02 PM
Message: Getting all members of the group 'S-1-9-1551374245-1204400969-2402986413-2179408616-1-641380576-1967541829-2336272570-3864080241'
Category: General
Priority: 3
EventId: 0
Severity: Information
Title:
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 2064
Thread Name:
Extended Properties: "
7/31/2008 9:22:02 AM Enterprise Library Logging Information None 0 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:02 PM
Message: Getting all members of the group 'S-1-9-1551374245-1204400969-2402986413-2179408616-1-546633025-2503063111-2957731354-2793932578'
Category: General
Priority: 3
EventId: 0
Severity: Information
Title:
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 2064
Thread Name:
Extended Properties: "
7/31/2008 9:22:02 AM Enterprise Library Logging Information None 0 N/A DEVMSTFS01 "Timestamp: 7/31/2008 1:22:02 PM
Message: Getting all members of the group 'S-1-9-1551374245-1204400969-2402986413-2179408616-1-494288065-1241934412-3178473711-2270418010'
Category: General
Priority: 3
EventId: 0
Severity: Information
Title:
Machine: DEVMSTFS01
Application Domain: /LM/W3SVC/1244703674/Root/Connector Web Service-2-128619841087773999
Process Id: 2584
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 2064
Thread Name: