Cannot connect to TFS

When I try to connect to the server to perform some user management (command line), I get the following error:

GSSUTIL - TFS Group Security Client Tool
(c)Copyright, Microsoft Corporation, 2004. All rights reserved.

Connecting to the Team Foundation Server Web service...
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>Value cannot be null.<br>Parameter name: absoluteUrl</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>

<body bgcolor="white">

<span><H1>Server Error in '/services' Application.<hr width=100% size=1 color=silver></H1>

<h2> <i>Value cannot be null.<br>Parameter name: absoluteUrl</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

<br><br>

<b> Exception Details: </b>System.ArgumentNullException: Value cannot be null.<br>Parameter name: absoluteUrl<br><br>

<b>Source Error:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>

</td>
</tr>
</table>

<br>

<b>Stack Trace:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

[ArgumentNullException: Value cannot be null.
Parameter name: absoluteUrl]
Microsoft.TeamFoundation.Server.ProxyUtilities.GetServerUrl(String absoluteUrl) +240
Microsoft.TeamFoundation.Proxy.BisRegistrationService.ExpandRelativeUrls(RegistrationEntry[] entries, String tfsServerUrl) +12
Microsoft.TeamFoundation.Server.Plugin.InitializePlugins() +97
Microsoft.TeamFoundation.Server.Global.EnsureInitialized() +1101
Microsoft.TeamFoundation.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +22
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
</pre></code>

</td>
</tr>
</table>

<br>

<hr width=100% size=1 color=silver>

<b>Version Information:</b>?Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

</font>

</body>
</html>
<!--
[ArgumentNullException]: Value cannot be null.
Parameter name: absoluteUrl
at Microsoft.TeamFoundation.Server.ProxyUtilities.GetServerUrl(String absoluteUrl)
at Microsoft.TeamFoundation.Proxy.BisRegistrationService.ExpandRelativeUrls(RegistrationEntry[] entries, String tfsServerUrl)
at Microsoft.TeamFoundation.Server.Plugin.InitializePlugins()
at Microsoft.TeamFoundation.Server.Global.EnsureInitialized()
at Microsoft.TeamFoundation.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->
--.

Can anyone help? Thanks.

[4734 byte] By [MichaelWong] at [2008-2-24]
# 1

In the file

\Program Files\Microsoft Team Foundation 2005\Web Services\web.config on your server, there should be a line like the following:

<add key="TfsNameUrl" value="http://myserver:8080" />

Check to make sure that it is there.

PeteSheillMSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...

Visual Studio Team System

Site Classified