We just get a error message that says TF400813: Resource not available for anonymous access. Client authentication required.
It never gives us a popup to enter my microsoft account information, just an error message after I click connect. (See Picture)
The info in the fields is:
TFS 2010/2012/2013: checked
HTTPS: checked
Virtual Directory: null
Collections: defaultcollection
TFS Server Name: hdslabs.visualstudio.com
[10/29 14:45:52,Telerik.TestStudio.exe(1016:33)] First trace message from pool unnamed thread (managed ID = 33, native ID = 100).
[10/29 14:45:52,Telerik.TestStudio.exe(1016:33),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[10/29 14:45:53,Telerik.TestStudio.exe(1016:33),TeamFoundationServer] TFSServer.ConnectToServer() : EXCEPTION! (see below)
Situation: Exception connecting to TFS server
Outer Exception Type: Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException
Message: Team Foundation services are not available from server https://hdslabs.visualstudio.com/defaultcollections.
Technical information (for administrator):
TF400813: Resource not available for anonymous access. Client authentication required.
HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
Call Stack:
at Microsoft.TeamFoundation.Client.TeamFoundationSoapProxy.ThrowIfServiceUnavailable(HttpWebResponse response, TfsConnection tfs, String nameOrUri)
at Microsoft.TeamFoundation.Client.TeamFoundationSoapProxy.GetWebResponse(WebRequest request)
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.<EnsureAuthenticated>b__0()
at Microsoft.TeamFoundation.Client.TfsConnection.UseCredentialsProviderOnFailure(Action action)
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureAuthenticated()
at ArtOfTest.Common.TFSClient.TFSServer.ConnectToServer(IServerInfo server)
[10/29 14:45:53,Telerik.TestStudio.exe(1016:33),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
13 Answers, 1 is accepted
But I am using the stand-alone test studio version to connect with TFS.
Thank you for contacting us.
It seems that you are using Team Foundation Services which is supported in our latest internal build (1002).
Please download and install our latest internal build (2013.1.1002) and give it a try. After login with your Telerik account, you can download it from this link.
Let me know if this helps.
Boyan Boev
Telerik
Could this be some sort of firewall issue?
My goal right now is to move over to visual studio and try and connect to TFS through there, and export the project into there. Right now, I am on Visual Studio 2013 and Test Studio is only ready for 2012, so I'm going to downgrade to 2012.
Do you guys know when you will have an upgrade that will fully connect to all the new Microsoft upgrades to 2013?
Yes, this is could be some network/firewall settings. You should consult this with your network administrators.
Regarding VS 2013, we don't support it officially yet. We will probably support it with next release of Test Studio.
Thank you for you understanding.
Boyan Boev
Telerik
Here is the log:
[12/04 08:49:36,Telerik.TestStudio.exe(2284:17),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[12/04 08:49:36,Telerik.TestStudio.exe(2284:20),TestStudio] SerializerService.<GetSettings>b__2() : Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
[12/04 08:49:36,Telerik.TestStudio.exe(2284:20),TestStudio] SerializerService.<GetSettings>b__2() : Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
[12/04 08:49:36,Telerik.TestStudio.exe(2284:17),TeamFoundationServer] TFSServer.ConnectToServer() : EXCEPTION! (see below)
Situation: Exception connecting to TFS server
Outer Exception Type: Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException
Message: TF31002: Unable to connect to this Team Foundation Server: https://tfs.united-systems.com/alliance.
Team Foundation Server Url: https://tfs.united-systems.com/alliance.
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 request failed with HTTP status 404: Not Found.
HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
Call Stack:
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
at Microsoft.TeamFoundation.Client.TfsConnection.<EnsureAuthenticated>b__0()
at Microsoft.TeamFoundation.Client.TfsConnection.UseCredentialsProviderOnFailure(Action action, Int32 retries, Boolean throwOnFailure)
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureAuthenticated()
at ArtOfTest.Common.TFSClient.TFSServer.ConnectToServer(IServerInfo server)
Inner Exception Type: System.Net.WebException
Message: The request failed with HTTP status 404: Not Found.
HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
Call Stack:
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()
[12/04 08:49:36,Telerik.TestStudio.exe(2284:17),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[12/02 10:29:05,Telerik.TestStudio.exe(4656:22),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[12/02 10:29:06,Telerik.TestStudio.exe(4656:22),TeamFoundationServer] TFSServer.ConnectToServer() : EXCEPTION! (see below)
Situation: Exception connecting to TFS server
Outer Exception Type: System.Net.WebException
Message: The request failed with the error message:
--
<
head
><
title
>Document Moved</
title
></
head
>
<
body
><
h1
>Object Moved</
h1
>This document may be found <
a
HREF
=
"http://serverhere:8080/tfs/web/Services/v1.0/Registration.asmx"
>here</
a
></
body
>
--.
HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
Call Stack:
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.<
EnsureAuthenticated
>b__0()
at Microsoft.TeamFoundation.Client.TfsConnection.UseCredentialsProviderOnFailure(Action action)
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureAuthenticated()
at ArtOfTest.Common.TFSClient.TFSServer.ConnectToServer(IServerInfo server)
[12/02 10:29:06,Telerik.TestStudio.exe(4656:22),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
What version of TFS do you use?
As I can see in the log the exception is TF31002 which means "Unable to connect to this Team Foundation Server". The possible reasons for that are:
- 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.
Please make sure you are entering the correct data in the correct fields in our TFS connection interface (i.e. it differs from VS interface). You can send us a screen shot.
Are you able to connect to the TFS through Visual Studio with the same credentials? If so please send also a screen shot of Visual Studio connection settings for TFS.
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
Since we have updated our TFS to the Version 2013 I am having the issue of not being able to connect correctly to the TFS server.
If i open the TFS-Path it can connect and i am able to Check In / Check Out the Files. But it does show me only the TFS-icon, when I have Checked out the test. When i reopen Teststudio the connection isn't there anymore and I have to open the TFS-Path again and i don't see the pendig changes anymore (only in the VisualStudio 2010).
If i want to connect directly with the TFS i receive the error: Unable to connect to source control: Unable to connect to the remote server.
Here is the log:
[04.09 14:51:05,Telerik.TestStudio.exe(5136:1),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[04.09 14:51:27,Telerik.TestStudio.exe(5136:1),TeamFoundationServer] TFSServer.ConnectToServer() : EXCEPTION! (see below)
Situation: Exception connecting to TFS server
Outer Exception Type: System.Net.WebException
Message: Unable to connect to the remote server
HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
Call Stack:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
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.<EnsureAuthenticated>b__0()
at Microsoft.TeamFoundation.Client.TfsConnection.UseCredentialsProviderOnFailure(Action action, Int32 retries, Boolean throwOnFailure)
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureAuthenticated()
at ArtOfTest.Common.TFSClient.TFSServer.ConnectToServer(IServerInfo server)
Inner Exception Type: System.Net.Sockets.SocketException
Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.122:8080
HRESULT: 0x80004005 (Official ID (if app.) = E_FAIL, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16389)
Call Stack:
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
[04.09 14:51:27,Telerik.TestStudio.exe(5136:1),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
I got the standalone Version of Teststudio.
Regards,
Bruno
Please elaborate a bit more. What do you mean by "When I open TFS-Path"?
Please record a short video to show us the issue you are experiencing. Jing is great for this.
Meanwhile I will pass the exception to our devs.
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
I recorded a short video about the problem
and a printscreen of how I open the TFS-Path.
You can download the zip file here: https://www.dropbox.com/s/2e8ysindr5y4qbg/2014-04-17_1140_Open.zip
(I'm sorry the zip was too big to attach it here)
I've already installed the latest release (2014.1.410.0)
Thanks for your help.
Regards,
Bruno
The TFS-Integration is now working for me.
Firstly I removed the sourcecontrol binding in the TestStudio.
(TestStudio asked me to remove it after the connection failed)
And then I connected the Project with a right click (on project-folder) again with the source control.
Regards,
Bruno
Glad to hear that.
If you need further assistance, please do not hesitate to contact us again.
Regards,
Boyan Boev
Telerik