简体   繁体   English

TFS2010:打开某些 Excel 报告会出现错误 TF80076

[英]TFS2010: Opening certain Excel reports gives error TF80076

When I try and open certain TFS2010 Excel reports I get the following error popup from Excel:当我尝试打开某些 TFS2010 Excel 报告时,我从 Excel 收到以下错误弹出窗口:

TF80076: The data in the work item is not valid or you do not have permissions to modify the data. TF80076: 工作项中的数据无效或您没有修改数据的权限。 Please correct the problem and retry.请更正问题并重试。

TF80076

This is then followed by the popup:然后是弹出窗口:

TF208103: The initialization of the workbook to connect to Team Foundation Server was not successful. TF208103:连接到 Team Foundation Server 的工作簿初始化不成功。 THe workbook will close.... etc. etc..工作簿将关闭......等等......

... and Excel closes. ... Excel 关闭。

The reports that throw this error include:引发此错误的报告包括:

  • Documents -> Samples and Templates -> Project Management -> Document Template - Iteration Backlog.xlsm (in fact all reports in this directory fail) Documents -> Samples and Templates -> Project Management -> Document Template - Iteration Backlog.xlsm (实际上这个目录下的所有报告都失败了)

  • Documents -> Shared Documents -> Iteration 1 -> Issues.xlsx (and all reports in this directory also fail) Documents -> Shared Documents -> Iteration 1 -> Issues.xlsx (并且此目录中的所有报告也失败)

I believe that the error may be misleading as this only happens under one project collection and this is a project collection I had some trouble setting up so it was recreated a couple of times.我认为该错误可能会产生误导,因为这只发生在一个项目集合下,而这是一个项目集合,我在设置时遇到了一些问题,因此重新创建了几次。 I suspect that the SharePoint site that hosts the reports has got out of sync with the project collection.我怀疑托管报告的 SharePoint 站点与项目集合不同步。

Any ideas how to fix these errors?任何想法如何解决这些错误?

Is there a way to regenerate the reports that error on the SharePoint site so that they can rebind with the project?有没有办法重新生成 SharePoint 站点上的错误报告,以便它们可以重新绑定项目?

Thanks!谢谢!

At the time the Team Project is generated those Excel sheets are also generated, pointing to "Iteration 1" Iteration (found at right-clicking Team Project, then "Team Project Settings">"Areas and Iterations...") & also referring to Work Item - Team Query "Iteration 1\Iteration Backlog".在生成团队项目时,也会生成那些 Excel 工作表,指向“迭代 1”迭代(右键单击团队项目,然后选择“团队项目设置”>“区域和迭代...”)并引用工作项 - 团队查询“迭代 1\迭代积压”。

If you managed to edit/delete those two, the Excel functionality shall be broken.如果您设法编辑/删除了这两个,则 Excel 功能将被破坏。 Try to restore those back & the Excel shall work again.尝试恢复这些,Excel 将再次工作。 Then go to Excel Ribbon "Team" and choose "Configure\List" & set a valid query, pointing to a valid Iteration within your Team Project.然后 go 到 Excel 功能区“团队”并选择“配置\列表”并设置有效查询,指向团队项目中的有效迭代。

You can now delete the query, as well as the Team Project Iteration.您现在可以删除查询以及团队项目迭代。

I had found this resolution here - (it's in German) & it was a lifesaver我在这里找到了这个解决方案 - (它是德语)并且它是救命稻草

There is also another route to possible success, taken partially from here :还有另一条可能成功的途径,部分取自此处

Open Visual Studio, choose Team -> Team Project Collection Settings -> Process Template Manager.打开 Visual Studio,选择 Team -> Team Project Collection Settings -> Process Template Manager。 You can download the MSF 5 template to a folder on your hard drive.您可以将 MSF 5 模板下载到硬盘驱动器上的文件夹中。 Then navigate to然后导航到

FOLDER YOU DOWNLOADED TO\MSF for Agile Software Development v5.0\Windows SharePoint Services\Shared Documents\Project Management\您下载的文件夹 \MSF for Agile Software Development v5.0\Windows SharePoint Services\Shared Documents\Project Management\

Under this folder you will see the (now connectionless) Iteration Backlog.xlsm.在此文件夹下,您将看到(现在是无连接的)Iteration Backlog.xlsm。

Open it & under "Team" choose "New List" & connect it to your Query "Iteration 1" or similar suitable Query.打开它并在“团队”下选择“新列表”并将其连接到您的查询“迭代 1”或类似的合适查询。

I also come across same issue.我也遇到了同样的问题。 After trying following changes it started working.在尝试以下更改后,它开始工作。
Check from edit query in Azur if your query using variable like "@RecentProjectActivity" then replace it with other possible static references like you can refer some Area Path or any ID.如果您的查询使用“@RecentProjectActivity”之类的变量,请从 Azur 中的编辑查询中检查,然后将其替换为其他可能的 static 引用,例如您可以引用某些区域路径或任何 ID。 Hope it will resolve your issue.希望它能解决您的问题。 Thank you.谢谢你。

Faced similar problem when using @ macros like '@currentiteration'.使用像“@currentiteration”这样的@宏时遇到类似的问题。 Excel 2013 is not supporting importing Query with filters with macros to be added as List Excel 2013 不支持导入Query with filters with macros to added as List

Changing @currentiteration to absolute name of iteration resolved the issue将 @currentiteration 更改为迭代的绝对名称解决了这个问题

I got this because the query Iteration 1/Iteration Backlog didn't work because I had change the iteration structure but not updated the query correspondingly.我得到这个是因为查询 Iteration 1/Iteration Backlog 不起作用,因为我更改了迭代结构但没有相应地更新查询。

So if you get this error, check that the query that the Excel list is using is working.因此,如果您收到此错误,请检查 Excel 列表正在使用的查询是否正常工作。

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

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