TFS 2010 VS2012 Get latetest version => File is corrupt, Works Ok in vs2010
-
Tuesday, September 18, 2012 3:09 PM
Have a project in VS2012 when SEVERAL users, not all users, do a get latest version on the solution they receive error:
c:\...\ somefile.cs: The downloaded file is corrupt. Please get the file again.
For a work around they are opening vs10 and doing a get latest version from the source code explorer and then working on the project in VS12.
All Replies
-
Wednesday, September 19, 2012 1:22 AMModerator
Hi chuck,
Thank you for your post.
According to your description of the issue, hope you can provide following information to help narrow down the issue.
1. Is there any detail log of the issue?
2. What's the result when get latest file again?
3. What's the version of the VS 2012, RC or RTM of the SEVERAL users?
4. What's the version of the operating system in the SEVERAL users' machine?Regards,
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
-
Thursday, September 20, 2012 1:56 PM
1. Where would any detail log be stored?
2. c:\...\ somefile.cs: The downloaded file is corrupt. Please get the file again.
3. vs12 rtm
4. win7
-
Friday, September 21, 2012 3:01 AMModerator
Hi chuck,
Would you please try to search log from local windows event log and log in TFS-AT machine, if there do existsome logs, they may help narrow down the issue.
Regards,
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
-
Tuesday, September 25, 2012 6:29 PM
Each of us is running
- Windows 7
- VS Professional 2012 Version 11.0.50727.1 RTMREL
- When get latest or get specific version at least one file will fail as corrupt
It appears I am getting event log errors from TFS as follows:
My coworker is receiving the same error message in VS but has no event log errors.
- Edited by Tonie Girl Tuesday, September 25, 2012 6:38 PM
-
Tuesday, September 25, 2012 10:54 PM
I have attempted to:
No longer getting the event log errors though.
delete my local workspace
Run a Repair on VS 2012
Clear TFS cache
Add a new workspace
Still receiving the error.- Edited by Tonie Girl Tuesday, September 25, 2012 11:25 PM
-
Wednesday, September 26, 2012 1:32 PMnothing in event log on workstation or server
-
Wednesday, September 26, 2012 3:51 PMAre you running "get latest" from the command line, since the event log is showing TFSShellExt?
Roar Jørstad aka sveroa
Senior Consultant, EVRY as
Blog: Notebook, trick & tips
Please mark as answer or helpful if my post is useful -
Wednesday, September 26, 2012 5:05 PM
No. We tried get latest => errors
We tried Advanced Get Specfic Version, Latest, Overwrite, Overwrite => errors
The later does the same as the command line.
- Edited by chuck02323 Wednesday, September 26, 2012 5:06 PM
-
Friday, September 28, 2012 5:26 AMModerator
Hi chuck,
Thank you for your post.
I am trying to involve someone to further look at this issue. There might be some time delay. Appreciate your patience.
Thank you for your understanding and support.
Regards,
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
-
Friday, September 28, 2012 1:39 PMHow long do you think it might take. Because our TFS is corrupt some users can't develop. We can't deploy any projects to production. We are pretty much dead in the water.
-
Friday, September 28, 2012 6:48 PMOwner
If you have an urgent issue of this nature it is always best to open a support case: http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone. In fact, troubleshooting this particular problem is beyond what we can do here in the forum. This will require 1:1 live support. If you cannot determine your answer here or on your own, consider opening a support case with us.
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help.
- Edited by Trevor HancockMicrosoft Employee, Moderator Friday, September 28, 2012 7:01 PM
-
Friday, September 28, 2012 7:11 PM
We opened a paid support incident a week ago. Unfortunately, they are still thinking about it. :(
If you know any way to get support from the MS TFS team or could recommend a 3rd party vendor who is smart, we could use it. All of our developers are down and we can't deploy apps. That gets real expensive real fast.
- Edited by chuck02323 Friday, September 28, 2012 7:11 PM
-
Wednesday, October 03, 2012 2:51 PM
Do you use a proxy server? If not, go to your TFS 2010 server, and find a directory like this:
C:\Program Files\Microsoft Team Foundation Server 10.0\Application Tier\Web Services\_tfs_data\
Go there, and type rd /s /q . (make sure to not delete _tfs_data itself of course).
Then try your download again - see if it works.
-
Wednesday, October 03, 2012 4:13 PMOwnerChuck, I've located your support case and am processing an escalation. In future if you have an urgent issue like this, that is costing you money and where you have developers down... please don't wait. Please explain your situation and make sure the support professional understands the gravity of the problem. We have processes in place to expedite service where it is warranted, but we need to know that it is. I've reviewed the case notes and it doesn't look like that was communicated very well, so the case was not given the heightened attention it may have warranted had we known.
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help. -
Friday, October 12, 2012 5:18 AM
Hi,
We are getting a similar issue here where can't load files from TFS2012 from a specific changeset. Visual Studio 2010 downloads the files with content from who knows where (eg it fills a .cs file with xml from some other part of the project), Visual Studio 2012 attempts to download the file then gives the same error "The downloaded file is corrupt. Please get the file again."
Looking at the file in Web Access it shows the correct versions of the file so I used that to download the 4 files that Visual studio corrupted as it downloaded, make a whitespace change to all and then checked in again. All good now but definitely a bug somehere in the Visual Studio TFS 2012 data interface methinks...
If you get an answer on this from MS on this, it would be great if you could pass it on!
Thanks
Adrian
-
Monday, October 15, 2012 3:45 PM
MS has been working on it for weeks, no solution so far.
They had a similar issue with one customer who was using some AntiVirus program I never heard of, don't remember the name. That is not our issue as even if we turn off the AV, it still occurs.- Edited by chuck02323 Monday, October 15, 2012 3:47 PM
-
Tuesday, November 06, 2012 1:41 PMI can confirm the same Problem in VS2012, with the same Work-around, which is to just do the Get Latest in VS2010. Multiple Devs with the same problem. We are connecting to a TFS2010. One additional note I may be able to add is that we have FIPS enabled at the OS level via Group Policy.
- Edited by Gary Plattenburg Tuesday, November 06, 2012 1:41 PM spelling fix
-
Tuesday, November 06, 2012 2:19 PMWe had a paid support in with MS for over a month. No real resolution. We finally gave up, got tired of talking. It is THOUGHT vs10 computed hashes of file transfers but did not use them. Sometimes hashes were wrong. VS12 uses them. Only work around seems to be do a get specific version/latest with vs10. Edit them with vs12 (add a space), then check them in.
-
Tuesday, November 06, 2012 4:44 PMOwnerChuck, please mail me directly on this ASAP: TREVORH at MICROSOFT. If you are working with Gloria, the last we head from her on this case was that the issue is no longer happening. That was Oct. 26th.
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help. -
Monday, May 20, 2013 3:27 PM
Dead in the water too.
Help~~~
-
Monday, May 20, 2013 3:41 PM
Calvin - please open a support case as Trevor explained, we can't troubleshoot this on the forum:
http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone. In fact, troubleshooting this particular problem is beyond what we can do here in the forum. This will require 1:1 live support. If you cannot determine your answer here or on your own, consider opening a support case with us.
-
Monday, May 20, 2013 4:03 PM
This is a common problem in TFS that MS knows of but chooses to or can't easily fix. Apparently the hash algorithm for files was not really used in vs10 and was not computed the same way as it is in vs12. So you need to get the file in vs10 and then change it vs12 and save it. Now the hash will be correct.
We had to do this for about 50 files.
It took over a month with:
Christopher Cooper & Trevor Hancock from Microsoft Support to find the problem, but no automated fix.
- Marked As Answer by chuck02323 Monday, May 20, 2013 4:03 PM
- Edited by Trevor HancockMicrosoft Employee, Moderator Monday, May 20, 2013 8:23 PM Removed phone and email

