Issue with TFS


Keith Canniff
 

We’re currently getting the following dialog box when doing a “Get Latest Project Version”:

 

 

Once you receive this, the objects that were changed by another programmer do not come into your copy. However if you go to the specific object changed by the other programmer and do a “Get Latest Version”, you do get the update.

 

So something at a high level in TFS is “broken”. The “EDP” file itself is under TFS control, as well as Progs and DataSources.

 

I believe this is TFS 2012 and it’s an On Premise version.

 

Thanks,

 

Keith Canniff
President and CTO
IntegrateOne LLC
www.integrateone.com
678-485-8665

 


Virus-free. www.avast.com


Tom Worthen
 

Keith,

 

We have seen this a few times here. We usually encounter this on the program repository and we have to start looking for a record that is out of place. In some instances that includes comparing objects in each folder until we find a difference and then the actual program. Typically this happens because when the program is first created the user chooses not to check it in. It was a little odd to me that TFS wants to check in the program when you are creating it but what it is really doing is just adding that new program to tfs but the program is still checked out for you to update. Checking it in later does not fix this. What we have had to do is for the user that has the program, they go into Visual Studio and add that program to TFS. Once that is done then they do a refresh and then everyone else can and everything is back to working.

 

You might have found something different but that is what we have encountered when we get that error.

 

Hope that helps,

Tom

 

From: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] On Behalf Of Keith Canniff
Sent: Wednesday, August 08, 2018 4:14 PM
To: magicu-l@groups.io
Subject: [magicu-l] Issue with TFS

 

We’re currently getting the following dialog box when doing a “Get Latest Project Version”:

 

 

Once you receive this, the objects that were changed by another programmer do not come into your copy. However if you go to the specific object changed by the other programmer and do a “Get Latest Version”, you do get the update.

 

So something at a high level in TFS is “broken”. The “EDP” file itself is under TFS control, as well as Progs and DataSources.

 

I believe this is TFS 2012 and it’s an On Premise version.

 

Thanks,

 

Keith Canniff
President and CTO
IntegrateOne LLC
www.integrateone.com
678-485-8665

 

 

Virus-free. www.avast.com


Thomas Titus
 

Hi Keith,
You can follow these steps to duplicate the issue. Make sure that the Team Explorer desktop version loaded to monitor the status.

1. Make sure you programs repository(progs.xml) is checked in.
2. Go to program repository and try to add a new program by pressing F4.
3. A TFS prompt show up to "Adding Prg 6 to version control project"
4. Hit cancel or exit of the prompt without hitting Check-In. (You may receive some warning prompt. Click ok)
5. Switch to Team explorer and look at the source folder. You will see a small green plus (+) at the left of the prg_6.xml you added. This means the file is not in TFS yet, but only file name slot reserved.
6. Switch back to XPA and do undo on Prg 6. 
7. Team explorer remove the prg_6.xml from list, however progs.xml still have the slot. reserved. Since you cannot undo progs.xml, the check in progs.xm will keep the slot reserved.
8. The next Get Project will report that the file Prg_6.xml is not in version control. (By manually adding using team explorer will fix issue or using command line tools you need to remove the slot, if it is done by some other user and manually add the file to tfs using team explorer).

The simple solution is, when adding a new program, train users to hit Check-In always, even though the prompt is misleading.

Thanks
Thomas Titus


Keith Canniff
 

Thomas

We're still having TFS issues. Would it be possible for you to be on a teamviewer or similar session to look at what's going on? 

This is a big problem for us right now. 

Thanks 

Keith

On Thu, Aug 9, 2018, 1:09 PM ttitus_aerocontrols_com via Groups.Io <ttitus_aerocontrols_com=yahoo.com@groups.io> wrote:

Hi Keith,
You can follow these steps to duplicate the issue. Make sure that the Team Explorer desktop version loaded to monitor the status.

1. Make sure you programs repository(progs.xml) is checked in.
2. Go to program repository and try to add a new program by pressing F4.
3. A TFS prompt show up to "Adding Prg 6 to version control project"
4. Hit cancel or exit of the prompt without hitting Check-In. (You may receive some warning prompt. Click ok)
5. Switch to Team explorer and look at the source folder. You will see a small green plus (+) at the left of the prg_6.xml you added. This means the file is not in TFS yet, but only file name slot reserved.
6. Switch back to XPA and do undo on Prg 6. 
7. Team explorer remove the prg_6.xml from list, however progs.xml still have the slot. reserved. Since you cannot undo progs.xml, the check in progs.xm will keep the slot reserved.
8. The next Get Project will report that the file Prg_6.xml is not in version control. (By manually adding using team explorer will fix issue or using command line tools you need to remove the slot, if it is done by some other user and manually add the file to tfs using team explorer).

The simple solution is, when adding a new program, train users to hit Check-In always, even though the prompt is misleading.

Thanks
Thomas Titus


Andreas Sedlmeier
 

Hi Keith,

Did you install that VS patch which was discussed recently here ? https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2013-update5-vs . That contains a lot of fixes for TFS client and MSSCCI, no mater if TFS is on premise or in the cloud (as you have it asfaik).

Best regards,

Andreas


Keith Canniff
 

Andreas 

I'll check but I dont believe the patch is installed so hopefully that will help

Thanks



Sent from my T-Mobile 4G LTE Device

-------- Original message --------
From: Andreas Sedlmeier <sedlmeier@...>
Date: 8/29/18 3:38 AM (GMT-05:00)
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Issue with TFS

Hi Keith,

Did you install that VS patch which was discussed recently here ? https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2013-update5-vs . That contains a lot of fixes for TFS client and MSSCCI, no mater if TFS is on premise or in the cloud (as you have it asfaik).

Best regards,

Andreas