TFS小记(2):配置TFS服务器

     安装之后就可以配置TFS服务器了。因为TFS与Reporting Service、WSS密切相关,按照MS的说明,最好不要使用Administrator组用户作为Reporting Service和WSS的访问账户。因此我们首先添加两个USER组用户,使其可以创建TFS项目。
     TFSRS(Reporting Serivce用户)
     TFSSERV (WSS用户)
    (当然,你也可以创建一个组(例如:TFS Project Manager)来作为TFS用户的分类。)

     打开VS2008,在Team Explorer中右键点击服务器名称->Team Foundation Server Setting->Security.. 打开全局权限设置面板。在Add users and groups 中选择windows user or group的checkbox,指定之前创建的 TFSRS用户和TFSSERV用户(如果你为上述用户创建了组,也可以指定所创建的组名),勾选 Allow Create new projects。

     接下来打开Reporting Service Web界面(http://:/Reports<_yoursite>)。
     在Properties->New role assignment中指定之前创建的用户/组为Content Manager。
     在Contents->TfsReportDS中,确保 Data source type 为Microsoft SQL Server;
     指定Connect using 为 Credentials stored securely in the report server并输入TFSRS的用户名和密码
     勾选Use as windows credentials when connecting to the data source
     Contents->TfsOlapReportDS中设置和TfsReportDS保持一致,只是Data source type 为 Microsoft SQL Server Analysis Service

小结:
1、在TfsReportDS和TfsOlapReportDS中没有指定用户名密码将导致无法输入用户名和密码而无法访问Reporting Service数据库的错误。
2、 指定用户名和密码依然出现错误的,建议进入SQL Server 2008->Configuration Tool->Reporting Service Configuration Management->Encryption Keys->Delete Encrypted Content。
3、安装VS2008 with SP1的朋友,建议在安装完TFS之后,重新安装VS 2008 SP1。否则会导致在Reporting Service和WSS完全正常的情况下出现TF30224错误。

posted on 2009-03-27 09:31  优思  阅读(3488)  评论(0编辑  收藏  举报

导航