Need the format in which username and password of TFS should be given in teamcity such that teamcity will connect to TFS
Hi,
I am using Visual studio 2012, TFS 2010 and teamcity 7.1.
In the create new build configuration step, for the New VCS root, in what format should I give the username and password such that TFS will connect to teamcity?
When I click on the Test Connection button, I am getting the following error message.
Can someone help me with this issue?
Thanks,
Vrushali
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TFS failed. ExitCode: 1
stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2013 JetBrains s.r.o.
Running under .NET Framework 4.0.30319.18034
INFO -
INFO - Use Team Explorer 2012
INFO -
TFS Native Accessor v7.1 Copyright (C) 2006-2013 JetBrains s.r.o.
INFO - Connecting to server https://tfs.aditi.com/
Connection test:
Server='https://tfs.aditi.com/'
Username='##LIVE##\aditi\vrushalih'
Root='$/Corp/TFSManagement'
ERROR - TF31002: Unable to connect to this Team Foundation Server: https://tfs.aditi.com/.
Team Foundation Server Url: https://tfs.aditi.com/.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.Technical information (for administrator):
The remote server returned an error: (404) Not Found.
System.Exception: TF31002: Unable to connect to this Team Foundation Server: https://tfs.aditi.com/.
Team Foundation Server Url: https://tfs.aditi.com/.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.Technical information (for administrator):
The remote server returned an error: (404) Not Found. ---> Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException: TF31002: Unable to connect to this Team Foundation Server: https://tfs.aditi.com/.
Team Foundation Server Url: https://tfs.aditi.com/.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.Technical information (for administrator):
The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
at JetBrains.TeamCity.Tfs.Command.Do() in c:\BuildAgent\work\58b0af5b97257958\TfsNativeAccessor\src\Command.cs:line 28
at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\58b0af5b97257958\TfsNativeAccessor\src\Program.cs:line 134
--- End of inner exception stack trace ---
at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\58b0af5b97257958\TfsNativeAccessor\src\Program.cs:line 404command: C:\TeamCity\webapps\ROOT\WEB-INF\plugins\.unpacked\tfs\bin\tfs-native.exe @@c:\TeamCity\bin\..\temp\TC-TFS-32-5330_14\command.params, in file: {https://tfs.aditi.com/, /user:***** /password:***** /hash:S, C:\TeamCity\temp\TC-TFS-32-5330_13.result, ConnectionTest, $/Corp/TFSManagement}
stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2013 JetBrains s.r.o.
Running under .NET Framework 4.0.30319.18034
INFO -
INFO - Use Team Explorer 2012
INFO -
TFS Native Accessor v7.1 Copyright (C) 2006-2013 JetBrains s.r.o.
INFO - Connecting to server https://tfs.aditi.com/
Connection test:
Server='https://tfs.aditi.com/'
Username='##LIVE##\aditi\vrushalih'
Root='$/Corp/TFSManagement'
ERROR - TF31002: Unable to connect to this Team Foundation Server: https://tfs.aditi.com/.
Team Foundation Server Url: https://tfs.aditi.com/.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.Technical information (for administrator):
The remote server returned an error: (404) Not Found.
System.Exception: TF31002: Unable to connect to this Team Foundation Server: https://tfs.aditi.com/.
Team Foundation Server Url: https://tfs.aditi.com/.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.Technical information (for administrator):
The remote server returned an error: (404) Not Found. ---> Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException: TF31002: Unable to connect to this Team Foundation Server: https://tfs.aditi.com/.
Team Foundation Server Url: https://tfs.aditi.com/.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.Technical information (for administrator):
The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
at JetBrains.TeamCity.Tfs.Command.Do() in c:\BuildAgent\work\58b0af5b97257958\TfsNativeAccessor\src\Command.cs:line 28
at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\58b0af5b97257958\TfsNativeAccessor\src\Program.cs:line 134
--- End of inner exception stack trace ---
at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\58b0af5b97257958\TfsNativeAccessor\src\Program.cs:line 404command: C:\TeamCity\webapps\ROOT\WEB-INF\plugins\.unpacked\tfs\bin\tfs-native.exe @@c:\TeamCity\bin\..\temp\TC-TFS-32-5330_14\command.params, in file: {https://tfs.aditi.com/, /user:***** /password:***** /hash:S, C:\TeamCity\temp\TC-TFS-32-5330_13.result, ConnectionTest, $/Corp/TFSManagement}
Please sign in to leave a comment.