简体   繁体   English

在TFS 2012中导出为ex​​cel,错误代码:TF400422

[英]Export to excel in TFS 2012, error code: TF400422

I've installed Visual Studio 2012 RC. 我已经安装了Visual Studio 2012 RC。

I'm working with TFS2012, and when I want to export a user story to excel I get the following dialog box error: 我正在使用TFS2012,当我想将用户故事导出到Excel时,我得到以下对话框错误:

Microsoft Visual Studio
Team Foundation Error
TF400422: Failed to open in Microsoft Excel: Error loading type library/Dll.
(Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))

I'm using Microsoft Office Professional Plus 2010. Version: 14.0.6112.5000 (64-bit) 我正在使用Microsoft Office Professional Plus 2010.版本: 14.0.6112.5000 (64位)

Screenshot 截图

在此输入图像描述

What does the TF400422 code mean? TF400422代码是什么意思?

I looked in This page which has a list of error code meanings, but the code: TF400422 isn't there. 我查看了此页面 ,其中包含错误代码含义列表,但代码:TF400422不存在。 Perhaps this relates to this other issue. 也许这与另一个问题有关。

I'm sorry for the late answer but I was managed to avoid this error by connecting to TFS from Excel using TEAM tab. 对于迟到的回答,我很抱歉,但是我通过使用TEAM选项卡从Excel连接到TFS来避免此错误。 Then I created new list using TFS Query and it works pretty good 然后我使用TFS查询创建了新列表,它工作得很好

Last I checked the TFS addin didn't work with 64bit of office. 最后我检查了TFS插件无法使用64位的办公室。

It may have changed since the 2010 version, but it wouldn't surprise me if it was still the case. 自2010版本以来,它可能已经发生了变化,但如果仍然如此,我也不会感到惊讶。

Reference: First comment on this blog http://geekswithblogs.net/blomqvist/archive/2010/10/25/integration-with-office-from-team-explorer-stopped-workingndashand-how-to.aspx 参考:本博客的第一条评论http://geekswithblogs.net/blomqvist/archive/2010/10/25/integration-with-office-from-team-explorer-stopped-workingndashand-how-to.aspx

The fix for this turns out to be simple - see this blog post for details. 对此的修复变得简单 - 有关详细信息,请参阅此博客文章

From the registry, when you see two keys under: 从注册表中,当您看到以下两个键时:

HKCR\TypeLib\{00020813-0000-0000-C000-000000000046}\

delete the highest one. 删除最高的一个。 In my case this was 1.8, but it will depend on your version of Excel/Office (the artical describes deleting 1.7). 在我的情况下,这是1.8,但它将取决于您的Excel / Office版本(艺术描述删除1.7)。 This problem does seem to return after some time (maybe after patches), so you may have to re-apply this fix unfortunately. 这个问题似乎确实在一段时间后(可能在补丁之后)返回,因此您可能不得不重新应用此修复程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM