您的位置:首页 > 其它

使用TFS2010管理敏捷项目生命周期-系列指南4 Scrum v3 For TeamSystem-安装疑难解答

2011-11-14 22:59 585 查看
Scrum for Team System是一个自由开源的模板,基于Scrum方法,从TFS2005,TFS2008到TFS2010,已经经历了3个大版本,算是应用比较成熟的模板。而且配合 TfsWorkbench工具(做为电子版的看板/故事强,在实施Scrum的研发项目中,完全可以取代用纸质卡片的故事墙),比微软的内置敏捷模板更加适合Scrum团队。

安装Scrum V3 模板是一件困难的任务,由于这个模板并非微软官方正式研发,而且相比微软的agile,scrum v1.0等模板更加复杂和强大,所以在各种配置下测试上不够充分,所以在配置上很容易出错而难以继续使用。

安装过程:必须使用administrator身份来在TFS服务器上安装。

1、 下载模板,注意根据安装了TFS的服务器类型,选择x64还是x86版本:

http://scrumforteamsystem.codeplex.com/releases/view/73686

2、 启动安装程序,根据默认配置安装;

3、 启动部署配置程序Depolyment Ultility,进行配置;



点击List按钮,列出本服务器上所有的项目集。选择需要部署的项目集,点击Deploy按钮,完成部署。



4、 启动VS客户端,创建团队项目,选择Scrum模板,按照提示配置和操作项目。大部分出错往往就在这步。

笔者安装中发现过的几个错误:

1、TF30267: 异常: System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> Failed to instantiate file "default.master" from module "DefaultMasterPage": Source path "default.master" not found. ---> Failed to instantiate file "default.master" from module
"DefaultMasterPage": Source path "default.master" not found.

在 Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleSiteCreation(WssCreationContextWrapper contextWrapper, XmlNode taskNode)

在 Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)

解决方法:

这个是Scrum V3.0模板本身的故障,没有更新旧SharePoint文件的模板。 通过下述方法解决:

打开文件夹:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN

运行下面的命令:

STSADM.EXE -o retractsolution -name ScrumForTeamSystem.SharePoint.Dashboards.wsp -immediate

STSADM.EXE -o execadmsvcjobs

STSADM.EXE -o deletesolution -name ScrumForTeamSystem.SharePoint.Dashboards.wsp

STSADM.EXE -o execadmsvcjobs

STSADM.EXE -o addsolution -filename "C:\Program Files (x86)\Scrum for Team System\PortalTemplate\ScrumForTeamSystem.SharePoint.Dashboards.wsp"

STSADM.EXE -o execadmsvcjobs

STSADM.EXE -o deploysolution -name ScrumForTeamSystem.SharePoint.Dashboards.wsp -immediate -allowgacdeployment -force

STSADM.EXE -o execadmsvcjobs

之后,这个问题可以被解决。

2、异常消息: System.Web.Services.Protocols.SoapException: 加载代码模块时出错:“ScrumForTeamSystem.Metrics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=055ce0479c359dc7”。详细信息: 未能加载文件或程序集“ScrumForTeamSystem.Metrics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=055ce0479c359dc7”或它的某一个依赖项。系统找不到指定的文件。

在 Microsoft.ReportingServices.WebServer.ReportingService2005Impl.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)

在 Microsoft.ReportingServices.WebServer.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings) (类型 SoapException)SoapException 详细信息: <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsProcessingError</ErrorCode><HttpStatus
xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">加载代码模块时出错:“ScrumForTeamSystem.Metrics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=055ce0479c359dc7”。详细信息: 未能加载文件或程序集“ScrumForTeamSystem.Metrics,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=055ce0479c359dc7”或它的某一个依赖项。系统找不到指定的文件。</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsProcessingError&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=10.50.1600.1</HelpLink><ProductName
xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">10.50.1600.1</ProductVersion><ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem
xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">2052</CountryLocaleId><MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices"><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message
msrs:ErrorCode="rsErrorLoadingCodeModule" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.ReportProcessing.RPRes&EvtID=rsErrorLoadingCodeModule&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=10.50.1600.1"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">加载代码模块时出错:“ScrumForTeamSystem.Metrics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=055ce0479c359dc7”。详细信息: 未能加载文件或程序集“ScrumForTeamSystem.Metrics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=055ce0479c359dc7”或它的某一个依赖项。系统找不到指定的文件。</Message><Message
msrs:ErrorCode="rsCompilerErrorInClassInstanceDeclaration" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.ReportProcessing.RPRes&EvtID=rsCompilerErrorInClassInstanceDeclaration&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=10.50.1600.1"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">类 ScrumForTeamSystem.Metrics.Forecasting 的类实例声明中存在错误: [BC30002] 未定义类型“ScrumForTeamSystem.Metrics.Forecasting”。</Message></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices"><Warning><Code>rsDataSourceReferenceNotPublished</Code><Severity>Warning</Severity><ObjectName>Tfs2010ReportDS</ObjectName><ObjectType>DataSource</ObjectType><Message>数据集“Tfs2010ReportDS”引用的共享数据源“Tfs2010ReportDS”未在报表服务器上发布。必须首先发布共享数据源“Tfs2010ReportDS”,此
报表 才能运行。</Message></Warning></Warnings></detail>

解决方法:由于安装程序出错,无法正常注册某些程序集(ScrumForTeamSystem.Metrics)。如下处理:

1、 确保你的报表服务器可以被安装Scrum v3的身份访问:比如:
http://your-tfsserver/ReportServer/
2、 找到你安装Scrum v3时候生成的中间临时文件夹,一般是在%Temp%目录下,比如:

C:\Users\Administrator\AppData\Local\Temp\SfTS.v3.output

3、 打开另外一个文件夹:C:\Windows\assembly,里面都是程序集。

4、 把第2步文件夹中的ScrumForTeamSystem.Metrics.dll文件拖到第3步的文件夹中,即可完成注册。

5、 重新偿试创建团队项目,即可成功。

3、 TF249033错误:

Exception Message: TF249033: The site template is not available for the locale identifier (LCID). The site template name is: SCRUM. The LCID is: 1033. (type TeamFoundationServerException)

Exception Stack Trace: at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleSiteCreation(WssCreationContextWrapper contextWrapper, XmlNode taskNode)

at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)

Inner Exception Details:

Exception Message: TF249033: The site template is not available for the locale identifier (LCID). The site template name is: SCRUM. The LCID is: 1033. (type SoapException)SoapException Details: <detail exceptionType="TeamFoundationServerException" />

解决方法:SharePoint默认语言与模板语言(美国英语)不一致导致。可以去微软网站下载相应的sharepoint 英语语言包来安装,安装完成后再来创建团队项目。注意:根据你的服务器上是SharePoint SharePoint3.0 或SharePoint 2010的语言包来选择下载。

安装成功后,可以看到完整的功能:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐