• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
pangzipangpang走过的路
博客园    首页    新随笔    联系   管理    订阅  订阅

每日点滴之贰零零玖年拾壹月贰日

成功安装TFS:
Windows Server 2003 SP2
IIS 6.0
SQL Server 2008 SP1(Enterprise Edition)
TFS SP1(集成包),参考http://www.woodwardweb.com/vsts/creating_a_tfs.html

在安装TFS发生SQL Server版本不兼容的错误,参考了http://blogs.msdn.com/rextang/archive/2009/05/19/9625393.aspx,修改了安装目录AT下的 Hcpackage.xml,问题解决。

摘录如下:
5. Open the Hcpackage.xml file by using Notepad.

6. Find the following entry:

<WQL namespace="\\.\root\Microsoft\SqlServer\ComputerManagement10" query="SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&gt;='10.00.1433' AND PropertyStrValue LIKE '10.00.%'" action="=" count="0" />

7. Replace the entry that you found in step 6 with the following entry:

<WQL namespace="\\.\root\Microsoft\SqlServer\ComputerManagement10" query="SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&gt;='10.00.1433' AND PropertyStrValue LIKE '10.%'" action="=" count="0" />

8. Find the following entry:

<WQL namespace="\\.\root\Microsoft\SqlServer\ComputerManagement10" query="SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&gt;='10.0.1433' AND PropertyStrValue LIKE '10.0.%'" action="=" count="0" />

9. Replace the entry that you found in step 8 with the following entry:

<WQL namespace="\\.\root\Microsoft\SqlServer\ComputerManagement10" query="SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&gt;='10.0.1433' AND PropertyStrValue LIKE '10.%'" action="=" count="0" />

10. Find the following entry:

<MsiProductVersionCheck prodid="[%SQLServer2008%]" action="&lt;" version="10.1" />

11. Replace the entry that you found in step 10 with the following entry:

<MsiProductVersionCheck prodid="[%SQLServer2008%]" action="&lt;" version="10.2" />

过程相对来说比较顺利,明天进行配置。
posted @ 2009-11-02 19:44  pangzi  阅读(200)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3