TF80070 Error in Microsoft Project

We are using Team Foundation Server Workgroup edition. I open up Microsoft Project and 'Choose Team Project'. Then I can 'Get Work Items' into the project, but it throws the error below before all of the work items are rendered (but they all show up after I hit OK). Also I can't 'Publish' or 'Refresh' the Work Items from Project. When I try, I get the following error:

"TF80070: Team Foundation encoutered an error while performing the operation. It is recommended that you save your work and restart the application."

Any help/ideas would be greatly appreciated.

[603 byte] By [JDCAMP] at [2007-12-25]
# 1

Hi

Did you get then same error when you open a query in MS Project from IDE? That is, from team explorer under work items, rightclick any query that results at least one WI, and then click Open in MS Project. Let me know what happens.

In addition please try this. Start Control panel and open Add Remove Programs. Select Visual Studio 2005 Tools for Office Runtime and then repait it. You might need to select Uninstall (based on this OS) and then select Repair in the dialog and follow the wizard. Perform what you tried

Thanks

Sagar

SagarSura at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2
From VS I right clicked on All Work Items and selected 'Open in Microsoft Project'. Project brings back all of the work items but when it is done throws the same TF80070 error as before. I ran the repair on Visual Studio 2005 Tools for Office Runtime and tried again with the same TF80070 result.
JDCAMP at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3

While I am working on this I thought I would provide some information to you...

Here is one forum posting related to this error. This error is more like a general error. If there are any unexpected errors then TFS show this error. BTE, does Excel integration works fine?

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=123770&SiteID=1

Thanks
Sagar

SagarSura at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4

Yes, Excel integration works perfectly.

JDCAMP at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 5
Okay. I'm going to need a log file to have any hope of figuring out what is going on. Please create a new file in the location where WINPROJ.exe exists called winproj.exe.config and place the following XML in that file:

<configuration>
<system.diagnostics>
<switches>
<add name="General" value="3" />
</switches>
<trace autoflush="false" indentsize="3" />
</system.diagnostics>
</configuration>

This will cause a log file to be generated in your %temp% directory called tfs_winproj.log. Run Project, cause the problem to occur, then post the contents of the generated log file (there should be an exception entry in it).

Thanks

Sagar

SagarSura at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 6
I created the file as instructed above and I am able to reproduce the error, but I can't find a reference of a tfs_winproj.log file anywhere on my computer much less the %temp% directory.
JDCAMP at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 7

Sorry... the file name is tfs_msproject.log.

Thanks

Sagar

SagarSura at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 8

I opened All Work Items in Microsoft Project from Visual Studio. Made a change in Visual Studio to a Work Item, refreshed Microsoft Project and everything looked alright. Made a change in Microsoft Project and tried to publish and got the TF80070 error. Here is the contents of that log file:

-


JDCAMP at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 9

Thanks for sharing this with us. While I am looking at it, can you repleat these steps for just one work item? Run the query in IDE.. For the list select on Work Item and right-click open it in Project. Update it and then attempt to publish.

Thanks

Sagar

SagarSura at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 10
I recieved the same error when trying to work with only one Work Item.
JDCAMP at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 11

Looks like this is something to do with the configuration. Can you let me knwo the OS, TFS version, Project version? And, did you change TFSFieldMapping by anychance?

Thanks

Sagar

SagarSura at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 12

Project Version = Microsft Office Project Professional 2003 SP1

Server OS = Microsoft Windows Server 2003 Standard Edition Service Pack 1

TFS Version = Microsoft Visual Studio 2005 Team Foundation Server - ENU (Workgroup Edition)

As far as I know, nothing was changed to any TFSFieldMapping settings. Is there a way that I could verify what I have for those settings?

JDCAMP at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 13

Also, could you please answer these questions...

Does this happen no matter what work item you are trying to publish (and no matter what work items he has on the sheet)?

And what field are you changing?

Does it happen every time you publish, even if nothing is changed?

Is this happening for all work items types or a specific work item types? I mean does this happen for Bug types/Task/Risk and so on WITs or only for a spcific Work Item Type? If yes, Can you send that work item type too?

From Product IDE folder you can find TFSFieldmapping.exe. Can you use that to download field mappings for you project and send it along with the WIT?

This error is not so easy to debug hence asking this information

Thanks

Sagar

SagarSura at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 14

Looks like if I can publish changes for Bugs, Quality of Service Requirments, Risks, and Scenarios. But it gives the error when I try to make changes to a Task, both one that is created with the new project and tasks that I manually create. So I think we have it narrowed down on that end.

I guess I am not sure what you need me to do with the TFSFieldMapping.exe file. If you could describe more what I need to do I will get you the information.

JDCAMP at 2007-9-3 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified