Help setting up TFS2010 VCS Root

Good afternoon,

I am having some problems setting up a VCS root for sources stored on a TFS2010 server & I find the documentation available at somewhat... sparse.

Basically the server runs under the hostname fors37ua, port 8080, the project collection is named 'CT.RD.PST', the project 'iRMA' and within the source control part the sources reside under '$/iRMA/iRMA/'. TeamCity 6/apache & all build agents run as windows service with the proper user and even when specifying the username/password in Teamcity again (username (with domain would be) 'ww005\medct5i') I always get:

TFS failed. ExitCode: 1, Stdout:: TFS Native Verifier v6.0 Copyright (C) 2006-2010 JetBrains s.r.o.
INFO  - Use Tfs from JetBrains.TeamCity.Tfs.Tfs10Accessor
TFS Native Accessor v6.0 Copyright (C) 2006-2010 JetBrains s.r.o.
INFO  - Connecting to server http://fors37ua:8080
Connection test:
ERROR - The request failed with HTTP status 403: Forbidden.
System.Exception: The request failed with HTTP status 403: Forbidden. ---> System.Net.WebException: The request failed with HTTP status 403: Forbidden.
   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.TeamFoundation.Proxy.BisRegistrationServiceProxyWsdl.GetRegistrationEntries(String toolId)
   at Microsoft.TeamFoundation.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId)
   at Microsoft.TeamFoundation.Proxy.BisRegistrationService.RefreshMemoryCache()
   at Microsoft.TeamFoundation.Proxy.BisRegistrationService.RefreshCachesIfNeeded(Boolean direct)
   at Microsoft.TeamFoundation.Proxy.BisRegistrationService.GetRegistrationEntries(String toolId)
   at Microsoft.TeamFoundation.Framework.Client.PreFrameworkServerDataProvider.FindServiceLocation(String serviceType, String toolId)
   at Microsoft.TeamFoundation.Framework.Client.PreFrameworkServerDataProvider.LocationForCurrentConnection(String serviceType, Guid serviceIdentifier)
   at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
   at Microsoft.TeamFoundation.Client.TfsConnection.<Authenticate>b__1()
   at Microsoft.TeamFoundation.Client.TfsConnection.UseCredentialsProviderOnFailure(Action action)
   at Microsoft.TeamFoundation.Client.TfsConnection.Authenticate()
   at Microsoft.TeamFoundation.Client.TeamFoundationServer.Authenticate()
   at JetBrains.TeamCity.Tfs.Command.Do() in c:\Agent\work\9045dc34697d9e2f\TfsNativeAccessor\src\Command.cs:line 25
   at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\Agent\work\9045dc34697d9e2f\TfsNativeAccessor\src\Program.cs:line 110
   --- End of inner exception stack trace ---
   at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\Agent\work\9045dc34697d9e2f\TfsNativeAccessor\src\Program.cs:line 349
, Stderr::

Now something is obviously wrong here but I don't know what.. what would I need to enter in the vcs root's setting for this to make work?

Best regards,

Comment actions Permalink

Alright, after fiddling another hour it works now..

Comment actions Permalink

Good thing you informed about the root cause of your problem here so that others can consider this in the future (yes, irony)

Comment actions Permalink

User had no read rights on the project (collection), the error message provided by TC just wasn't really helpful. Admins told me they had given him the rights, which turned out to not be the case..

Oh and there's a simple way to get information - ask.


Please sign in to leave a comment.