简体   繁体   中英

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:

TF80076: The data in the work item is not valid or you do not have permissions to modify the data. 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. THe workbook will close.... etc. etc..

... and Excel closes.

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 -> Shared Documents -> Iteration 1 -> Issues.xlsx (and all reports in this directory also fail)

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.

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?

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".

If you managed to edit/delete those two, the Excel functionality shall be broken. Try to restore those back & the Excel shall work again. Then go to Excel Ribbon "Team" and choose "Configure\List" & set a valid query, pointing to a valid Iteration within your Team Project.

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. You can download the MSF 5 template to a folder on your hard drive. Then navigate to

FOLDER YOU DOWNLOADED TO\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.

Open it & under "Team" choose "New List" & connect it to your Query "Iteration 1" or similar suitable Query.

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. Hope it will resolve your issue. Thank you.

Faced similar problem when using @ macros like '@currentiteration'. Excel 2013 is not supporting importing Query with filters with macros to be added as List

Changing @currentiteration to absolute name of iteration resolved the issue

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.

So if you get this error, check that the query that the Excel list is using is working.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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