TFS 2013 Release Management Client not communicating with Server - tfs

I am trying to configure Release Management Client to work with a Release Management Server for Microsoft TFS 2013 on a Windows Server 2008 R2 Standard.
I installed (without any errors) the following two from our subscription downloads:
en_release_management_server_for_team_foundation_server_2013_with_update_4_x64_web_installer_5920525
en_release_management_client_for_visual_studio_2013_with_update_4_x86_x64_web_installer_5920526
I have not installed any Microsoft Deployment Agents.
I have installed and configured the RM server for a SQLExpress db (different from the TFS db in our case) and for now I used my own network credentials (being a member of Administrators group on the server and a member of Default Collection Administrators on TFS, with "Make requests on behalf of others" set to "Allow" on TFS).
When I copy the RM Server URL from "Configure Release Management Server" screen (http://xxx:1000/ReleaseManagement) and paste it into a browser, the page loads without any errors.
However, when the same URL is used in RM Client Configuration, I get an error: "The server specified could not be reached":
We have VS2012 on the server and VS2013 Ultimate on my own dev machine.
I tried installing and configuring the client on both the server (Win Server 2008 R2 Standard) and my dev machine (Win 8.1 Pro), and I still get the same error (so I assume the version of VS is not an issue).
Looking at the event log, I get two errors.
ERROR ONE:
The remote server returned an error: (404) Not Found.: \r\n\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.TeamFoundation.Release.Data.WebRequest.PlatformHttpClient.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
.... [edited out for brevity]
Process Name: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\Client\bin\ReleaseManagementConsole.exe
ERROR TWO:
Error communicating to the web server URL: http://xxx:1000/ReleaseManagement/account/releaseManagementService/_apis/releaseManagement/
Indeed, when I enter that URL in a browser, I get "404 - File or directory not found". Here is what the site structure is:
What I should do to be able to configure our Release Management Client without errors, please?
Additional observations:
I cannot see "Release Management" role on our server, but have seen in mentioned in relation to RM installs.
The client installer reads "Release Management Client for Visual Studio 2013 Update 4", whereas instructions here indicate it should be "Release Management Client for Team Foundation Server 2013 Update 4". Surprisingly, when I ran the installer recommended by that article, the title again read "...for Visual Studio" as opposed to "...for Team Foundation Server".
Many thanks in advance!

You're entering the wrong URL. The URL should be http://<RM Server Name>:<Port>. No /ReleaseManagement/.
The /ReleaseManagement/ folder is not for the desktop client, but rather for the approval dashboard.

Related

Error Integrating TFS 2017 U3 with SQL Server 2016 Reporting Services

When I try to integrate TFS 2017 U3 with SQL Server 2017 Reporting Services, from TFS Administration Console, an error appear. Please see screenshot.
In the event viewer of TFS server, I see registered this error:
DCOM was unable to communicate with the computer servername using any of the configured protocols; requested by PID
1080 (C:\Program Files\Microsoft Team Foundation Server 2018\Tools\TfsMgmt.exe).
Error Image
I have had checked the following:
Windows Firewall is not blocking port 80
Reporting service is started
User Account has required permissions
WMI is running on the report Server
TFS databases are in the same server than reporting services and the TFS service is running without any problem.
Please, any idea how to revolve this error will be very appreciated
I was wrong when placing the error text messaage. I had performed a test from TFS 2018 that's the reason why I wrote with that description eror, but the productive environment is with TFS 2017 U3 and the error message is the same thing; the difference is the path where TfsMgmt.exe is located.
Thanks for your attention.
Audberto

How can I run TFS command lines against my Visual Studio Team Services projects?

I host my projects on Visual Studio Team Services cloud TFS. I'm trying to run some TFS command lines (specifically this) but I'm not getting very far. I believe the problem is most likely the format of the URL. My command looks like this (linebreaks added for readability):
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>
tf status itemspec
/collection:"http://MYACCOUNT.visualstudio.com/DefaultCollection"
/login:MYEMAIL
The error I get in response looks like this:
TF31002: Unable to connect to this Team Foundation Server:
http://MYACCOUNT.visualstudio.com/DefaultCollection.
Team Foundation Server Url:
http://MYACCOUNT.visualstudio.com/DefaultCollection.
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.
I've tried it with my password too, but the response is no different. I found this but it did not help me at all. Has anyone been able to run commands against TFS on Visual Studio Team Services?
Please double check the URL. All URLs for Visual Studio Team Services are https, not http. At a minimum, your project collection URL should be:
https://MYACCOUNT.visualstudio.com/DefaultCollection
If you are using https as Ed mentions, then you are failing to authenticate. Don't use the /login option. Tf.exe will pop up the same authentication dialog as VS does when connecting to your Team Services account. You would need to log in with your Microsoft Account (unless you have Azure Active Directory linked to your Team Services account, and then it is your AAD identity). I ran tf.exe on my work account to double check, and I was able to sign in (two factor auth required in my case - all handled by the auth dialog and I did not use the /login option).

Team Foundation Service not available (TFS2008)

We have had an automatic Active Directory/Windows password change thrust upon us, and consequently our TFS2008 build server has broken. I have changed the password for the TFSERVICE account it runs under, and updated the Visual Studio Team Foundation Task Scheduler Service to use the correct password, and checked that the underlying Sql Server is running okay. However attempts to connect to TFS are now met with the message '..HTO Status 503: Service unavailable'.
What else needs to be started to get this up and running again?
You need to always change the password using the tools in the box. You can use the TFS Administration Console that you can launch from the start menu. Or you can use the tfsconfig.exe located in the TFS install folder.
This applies to all versions of TFS from 2010 on.
If you have TFS 2008/2005 you will need to use the tfsadminutil command: http://msdn.microsoft.com/en-us/library/bb552178(v=vs.90).aspx
Note: You need to upgrade your TFS server as soon as possible. Both the OS, SQL, and TFS pre-2010 is not well supported.

Can't add server in Microsoft Test Manager

When I want to connect to a server in Microsoft Test Manager I got this error message:
Unable to connect to server 'tfsserver:8282'. Check that the server name is correct and that you have access to the server.
This is Microsoft Test Manager 2010.
I can access tfs server in that url throughout a web browser, using Visual Studio 2010, using Team Explorer 2012.
The TFS server is installed in Windows Server 2008 R2 Standar
The TFS installed version is: 11.0.50727.1 (RTM)
Configured virtual directory is: \tfs
Configured ports are: 8282
Service account: NT AUTHORITY\Network Service
Authentication: NTLSM
Notificacion url: http: //tfsserver:8282/tfs
Server url: http: //localhost:8282/tfs
Web Access url: http:// tfsserver:8282/tfs
Machine name: TFSSERVER
My PC and the server are under a windows domain. My domain user is included in the management console users in TFS.
What can be wrong?
this is compatibility issue you need
tfs 2010,test manager2010,team explorer2010
or
tfs 2012,test manager2012,team explorer2012
and the second solution for this is to download update patches from Microsoft Website to enable upward or downward compatibility.

Default TFS Windows Accounts+Permissions when installed on a Windows Server that is joined to a domain

After DCpromoing and then demoting the server that TFS runs on, we cannot use WSS ("Cannot connect to the configuration database") to manage team projects. I believe that if I could find the default permissions that are set up when TFS is first installed on a server that is joined to a domain - in terms of any service accounts that are created and which accounts various services should run as - I would be able to get it back up and running again. Does anybody know the default NT accounts and permissions for Team Foundation Server?
That error sounds like a SharePoint error. This technet article outlines the permissions (server, SQL, registry) that are required for a default WSS install.

Resources