Error: TF80012 with side-by-side installation of VSTS 2005 and 2008

转载自 http://www.michaelazocar.com/blog/?p=290
客户端安装了 VS2005+Team Explorer 2005 后又再安装 VS2008+Team Explorer 2008,导致在 TFS 中打开 Excel 或者 Project 文件时出错
错误信息如下:

"TF80012: The document cannot be opened because there is a problem with the installation of Visual Studio 2005 Team Foundation Office integration components. Please see the Team Foundation Installation Guide for more information."

微软KB: http://support.microsoft.com/kb/947865

在VS中,只能使用1个版本的 TFS Client, 哪个是最后安装的,哪个的Office集成就会被关联注册到系统中
You can only use one version of Team Explorer to work with Microsoft Excel and Project. The latest version you installed is the version that will open Microsoft Excel and Project correctly.

要用回 2005,通常做法就是修复安装 Team Explorer 2005, 不过 Mike 给了我们另外一个简单的方法:

I have a 2003 server that I use to demo VSTS. I initially installed the 2008 TFS and Team Suite RC (which was only available on a limited scale so don't ask me where you can get it). Later I installed 2005 Team Suite with Team Explorer so that I could demo that as well. When I was in a Work Item query window and I highlighted multiple Work Items and then opened them in Excel or Project I received the following error:

TF80012: The document cannot be opened because there is a problem with the installation of the Microsoft Visual Studio 2008 Team Foundation Office integration components. Please see the Team Foundation Installation Guide for more information.

I learned from Mareen Philip from Microsoft that there is an issue with running the two side-by-side that will not be fixed for the RTM later this month (but they are working on a patch for it). The following information will be included in a Read Me that will ship with the RTM:

You can only use one version of Team Explorer to work with Microsoft Excel and Project. The latest version you installed is the version that will open Microsoft Excel and Project correctly. You can continue using that version, or you can switch to the other version by using one of the following procedures.

To register the Visual Studio 2008 version of Team Explorer to use the Microsoft Excel and Project add-ins

  1. At the command prompt, change directories to:

    Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies

  2. Unregister the 2005 version of the add-in by running the following command:

    regsrv32 /u TFSOfficeAdd-in.dll

  1. At the command prompt, change directories to:

    Program Files\Microsoft Visual Studio 9\Common7\IDE\PrivateAssemblies\

  2. Register the 2008 version of the add-in by running the following command:

    regsrv32 TFSOfficeAdd-in.dll

To register the Visual Studio 2005 version of Team Explorer to use the Microsoft Excel and Project add-ins

  1. At the command prompt, change directories to:

    Program Files\Microsoft Visual Studio 9\Common7\IDE\PrivateAssemblies

  2. Unregister the 2008 version of the add-in by running the following command:

    regsrv32 /u TFSOfficeAdd-in.dll

  1. At the command prompt, change directories to:

    Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\

  2. Register the 2005 version of the add-in by running the following command:

    regsrv32 TFSOfficeAdd-in.dll

You may also receive this error after you uninstall one of the versions of Team Explorer. To fix that scenario do the following:

Repair the installation of Team Explorer by using the following procedure.

  1. Open the Control Panel.
  2. If you are using Microsoft Visual Studio 2008 Team Explorer select this entry in the control panel. Otherwise select Microsoft Visual Studio 2005 Team Explorer.
  3. Click Change/Remove.
  4. In the Setup dialog box, select Repair or Reinstall.
  5. Click Next.
  6. In the Ready to Repair page, click Repair.

Leave a comment

Recent Entries

  • Lync Server 2010 发布架构报错

    昨天想试试在现有的 OCS 2007 R2 的基础上部署 Lync Server 2010 试试看,装好 Topology Builder 之后,新建了一个拓扑,然后把该填的都填了,发布的时候老是报SQL错,很是郁闷,后来终于在log中找到了错误原因:  Script result: ERROR_VALIDATE_BAD_SQL_VERSION Error: Script failed (code "ERROR_VALIDATE_BAD_SQL_VERSION") when installing "CentralMgmtStore" on "LyncServer01.mail2any.local"....

  • 使用 URL Rewrite 重定向 Http 请求至 Https

    公司部署了个新的 IIS 站点,需要强制在 Https 下面访问,但是又不希望关掉80端口的 Http 请求,这样对用户体验来讲不好,最好是能强制所有的 Http 请求都会被重定向到 Https 上面去,显然, IIS 自带的 "HTTP Redirect" 已经不能满足这个需求,我们这里使用 IIS 7.0 下面的重定向扩展 URL Rewrite Module 来做。1. http://www.iis.net/download/URLRewrite 到这里下载,有分...

  • How to remember your OC and Outlook password

    How to make your computer remember your Microsoft Communicator 2007 R2 and Outlook 2007 password (如何让你的电脑在非域环境中记住 OC 2007 R2 和 Outlook 的密码)我们知道,在域的环境中,使用 OC 和 Outlook...

  • 微软 CRM 2011 Beta 快速安装图解

    微软在9月17日在网站上放出了 CRM 2011 (也就是CRM5.0)的 beta 版本,我就先来个简单的快读安装图解,一睹为快,下个月会写点新版 CRM 的使用感受。 下载: Microsoft Dynamics CRM 2011 Beta Microsoft Dynamics CRM 2011 Software Development Kit (SDK)Microsoft Dynamics CRM 2011...

  • 升级到 Exchange 2010 SP1 后出现的2个小问题

    今天有空把所有的 Exchange 服务器从 2010 RTM 升级到了 2010 SP1 了, 升级完了后发现了2个小问题: OWA打开正常,但是点到 ECP 的时候报 403 访问拒绝错误 某台 Exchange 打开 EMS 时报错如下: [server.mydomain.local] Connecting to remote server failed...

Close