积极答复者
TFS Server部署问题

问题
-
版主你好:
请教个问题,请指导下,先谢过。
我在还原TFS的数据库时,将TFS Server(win server 2008)与数据库服务器(win7)分别部署在两台机器上,但是在通过应用层专用配置向导设置数据库时遇到如下问题:
1、在列出数据库时提示配置数据库中没有可用的帐户
2、通过TFSConfig命令给数据库服务器添加帐号时,提示如下错误:
命令如下:
C:\Program Files\Microsoft Team Foundation Server 12.0\Tools>tfsconfig accounts
/add /accountType:applicationtier /databasename:TFS_Configuration /sqlinstance:B
ingLiang-PC /account:TFSSERVICE /password:aaaaaa3、查看错误提示如下,提示没有添加用户的权限
异常信息:
[Info @17:23:14.751] +-+-+-+-+-| 向集合添加帐户 |+-+-+-+-+-
[Info @17:23:14.751] Starting Node: ADDCOLLACCOUNT
[Info @17:23:14.751] NodePath : ADDCOLLACCOUNT
[Info @17:23:14.760] 正在向集合数据库添加帐户...
[Info @17:23:14.764] Getting collections...
[Info @17:23:14.773] 正在更改集合: DefaultCollection
[Info @17:23:14.774] ConnectionString: Data Source=192.168.1.108,1433;Initial Catalog=Tfs_DefaultCollection;Integrated Security=True
[Info @17:23:14.780] ModifyExecRole: Add:TFSSERVICE
[Error @17:23:14.877] 将 TFSSERVICE 添加到 DefaultCollection (Tfs_DefaultCollection) 失败。
[Error @17:23:14.878] System.Data.SqlClient.SqlException (0x80131904): 用户没有执行此操作的权限。
在 Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)
在 Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException(Exception exception)
在 Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.Execute(ExecuteType executeType, CommandBehavior behavior)
在 Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlSecurityComponent.ModifyExecRole(String accountName, String role, AccountsOperation operation)
在 Microsoft.TeamFoundation.Admin.ConfigureAddAccountToCollections.Run(ActivityContext context)我的问题是:在这种tfs server与数据库server分离的情况下,如何才能添加上帐户?
答案
全部回复
-
你好,
你应该是把账号添加到配置数据库中,参考这个例子:http://www.cnblogs.com/holly/archive/2010/04/21/1717110.html。
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.