1117 VSTS 客户端 连接 服务器 失败 1
昨天直接在服务器上安装 VS 2005 ,连接OK,今天在客户机上,结果出错了:
连接Team Foundation Server
1. 启动Team Foundation Client。
2. 在Tools菜单, 点击Connect to Team Foundation Server。
Connect to Team Foundation Server 对话框将出现。
3. 在Connect to a Team Foundation Server 列表中, 选择您希望使用的Team Foundation Server。
4. 如果在Team Foundation Server上已经存在项目,那么选择您希望使用的项目,并且点击OK。
结果:出现
Unable to connect to this Team Foundation Server: bonusserver.
Team Foundation Server Url: http://bonusserver:8080.
Possible reasons for failure include:
- The Team Foundation Server name, port number or protocol is incorrect.
- You don't have sufficient permissions to connect to this Team Foundation Server.
- The Team Foundation Server is offline.
- Password is expired or incorrect.
For further information, contact the Team Foundation Server administrator.
按照:Visual Studio 2005 Team System初体验(1) - Team Foundation Server的安装
http://blog.joycode.com/uestc95/archive/2005/06/07/52728.aspx
很大程度上是因为这个原因“You don’t have sufficient permissions to connect to this Team Foundation Server.”而导致此现象发生很可能是你没有做“二、13”这一步。
13、基本工作已经完毕,紧接着我们需要做一些收尾工作,那就是建立可以访问TFS的一般账号。
建立可以访问TFS的账号步骤
A、在AD建立相关的账号
B、在Applicaiton Tier使用命令gssutil.exe /g+ adm: n:domain\username? 将账号加入到“Namespace Administrators application group ”。gssutil.exe命令则会在你的“%ProgramFiles%\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\sdk\bin”目录下。
我照做:
D:\ms\vs2005\BISIISDIR\sdk\bin>gssutil.exe /g+ adm: n:vstf.ms\projadmin
GSSUTIL - TFS Group Security Client Tool
(c)Copyright, Microsoft Corporation, 2004. All rights reserved.
Connecting to the TFS web service...
Resolving identity "adm:"...
a [A] [GLOBAL]\Namespace Administrators
Resolving identity "n:vstf.ms\projadmin"...
[U] VSTF\PROJADMIN
Adding PROJADMIN to Namespace Administrators...
Verifying...
SID: S-1-502450694-2501213139-1184066709-1096698321-402739109-1537748921
DN: CN=Adm:,CN=$Namespace,DC=TFGSS
Identity type: TFS Application Group
Group type: AdministrativeApplicationGroup
Project scope: GLOBAL
Display name: Namespace Administrators
Description: Members of this application group can perform all privileged oper
ations on the server.
3 member(s):
s [A] [GLOBAL]\Service Accounts
[U] VSTF\TFSSETUP
[U] VSTF\PROJADMIN
Member of 1 group(s):
e [A] [GLOBAL]\TFS Everyone
Done.
结果错误依然~~~~~~~~~~~~~~
但是直接访问http://192.168.9.28:8080/BisServer/ServerStatus.asmx
ServerStatusService
The following operations are supported. For a formal definition, please review the Service Description.
CheckAuthentication GetServerStatus OK
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
CheckAuthentication
TestThe test form is only available for requests from the local machine.
GetServerStatus
TestThe test form is only available for requests from the local machine.