Saturday, 29 August 2015

Change Release Management Server URL in Release Management Client (Resolve “The Release Management Server is not currently available. ”)

Setting up Release Management Server URL in Release Management Client should be done when it is set up initially. In an already configured client, it is possible to change the URL of the server, in Administration tab like shown below.
image image image
If the configured server is not accessible, the client will show error,
“The Release Management Server is not currently available. If the problem persists please contact your administrator. The application will now close.”
image
Since the client is getting closed when OK button is clicked, it is not possible to change the server URL in the Release Management client.
In Release Management 2013, generally following path contains the file (Microsoft.TeamFoundation.Release.Data.dll.config) containing the server URL.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\Client\bin
image
It is possible to manually edit the “Microsoft.TeamFoundation.Release.Data.dll.config” file, and URL needs to be set in multiple locations in this file.
image
There is easier option to do this with RM server 2013 update 2 onwards. That is by using the “ReleaseManagementConsoleAdjustConfigFile.exe” in the same folder (C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\Client\bin).
image
Two parameters are required to be passed to this executable to set the new URL for the release management client.
  • configfilename  config file name that is Microsoft.TeamFoundation.Release.Data.dll.config
  • newwebserverurl New RM Server URL
Example command below.

ReleaseManagementConsoleAdjustConfigFile.exe -configfilename .\Microsoft.TeamFoundation.Release.Data.dll.config -newwebserverurl http://YourRMServer:1000

This command should be run in Administrative command prompt.

image

The command updates the “Microsoft.TeamFoundation.Release.Data.dll.config” file.

image

When the correct URL is set the RM Client can connect to RM server.

image

No comments:

Popular Posts