Welcome to MSDN Blogs Sign in | Join | Help

Removing the Team Foundation Server association in Microsoft Project and Microsoft Excel files

Here's a handy tip if you find yourself needing to disassociate or unbind a Microsoft Project (.mpp) or Microsoft Excel (.xls) file from a Team Foundation Server, perhaps because you changed the name of the server, the server no longer exists, etc.

Microsoft Project

Yogita Manghnani, a PM for TFS, posted the following process in the Team Foundation Server MSDN forum.

  1. Close Microsoft Project
  2. Right click on the mpp file and choose Properties.
  3. Choose the Custom tab in the Properties window.
  4. Choose any Property listed there named "VS  Team System Data Do Not Edit" and click Remove.
  5. Click Apply or Ok.
  6. Open the mpp file, and you will get a message saying its not associated with any TFS server. Click Ok and Save it.
  7. You will not get the error message every time you open the mpp file as long as you save it once after the message is received.

Microsoft Excel

Dennis Habib, a developer for TFS, provides the following process.  Since this involves editing the registry, all of the usual caveats apply.

  1. Close Excel.
  2. Disable the TFS addin by going to HKLM\Software\Microsoft\Office\Excel\Addins\TfcOfficeShim.Connect and change the ‘LoadBehavior’ from ‘3’ to ‘0’.
  3. Open the .xls file.
  4. Wipe out the contents of the custom document properties (File -> Properties -> Custom).
  5. Save the file and exit Excel.
  6. Re-enable the TFS addin.
Published Wednesday, July 19, 2006 10:45 PM by buckh
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# VSTS Links - 07/21/2006

Buck Hodges on removing the Team Foundation Server association in Microsoft Project and Microsoft Excel...
Friday, July 21, 2006 11:27 AM by Team System News

# re: Removing the Team Foundation Server association in Microsoft Project and Microsoft Excel files

That won't work for MS Project Server projects.  If the file is published to the Project Server db, you have to remove all TFS custom properties, Save, close (which checks in the file to the db), and then uninstall Team Explorer.  After doing so, open the project from the Project Server db, save, then close it.  At this point, the association is gone.  You can then re-install Team Explorer. Not very user-friendly...
Friday, July 28, 2006 1:34 PM by Bernie Emsley

# re: Removing the Team Foundation Server association in Microsoft Project and Microsoft Excel files

I have got MPP file stored i sharepoint. How do I edit properties of that.

I have also tried getting the file saved to my local disk, and checking it's custom properties. but couldn;t find any property as "VS  Team System Data Do Not Edit".

Can you guide?

Monday, August 11, 2008 2:48 AM by MSGuy

# re: Removing the Team Foundation Server association in Microsoft Project and Microsoft Excel files

If I understand the question correctly, you would need to check out the file in Sharepoint, make the change described above, and then check it back in.

Buck

Monday, August 18, 2008 10:53 AM by buckh

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker