Team Foundation Server - Version Control ForumDiscuss Team Foundation Version Control, including branching, merging, and shelving.© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 19:16:40 Z3db1e921-db6b-4f17-b14c-339a09308c7ehttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/2f6faa6d-1c2b-408f-8ff4-6d5183b7409bhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/2f6faa6d-1c2b-408f-8ff4-6d5183b7409bmkedwardshttp://social.msdn.microsoft.com/Profile/en-US/?user=mkedwardsNeed a way to forcefully remove changeset from merge candidate list<font face=Arial> <p>When I try to discard a changeset from the merge candidate list (for merges<br>from my MAIN branch to my PRODUCTION branch), I get the error shown below:</p> <p>&gt; tf merge /discard /version:765~765 /recursive $/xyz.Portal/MAIN $/xyz.Portal/PRODUCTION<br>There are no changes to merge.</p> <p>The changeset remains on the merge candidate list.</p> <p>I have read some others posts on this forum where users have encountered the same<br>error, and the advice given has been to go ahead and try to merge the changeset and<br>deal with whatever fallout there may be.  In my case this produces an error<br>message:</p> <p>TF14087: Cannot undelete '$/xyz.Portal/PRODUCTION/Web/Modules/Desktop/BRServices/AddContact.aspx.cs' because not all of the deletion is being undeleted.</p> <p>Even if I could get past this error, I really do not want to go this route.<br>I do not want to merge this changeset.  Trust me, I have good reasons, but if <br>you need to be convinced, here is why:  The folder which contained the 30 or so<br>source files affected by this changeset was deleted from both the source and<br>target branches (and the DEV branch) over a year ago, and I definitely do not<br>want to try to re-create that folder on either branch.  Actually, it already<br>has been re-created, but it's different now ...</p> <p>All I want to do is discard the changeset from the merge candidate list.  There<br>has to be a way to force TFS to do this.  If there is no way to do it from the<br>command line (using one of the tf commands), then there must be some SQL<br>command(s) I can run directly on the SQL Server database which supports this<br>TFS project.</p> <p>Can someone tell me how to <em>forcefully</em> discard a changeset from a merge<br>candidate list?</p> <p>BTW, I'm running Visual Studio Team System 2008 (SP1).</p> <p>mkedwards<br></p></font>Wed, 25 Mar 2009 20:10:32 Z2009-11-25T19:16:40Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/1acb1dd1-ce52-40aa-951b-8a2439d63836http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/1acb1dd1-ce52-40aa-951b-8a2439d63836amir tohidihttp://social.msdn.microsoft.com/Profile/en-US/?user=amir%20tohidiStrict enforcement of comments on check-insHi<br/><br/>Is there anyway of forcing all developers to provide a comment on check-in <strong>without</strong> being able to override the policy? In other words, no comment = no check-in.<br/><br/>For your information, we use TFS 2008 SP1, but all of our clients are on Visual Studio 2005<br/><br/>Thanks<br/>AmirWed, 25 Nov 2009 15:26:23 Z2009-11-25T17:36:41Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/8b9d3833-18d3-40b0-b321-b76ca115adb6http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/8b9d3833-18d3-40b0-b321-b76ca115adb6Roee Nhttp://social.msdn.microsoft.com/Profile/en-US/?user=Roee%20NBranch force checkout of all users and workspaceI have a branch that I want to move to an Archive folder.<br/> but there are a lot of other users that still have checked out files and locked files that prevent me from changing it's name in order to move the branch.<br/> <br/> I know how to undo a checked out a file if I have the user name and the workspace (And I get those if I try to rename the branch or if I run the tf status command).<br/> <br/> but I have a LOT of owners and workspace as this is a very old branch.<br/> <br/> Is there a way I can force all of them? as going one by one, even recursively, will take me a long time.<br/> <br/> Thanks in advance<br/>Tue, 24 Nov 2009 15:55:26 Z2009-11-24T18:05:52Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/0248ab7f-ac09-433c-bd2c-4d478139fb68http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/0248ab7f-ac09-433c-bd2c-4d478139fb68bpeikeshttp://social.msdn.microsoft.com/Profile/en-US/?user=bpeikesIs a Move and rename a bad way to implement "rollback" to label?I had a main branch for a solution, let's call it SolutionBob. It sits in our TFS project space under $/ProjectBob/Main/Source/SolutionBob. A couple of months ago, we made a release from the main source and labeled it LabelA. Since the label, I changed some code in an attempt to begin a refactoring of some of the messier classes. We then needed to make a patch to the current code. I branched from LabelA to $/ProjectBob/Development/Source/SolutionBob_LabelA, and made my changes. I now want to &quot;throw out&quot; all of the changes I had made in the refactoring attempt, and make SolutionBob_LabelA our new &quot;main&quot; branch. I attempted a merge back, but I realized that all it did was bring my changes to LabelA into the mess I created in refactoring SolutionBob in the main branch. So this is what I did:<br/>Checked everything in.<br/>Moved $/ProjectBob/Main/Source/SolutionBob to $/ProjectBob/Development/Source/SolutionBob_broken_main_branch<br/>Moved $/ProjectBob/Development/Source/SolutionBob_LabelA to $/ProjectBob/Main/Source/SolutionBob<br/><br/>We will now continue to work on SolutionBob by branching from $/ProjectBob/Main/Source/SolutionBob making changes, and merging back into $/ProjectBob/Main/Source/SolutionBob.<br/><br/>Can anyone think of reasons this is a bad idea?<br/>Mon, 09 Nov 2009 22:22:10 Z2009-11-24T17:25:29Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/a8bc7cfe-cdd7-47c4-a0f7-a94aa8917d78http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/a8bc7cfe-cdd7-47c4-a0f7-a94aa8917d78Demixhttp://social.msdn.microsoft.com/Profile/en-US/?user=DemixRoll back to a file version / Delete an unwanted checked in.Hi<br><br>After checked in some files to TFS, I am lookin at one file history and would like to roll back to one of them, I was looking for 2-3 options:<br><br>1. Delete the unwanted revision and in this method rooling back to previous revision.<br>2. Merge from history revision to top of trunk and getting back a version from history to top of trunk (with full tracking - the best way in my opinion)<br>3. Rool back to a revision - move the selected revision to the top of trunk or any other solution.<br><br>What are TFS options to do that ?<br><br>Thanks,<br>Sun, 13 Aug 2006 09:48:43 Z2009-11-23T22:51:02Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/4ec92879-cbb5-48ae-a896-185aab07cd8ehttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/4ec92879-cbb5-48ae-a896-185aab07cd8eMark Demoryhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mark%20DemoryUndo locked file when tf lock, tf undo and tf workspace /delete all fail<p>We have an App.config file which was locked when a PC's hard disk had to be re-formatted.  At the same time we had to move the TFS database to a new server.<br/><br/>We have tried all suggestions we can find, but these all fail ([ws] is my shorthand for the workspace on the PC that died, [file] is my shorthand for the full pathname of the locked file, [svr] our server, etc.):</p> <ul> <li>tf lock /lock:none /workspace:[ws] [file] --&gt; fails with TF10152 (and instructions to work around that fail).</li> <li>tf undo /workspace:[ws] [file] --&gt; fails with message saying &quot;No pending changes were found for [file]&quot;.</li> <li>tf workspace /delete /server:[svr] [ws] --&gt; reported no errors, but did not fix the problem!</li> <li>Install the latest version of Microsoft Team Foundation Server 2008 Power Tools, right-click on the file in Soruce Control Explorer, select Find in Source Control, find all of them (there is only one), right click on that, select Undo... --&gt; fails with error TF50605.</li> </ul> <p>Now what?</p>Fri, 20 Nov 2009 22:36:11 Z2009-11-23T22:29:01Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/4caa7d8b-3563-4ac5-8691-e6e871b6e8a3http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/4caa7d8b-3563-4ac5-8691-e6e871b6e8a3CougarDave7309http://social.msdn.microsoft.com/Profile/en-US/?user=CougarDave7309Merge to multiple branches<p>We have multiple branches for each feature, based off our Main branch.  Features can be completed and merged onto Main at any time, at which point we build a new version of our application and release it.  We then need to &quot;blast&quot; the promoted Feature back to the other in-progress Feature branches.  Is there any merge those changes back to all branches (from Main back to the branched Features) in a single step?  Right now, it seems we have to do each branch individually because the Merge Wizard asks for a target branch.</p>Thu, 19 Nov 2009 21:50:25 Z2009-11-23T20:29:47Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d65cbd2b-61b3-4258-a5ff-7bdba1f572e1http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d65cbd2b-61b3-4258-a5ff-7bdba1f572e1Sujk2khttp://social.msdn.microsoft.com/Profile/en-US/?user=Sujk2kUnlock Command is Grayed out in Team ExplorerHi,<br/>I have Project Administrator rights for the concerned team project. I want to unlock/release files which were locked by other developers (pending change as shown in Source Control explorer is &quot;Lock, Edit&quot;). But when I right click on the respective file, the &quot;Unlock&quot; action is grayed out. Inthe Security tab for project properties, I see that my group has &quot;Unlock other users' files&quot; option Enabled. Please help in this scenario.<br/><br/>Environment info as follows:<br/>Visual Studio version: VSTS 2005 for Software Developers.<br/>Power tools: Installed power tools from MS download site for VSTS 2005.<br/>TFS server version: 2008Wed, 18 Nov 2009 19:25:52 Z2009-11-25T07:28:04Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/63fc382b-58cc-4b22-8bf1-0c435fa1da10http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/63fc382b-58cc-4b22-8bf1-0c435fa1da10KevinR1http://social.msdn.microsoft.com/Profile/en-US/?user=KevinR1Identifying my current TFS branchHello,<br/> <br/> I'd really like to be able to see, in the Visual Studio title bar, which TFS source control branch I am currently working in. I'm frequently swapping between one or two Bug fix branches and the main development branch and there is plenty of scope for error. I've used a macro to show the full file path which helps; however I'd like to be able to extract just the current TFS branch name for the solution I'm working on.<br/> How can I do this?<br/> <br/> Thanks in advance.Fri, 20 Nov 2009 14:10:20 Z2009-11-23T03:35:25Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/df19ef6e-f17d-49c5-b87f-48d2b65b7ac0http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/df19ef6e-f17d-49c5-b87f-48d2b65b7ac0Jas_2303http://social.msdn.microsoft.com/Profile/en-US/?user=Jas_2303Changed files list in TFS<p>Hi</p> <p>I want to be able to produce a distinct list of files (output to csv format) that have been changed ( i.e exclude proj files etc - for example in UI files which have status of 'Edit/Add' and not branch) for a branch/folder by user/date. I've explored Power Tools - tfpt history command and SideKicks. Both tools produce a list of <strong>all </strong>files and not only changed files.<br/><br/>Any ideas?</p>Wed, 28 Oct 2009 13:06:16 Z2009-11-21T01:59:37Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/b928e7cf-0429-4e89-ab6b-06b93fd173fahttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/b928e7cf-0429-4e89-ab6b-06b93fd173faluicsthttp://social.msdn.microsoft.com/Profile/en-US/?user=luicst[TFS2008] SOS ~ I can not check in source code<p>SOS ~</p> <p>Hostname : TFS2008  <br/>Windows 2008 x86 + SQL 2005 + Team Foundation Server 2008 Standard</p> <p>Hostname : LUDEV   <br/>Windows XP x86 + Visual Studio 2008 Team Suite + Team Explorer</p> <p><br/><a href="http://www.picfury.com/2k/img/s1-16.jpg">http://www.picfury.com/2k/img/s1-16.jpg</a></p> <p><a href="http://www.picfury.com/2k/img/s2-18.jpg">http://www.picfury.com/2k/img/s2-18.jpg</a></p> <p><a href="http://www.picfury.com/2k/img/s3-12.jpg">http://www.picfury.com/2k/img/s3-12.jpg</a></p> <p><a href="http://www.picfury.com/2k/img/s4-9.jpg">http://www.picfury.com/2k/img/s4-9.jpg</a></p> <p><a href="http://www.picfury.com/2k/img/s5-9.JPG">http://www.picfury.com/2k/img/s5-9.JPG</a></p> <p><a href="http://www.picfury.com/2k/img/s6-8.jpg">http://www.picfury.com/2k/img/s6-8.jpg</a></p> <p><br/>I can not check in source code.<br/>Where should the authority be set up ?<br/>Thank you ^ _ ^</p><hr class="sig">******************** 孔子說:問有三種 不懂則問; 雖懂而有疑惑則問; 雖懂而想更了解則問; ********************Wed, 18 Nov 2009 07:42:37 Z2009-11-20T07:39:02Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/e6b3511c-519c-4538-a4ab-14080567e2bchttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/e6b3511c-519c-4538-a4ab-14080567e2bcSvetChttp://social.msdn.microsoft.com/Profile/en-US/?user=SvetCDeleted file not showing up in history - how to restore?Hello,<br/><br/>One of our users remapped their workspace then deleted a file from their local workspace and checked it in again under the same filename, in the process completely confusing TFS. The deletion is not showing up in the history and neither is their last checkin, so we have an old version of the file in source control and nothing on the local drive. Here is the best part... we can see the file has been deleted using tf.exe but it won't undelete it. I tried checking the &quot;Show deleted files&quot; option as well. At this point is there anything else we can try short of restoring the entire TFS database from last Friday just to retrieve that one file?<br/><br/>Any ideas, suggestions or comments will be greatly appreciated!Tue, 17 Nov 2009 17:05:43 Z2009-11-20T07:26:20Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/62d8794b-aa14-48f8-9840-9aa4a9c6f69fhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/62d8794b-aa14-48f8-9840-9aa4a9c6f69fjoelv67http://social.msdn.microsoft.com/Profile/en-US/?user=joelv67Using TFS API - how to get previous version of a file given a Changeset<p>Given a changeset, I can get that changeset's version of a file. How do I get the &quot;previous&quot; version of that file using the TFS API?</p>Fri, 15 May 2009 23:20:18 Z2009-11-18T19:11:56Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/fc4e71f2-44bb-4e3c-839c-3b7c4624702fhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/fc4e71f2-44bb-4e3c-839c-3b7c4624702fRicky de Guzmanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ricky%20de%20GuzmanSourceSafe's VSSEvents equivalent in VSTSHi guys,<br/><br/>We are planning to migrate our VSS database to the VSTS. We're using VSSEvents to &quot;automatically&quot; handle the checkin/checkout events in our VSS, just to invoke another application to insert abstract file (along with the source codes) in the VSS database. Abstract files will enclose details of each project/application in the database, works like application or system requirements that we intentionally use for our software inventory.<br/><br/>My question is, is there any way for me to trap the checkin/checkout events in the VSTS lilke VSSEvents of the VSS?<br/><br/>Thanks in advance.<br/><br/>Regards and God bless!Tue, 17 Nov 2009 02:41:07 Z2009-11-18T06:46:00Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/6979448a-cba4-4abf-80b8-a72ac5a4ca7chttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/6979448a-cba4-4abf-80b8-a72ac5a4ca7cEWGoforthhttp://social.msdn.microsoft.com/Profile/en-US/?user=EWGoforthShelving files fails (perform a get operation to correct)Hello,<br/> <br/> I'm trying to shelve all my changes (with perserve pending changes locally <span style="text-decoration:underline">unchecked</span> ) so that I don't lose them when I get a changeset, since apparently that will force me to merge all my files.   <br/> <br/> It fails with the message:<br/> <br/> Download of item $/mypath/mydir/myfile.ext was not completed perform a get operation to correct.<br/> <br/> If I do a get on this item, I'm going to lose my changes to myfile.ext, which is the whole point I'm saving it to a shelveset.<br/> <br/> -EricTue, 19 May 2009 21:07:18 Z2009-11-17T16:16:47Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/01e89840-1e9d-4c5a-8049-e4949c04c609http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/01e89840-1e9d-4c5a-8049-e4949c04c609Hisham Jaberhttp://social.msdn.microsoft.com/Profile/en-US/?user=Hisham%20JaberThe project <project name> is under source control. An error occurred registering this project with source control....<p><font face="Verdana, Geneva, Arial, Sans-serif">Hello all,</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif">I came across a very weird situation that took me the whole day to figure out.  Hopefully this post will save a poor soul some time and headache.</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif">Tools &amp; Scenario:</font></p> <ol> <li><font face="Verdana, Geneva, Arial, Sans-serif">Visual Studio 2003 .NET IDE</font></li> <li><font face="Verdana, Geneva, Arial, Sans-serif">TFS Server Version Control</font></li> <li><font face="Verdana, Geneva, Arial, Sans-serif">A solution file that contains a C# Web based project; both solution and project are bound to TFS.</font></li></ol> <p><font face="Verdana, Geneva, Arial, Sans-serif">After checking-in a whole bunch of files to the web project, including the contents of an image directory, I starting getting &quot;The project &lt;project_name&gt; is under source control. An error occurred registering  this project with source control. It is recommended that you  do not make any changes to this project.&quot; whenever I open the solution file after having deleted the solution.suo file <strong>as well as </strong>the content of the project directory.</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif">I looked at the difference  between the current version of the project file and the previous version in source control and I could not find any indication of the the problem might be.  In fact, if I open the web project directly from the IDE (as compared to opening the solution file), the project opened fine.</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif">After much trial and error, I noticed that one of the file entries that I added by mistake to the project file was <font color="#ff0000"><strong>thumbs.db</strong></font><font color="#000000">; I did not add thumbs.db to TFS.</font></font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif">                <font face="Courier New, Courier, Monospace">&lt;File<br>                    RelPath = &quot;PopCalendar\Thumbs.db&quot;<br>                    BuildAction = &quot;None&quot;<br>           /&gt;<br></font><font color="#000000"></font></font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" color="#000000">As soon as I removed this file reference from the project file, things started acting normal again.</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif">I hope this post will be of benefit to someone   <img src="http://forums.microsoft.com/MSDN/images/emoticons/smile_regular.gif"></font></p>Wed, 10 Jan 2007 12:25:16 Z2009-11-17T11:05:05Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d4a4d479-5402-4829-ae26-3463b56523ffhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d4a4d479-5402-4829-ae26-3463b56523ffOlivier MATROThttp://social.msdn.microsoft.com/Profile/en-US/?user=Olivier%20MATROTIs VSSConverter 2010 migration a lossy data tranfert ?Hello,<br/><br/>Please confirm that migrating from VSS to TFS using VSSConverter 2010 is not a lossy data transfert (No data is removed from VSS Source database).<br/><br/>TIA.<br/>Olivier.Fri, 13 Nov 2009 09:42:28 Z2009-11-17T07:16:51Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/983a4e6b-f588-46a1-8eae-5bf3716fe7e3http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/983a4e6b-f588-46a1-8eae-5bf3716fe7e3Eveline VFhttp://social.msdn.microsoft.com/Profile/en-US/?user=Eveline%20VFCompare with previous versionHi, I am working with many developers, and we have many branchs.<br/>Now I try to compare one file in a changeset 3853 (Main branch) to your previous version in Main branch (changeset 3848), I like to know the differences. I am using the option &quot;Compare with previous version&quot;.<br/><br/>But using this option, the TFS compare the file in Main Brach to the previous version in another branch (changeset: 3852). In this another branch I have many developers working with a new version and I don´t want this now.  <br/><br/>If the &quot;compare with previous version&quot; don´t work in a one especific branch, how I can view the differences of one file in changeset 3853 to your previous version in the same branch?<br/><br/><br/>Mon, 09 Nov 2009 19:09:48 Z2009-11-16T05:55:17Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/edc8f3a7-cd01-41e1-a644-62382094103fhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/edc8f3a7-cd01-41e1-a644-62382094103fCR8NKhttp://social.msdn.microsoft.com/Profile/en-US/?user=CR8NKCan't check in from Solution Explorer<p>I can't check in my db scripts from solution explorer.  I can check them in from the pending changes window and from the Source Control Explorer tab but not solution explorer.  When I attempt to do it from solution explorer it freezes Visual Studio and I have to kill the process.  Anyone else have this problem?</p> <p>thanks,</p> <p>Creighton</p>Fri, 23 Mar 2007 00:28:35 Z2009-11-13T14:39:20Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/b4d07566-3b01-4db8-8fe5-e90afba67527http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/b4d07566-3b01-4db8-8fe5-e90afba67527stoffihttp://social.msdn.microsoft.com/Profile/en-US/?user=stoffiAutomatic Checkout on Build SolutionOn some of my vs solutions i have the problem that on each build visual studio makes a checkout of my solution even if i have not made any changes. <br/>I use vs 2008 sp1 and tfs 2008 sp1.<br/>Any ideas why have have this behavior?Wed, 05 Aug 2009 08:57:53 Z2009-11-13T13:51:42Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d806a63c-e4c1-4ade-b929-72d956dbe13bhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d806a63c-e4c1-4ade-b929-72d956dbe13bBill2010http://social.msdn.microsoft.com/Profile/en-US/?user=Bill2010TFS 2008 performance slows to a crawlNot sure why this has started, but TFS 2008 running on Windows Server 2003 with all SP's current has begun to slow to a crawl and taking several minutes to do basic operations, such as checking in a work item. We notice that SQL Server 2005 memory usage skyrockets, especially when doing tasks such as &quot;Get latest version&quot; on a large project.<br/><br/>Any suggestion on what might be causing this?Mon, 26 Oct 2009 19:59:11 Z2009-11-17T09:48:23Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/f6857fc3-0439-4646-80f4-0f24b20935bahttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/f6857fc3-0439-4646-80f4-0f24b20935baBill2010http://social.msdn.microsoft.com/Profile/en-US/?user=Bill2010Merge appears to be unpredictable.<p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt">We are implementing an SCM policy where offshore development is done in a branch from MAIN, which is the main control branch. We are using an Agile time-boxed development schedule and attempting to merge labeled code from the development branch back into MAIN weekly. However, we are occasionly discovering items that were modified in the branch but do not successfully merge back into MAIN, even though there is a clear difference in the code.<br/></span><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt"><br/>This, of course, can potentially be a HUGE problem if the merge failure goes undetected.<br/></span><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt"><br/>QUESTION: Is this a known problem? And, if so, what are the plans to mitigate it. And, even more importantly, what can we do NOW to get this to work?</span></p>Thu, 12 Nov 2009 19:10:49 Z2009-11-19T07:57:46Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/8d5ea160-d99f-4beb-a8fd-988e74f1486fhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/8d5ea160-d99f-4beb-a8fd-988e74f1486fLuke15612http://social.msdn.microsoft.com/Profile/en-US/?user=Luke15612TFS SQL Server timeoutsI'm seeing &quot;TF30041: The database operation exceeded the timeout&quot; errors occasionally when attempting to check things in to version control on a TFS 2008 SP1 install. Our setup also uses a mirrored data tier via transaction log shipping (in the &quot;High safety without automatic failover&quot; operating mode). What could be causing database timeouts and how can I fix this?<br/> <br/> I ran the DBCC CHECKDB command on the version control database and found no errors, but the TFS BPA found the following (company specific detail omitted):<br/> <br/> Non-paged pool memory on DT [servername] is over the warning threshold of 100 MB. This may cause system instability. Current value: 208 MB.<br/> <br/> Is it possible that this is the source of the timeouts? Or might it be a performance issue with the mirroring setup? If so how can this be addressed?<br/>Wed, 11 Nov 2009 16:33:44 Z2009-11-13T00:02:41Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/6dea88dc-8482-40f3-ab96-8db608360aabhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/6dea88dc-8482-40f3-ab96-8db608360aabOlivier MATROThttp://social.msdn.microsoft.com/Profile/en-US/?user=Olivier%20MATROTVSSConverter 2010 migration : Unable to connect to this Team Foundation Server (WRONG URL)<p>Hello,<br/>I have the following problem trying to migrate from VSS to TFS 2010 Beta2 :<br/><br/><br/>TF31002: Unable to connect to this Team Foundation Server: <a href="http://server:8080/">http://server:8080/</a>.<br/>Team Foundation Server Url: <a href="http://server:8080/">http://server:8080/</a>.</p> <p>Possible reasons for failure include:<br/>- The name, port number, or protocol for the Team Foundation Server is incorrect<br/>.<br/>- The Team Foundation Server is offline.<br/>- The password has expired or is incorrect.</p> <p>Technical information (for administrator):<br/>The request failed with HTTP status 404: Not Found.<br/><br/>Nothing new here, the correct URL to connect is  <a href="http://server:8080/tfs">http://server:8080/tfs</a>.<br/>AFAIK there is no way to way tell the converter to append &quot;tfs&quot; to the URL.<br/>I also would like to specify a team project collection.<br/><br/>TIA.<br/></p>Thu, 12 Nov 2009 13:21:43 Z2009-11-13T06:38:02Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/2d3c4a1c-9b76-4ee3-84ee-265116b7a4efhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/2d3c4a1c-9b76-4ee3-84ee-265116b7a4efsemajukhttp://social.msdn.microsoft.com/Profile/en-US/?user=semajukvssconverter : The language of Team Explorer (en-US) does not matchHi,<br/><br/>im trying to run the vss converter tool on vs2008 sp with vss2005.<br/><br/>when calling the vss converter exe i get the foolowing error message<br/><br/>Error: The language of Team Explorer (en-US) does not match with the language of installed Visual SourceSafe 2005 (). Please ensure the language of Team Explorer and Visual SourceSafe 2005 is same.<br/><br/>now i assume that the vss2005 is set to british, and understand that the problem is down to the way vss2005 stores dates but how do i get around this problem.<br/><br/>as far as i know my local machine is set to english british, and the tfs server is the same.<br/><br/>how do i check each part and change them to the correct versions<br/><br/>thanks<br/><br/>James<br/><br/>Wed, 22 Jul 2009 14:29:43 Z2009-11-12T10:33:29Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/cdc84866-60e9-4e98-be89-0df3fbed6555http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/cdc84866-60e9-4e98-be89-0df3fbed6555PhilVnewhttp://social.msdn.microsoft.com/Profile/en-US/?user=PhilVnewMigration from Accurev v4.5<p align=left><font face=Arial size=2></font> </p> <p>Hello,</p> <p align=left>Just wondering if anyone has had experience migrating from Accurev.  I have just been tasked with this and I'm looking for the best place to start.  I just started with this company and I'm not very familiar with Accurev or with TFVC for that matter.  I know the first step is to get up to speed with both and do a feature by feature comparison.  What I'm looking for is the 100,000 ft view.  Is there a conversion tool?  What will be the most likely major obstacles. etc...</p> <p align=left> </p> <p align=left>We have a large code base spaning multiple products and versions.  We utilize branching/merging extensively for parrallel development of different versions, patching etc..  I know this is not a lot of information to go on but a nudge in the right direction would be greatly appreciated.</p> <p align=left> </p> <p align=left></p>Wed, 11 Jun 2008 15:09:25 Z2009-11-11T21:25:36Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/ddb78074-4eee-4d3d-a10f-3670cf1ca994http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/ddb78074-4eee-4d3d-a10f-3670cf1ca994Cristina Lopez-Pererahttp://social.msdn.microsoft.com/Profile/en-US/?user=Cristina%20Lopez-Pereratf history filtered by date=today returns a changeset of yesterday.Today (oct 22) I haven’t made any change to the code, so If I invoke the following command I should be getting an empty result set.<br/><br/><strong>tf history</strong> &quot;/server:myServer&quot; &quot;$/myProject&quot; “/version:D2009/10/22T00:00~D2009/10/22T23:59&quot; &quot;/recursive&quot; &quot;/user:myName&quot; &quot;/format:detailed&quot; &quot;/noprompt&quot; <br/><br/>But I’m getting one changeset from yesterday. <br/><br/>If I try the same line for the past Saturday (I didn’t make changes that day either :-))  it works fine, I get an empty file. <br/>If I try it for any other day, I get correctly the changes made that day.<br/><br/>Is this a bug or the expected behavior? Am I doing something wrong?Thu, 22 Oct 2009 16:33:24 Z2009-11-11T17:04:49Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/243959b2-460b-403e-8bba-7a8e592988f1http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/243959b2-460b-403e-8bba-7a8e592988f1JayFleminghttp://social.msdn.microsoft.com/Profile/en-US/?user=JayFlemingIs it possible to get files from source as writeable using TF.exeHi all, <div><br/></div> <div>With our build currently outside of TeamBuild we use TF.exe directly to fetch our code, this currently fetches all files as Read-Only...is there any way to get all the files as Read-Write, short of doing an MSBuild Attrib on the entire (extensive) tree?</div> <div><br/></div> <div>Cheers,</div> <div>Jay</div>Wed, 11 Nov 2009 15:26:14 Z2009-11-11T16:08:32Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/015a09af-3030-4606-be37-c885ab9cc300http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/015a09af-3030-4606-be37-c885ab9cc300Carlo Macchihttp://social.msdn.microsoft.com/Profile/en-US/?user=Carlo%20MacchiRandom problems checking-in in TFS<p align=left><font face=Arial size=2></font> </p> <p>Hi! We are experiencing some kind of problem with TFS form one workstation.</p> <p align=left>When the developer tries to check-in some file he got an error like this:</p> <p align=left> </p> <p align=left><strong>Check-in: Operation not performed.<br>c:\....\somefile.vb: Please contact your administrator. There was an error contacting the server.<br>Technical information (for administrator):<br>HTTP code 200: OK<br></strong></p> <p>But if you try a couple of times, the check-in succeeds!!</p> <p align=left>The problem also occurs with check-outs </p> <p align=left>We are a team of 6 people, and this is the only wks with problems. The rest of the team is working fine.</p> <p align=left>All of us has a Win XP SP2 with similar configurations (AD policies).</p> <p> </p> <p align=left>Any idea?</p> <p align=left>Thanks, Carlo.</p>Thu, 18 Oct 2007 17:23:35 Z2009-11-11T15:30:50Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/2a1c6a8c-0a2b-460c-9335-e31598f1107bhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/2a1c6a8c-0a2b-460c-9335-e31598f1107bLordTitanhttp://social.msdn.microsoft.com/Profile/en-US/?user=LordTitanVS Reports: Checked out by someone else or in another place<p align=left><font face=Arial size=2></font> </p> <p>Hi,</p> <p align=left> </p> <p align=left>I copied my workspace local folder the other week (for backup / precautionary measure) using just a file copy. I then did a full get from the team project. Now in VS 2008 I am seeing projects that are mark with a small icon of a person instead of a padlock, indicating the file is Checkedout by someone else or in another place.</p> <p align=left> </p> <p align=left>I've used TF STATUS ..., but this doesn't report the file being checked out by anyone.</p> <p align=left> </p> <p align=left>Can anyone offer any help?</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left> </p> <p align=left>Graham</p>Fri, 25 Jan 2008 09:19:59 Z2009-11-11T15:25:34Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/b210cf09-cadf-4bb2-acc1-80f5aa943afahttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/b210cf09-cadf-4bb2-acc1-80f5aa943afaAndreas Markussen Deloitte 2009http://social.msdn.microsoft.com/Profile/en-US/?user=Andreas%20Markussen%20Deloitte%202009Developing Batch file / Windows Command files and using Source ControlHi Al,<br/>I am doing a project that depends on a high number of batch (old dos style .bat files) and I want to be able to add these to source control. <br/><br/>How should I do that?<br/><br/>br,<br/><br/>Andreas<hr class="sig">Andreas MarkussenWed, 11 Nov 2009 10:57:21 Z2009-11-16T17:40:51Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/fe3b96fc-fb54-4e9b-b29c-974903be2cbbhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/fe3b96fc-fb54-4e9b-b29c-974903be2cbbAvi.harushhttp://social.msdn.microsoft.com/Profile/en-US/?user=Avi.harushProblem with shelving<P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I've encountered a small problem with shelving.</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Here's a scenario</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN>I&nbsp;</SPAN>Am working with studio 2003 and using TFS as source control .</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a console app project with 1 class (Class1)</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Lets say I add a new class (Class2) and then check in class2. Now ,I open the class for edit and do some code.</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I then do shelve to the entire project . after that I undo changes in order to get back to the last checked in version.</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The problem is that the "Undo check in" removes the Class2 from the project . This is normal behavior but why is that when I do UnShelve to the project from TFS I still see Class2 .</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The UnShelve gets back the changes I did in other classes but the Class2 is gone for good.</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I would expect either to get an alert about the class that will be lost or that the unshelve to attach back the file to the project</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Avi</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P> <P class=MsoNormal dir=ltr style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></P>Sun, 02 Apr 2006 10:14:54 Z2009-11-11T09:07:46Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/7ebe29b5-ed1e-4d12-b9ee-535dc6eb467chttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/7ebe29b5-ed1e-4d12-b9ee-535dc6eb467cmoshe800http://social.msdn.microsoft.com/Profile/en-US/?user=moshe800TF30041: Team Foundation Server could not connect to the database hi ,<br><br>TFS 2005 SP1  since sunday i view error message on Cleint side TF30041  and can view the souce control<br> on the server it using the VS client i cna view all source control , on the server  i get event 605 :<br> <p style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left"><span style="font-size:8.5pt;font-family:'MS Shell Dlg','sans-serif'">Attempt to fetch logical page (1:5610460) in database 13 failed. It belongs to allocation unit 72057594045071360 not to 72057594044350464.</span></p> <p style="margin:0cm 0cm 0pt;direction:ltr;unicode-bidi:embed;text-align:left"><font face=Calibri>I run DBCC CHECKDB on all TFS DB and found errors on Tfsversioncontrol DB, please note that TFS</font></p><span style="font-size:11pt;font-family:'Calibri','sans-serif'">BPA shows no  errors so as SQL BPA, and the VS2005 client on the server in opening the source control fine with no errors, so as web Client (Team Plan), is it  SQL server time out issue ?<br><br>thanks<br><br></span><br><br><hr class="sig">moshe800Mon, 01 Dec 2008 07:41:10 Z2009-11-11T00:27:40Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/4deb7169-2da7-405a-97e1-9e4da753320chttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/4deb7169-2da7-405a-97e1-9e4da753320cWilliam Randlett GFSIhttp://social.msdn.microsoft.com/Profile/en-US/?user=William%20Randlett%20GFSIFile Date in TFS-VC Update for 2010?Dave Novak asked a question about the file timestamp when checking out from TFS (<a href="http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/09a60b9f-a53a-465a-b4f7-f6d4fffb8ab7/">http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/09a60b9f-a53a-465a-b4f7-f6d4fffb8ab7/</a>), regarding the ability to have the timestamp of when the file was last modified, rather than the timestampl of when it was checked out. Is there an update to this question for TFS 2010?<br/><br/>The lack of this feature will prevent us from adopting TFS because we have this feature in StarTeam and it is necessary for our version validation logic. Some 3rd parties do not put reliable version numbers in their binaries, so we have to rely on the timestamp of the file in order to determine if the correct version is available. Hey, I don't like it either, but that's what we've got to work with. Besides, if you have to pick only one timestamp to use for a checked out file, it seems to me that the time of checkout would be the least desireable...Tue, 10 Nov 2009 01:33:22 Z2009-11-16T05:56:04Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/75e92550-2bc8-4f03-b63f-62174451fbddhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/75e92550-2bc8-4f03-b63f-62174451fbddJollyDManhttp://social.msdn.microsoft.com/Profile/en-US/?user=JollyDManHow do i stop it from overwriting changes when merging<div>I have a *.csproj file</div> <div><br/></div> <div>I merge from Branch A to Branch B (&quot;Merge&quot;) (no change)</div> <div>I then merge the Merge Branch B to Branch C (&quot;Merge&quot;)</div> <div><br/></div> <div>It overwrites the changes on Branch C.</div> <div><br/></div> <div>There was no prompt, no conflict and no edit.</div> <div><br/></div> <div>I checked and this was the only changeset after the branch was created</div> <div><br/></div> <div> <div>The only reason i caught this is because i tried to do a compile after the merge and it failed.</div> <div><br/></div> <div>But i don't know for how long TFS has been doing this.</div> </div>Tue, 10 Nov 2009 09:31:03 Z2009-11-12T09:21:44Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/0ac7cee5-a653-4519-9c33-982c12fce7efhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/0ac7cee5-a653-4519-9c33-982c12fce7efNick McCreadyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick%20McCreadyTFS Error 2945 Files will no longer Auto Checkout<span class=Apple-style-span style="color:rgb(8, 8, 8);font-size:13px"><br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font size=2 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">I am having a serious problems with Visual Studio with a new TFS project that I have downloaded. I was constantly getting an error when I went to modify a projects file's properties in VS 2008 SP1. I uninstalled all plugins ( seems to be a common issue with VS 2008 SP1 ) . I have deleted all of the source code only to get the same issues when downloaded again. I have also deleted and redownloaded the workspace with no change with the following error.</font><font face="'Times New Roman', serif" size=3 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"></font></p><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><br></p><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px">This problem seems to be directly related to the fact that automatic checkout no longer works for me in TFS. FYI, I have checked and re-checked the Options for auto checkout. I have also disabled and reenabled with no luck.</p></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font face="'Times New Roman', serif" size=3 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"> </font></p></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font size=2 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">The error I keep receiving is (this happens when I try to modify a project that fails to checkout) :</font><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font face="'Times New Roman', serif" size=3 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"></font></font></p></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font face="'Times New Roman', serif" size=3 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font class=Apple-style-span face=Verdana style="font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">&quot;Unexpected error encountered. It is recommended that you restart the application as soon as possible.&quot;</font><font class=Apple-style-span face="'Times New Roman'" style="font-size:16px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"> </font></font></font></font></p></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font size=2 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">Error: The parameter is incorrect.</font></font><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font face="'Times New Roman', serif" size=3 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"></font></font></p></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font size=2 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">File vsee\pkg\vssproviderstub\cqueryeditquerysaveinterfaces.cpp</font></font><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font face="'Times New Roman', serif" size=3 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"></font></font></p></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font size=2 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit"><font class=Apple-style-span style="color:rgb(204, 0, 0);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">Line number: 2945</font></font></p><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font class=Apple-style-span style="font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">///////////////////////////////////////////////// This was a temporary fix that seems to no longer work.</font></p><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font class=Apple-style-span style="font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">So the fix I figured out was to go to File-&gt;SourceControl-&gt;Change Source Control</font></p><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font class=Apple-style-span style="font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">I proceeded to unbind all projects, and then rebinded them. After that I selected undo all changes for the entire workspace. Once that was done I started getting normal TFS VS 2008 SP1 behavior back. </font></p><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px"><font class=Apple-style-span style="font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit">I hope this saves someone else some time.</font></p><p class=MsoNormal style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;font-family:inherit;margin-top:0px;margin-right:0px;margin-bottom:1em;margin-left:0px">//////////////////////////////////</p></div></div></span> Mon, 27 Oct 2008 19:18:37 Z2009-11-10T15:44:48Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/42291486-e9d7-477b-a063-a9efc3ce9feehttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/42291486-e9d7-477b-a063-a9efc3ce9feenateohttp://social.msdn.microsoft.com/Profile/en-US/?user=nateoHow to programmatically check for latest on a perticular branch<p><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">When working in the Source Control Explorer window there is a column (when I select a particular branch) label 'Latest'.  This seems to be Yes or No field indicating whether the latest version is in your local workspace.  Any ideas on how to programmatically check that field for a particular branch?  I'm able to query other items in tfs but this one eludes me.  Been able to find anything with internet search engines.</span></p>Mon, 09 Nov 2009 21:53:30 Z2009-11-10T18:20:55Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/39ec4814-96c8-4187-aa08-751882ede822http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/39ec4814-96c8-4187-aa08-751882ede822bpeikeshttp://social.msdn.microsoft.com/Profile/en-US/?user=bpeikesMerge does not appear to do what I thought it wouldI have a main branch, which I had labeled at some point, let's call it LabelA. I continued to do some work, accidentally on the main branch, most of which I wanted to throw out. I performed a branch from the LabelA to a new location, let's call it SolutionBob_LabelA. I made some changes at SolutionBob_LabelA and then attempted a merge back into SolutionBob. A file, let's call it FileC.cs, was changed in SolutionBob since LabelA. Is there anyway to &quot;merge&quot; back in files I haven't changed in SolutionBob_LabelA. Basically, I want the main SolutionBob to look like SolutionBob_LabelA after I made some changes. This would mean &quot;rolling&quot; back all of the files in SolutionBob to the label point LabelA and applying the changes I made in SolutionBob_LabelA. How would you go about doing that?<br/>When I try to merge FileC.cs back, it says that there is nothing to merge, which I sort of understand, since I didn't make any changes to it in the branch.Mon, 09 Nov 2009 21:57:15 Z2009-11-09T23:01:58Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/8efbcd38-bac3-428c-87f9-e1fac2aa2857http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/8efbcd38-bac3-428c-87f9-e1fac2aa2857Taurinhttp://social.msdn.microsoft.com/Profile/en-US/?user=TaurinBranching a SQL 2008 Project with MSSCCI 2008 (2.1)I have a SQL project/solution that I have added to source control (TFS 2008) through SQL Management Studio 2008.  This works fine until I try to branch the project.  When I do that, very strange things happen, such as checking out a file on the new branch causing the file on the main branch to be checked out instead.  When I look at the solution and project files in notepad, I notice they specify the SccProjectName as the full path in TFS to the main branch ($/Sql/MainBranch).  I assume this is why the confusion happens.  Is there an update I don't have or a different way to branch?Thu, 05 Nov 2009 20:15:41 Z2009-11-13T02:35:06Zhttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/db03b760-0bd3-4564-97f0-0ff2cb6236fahttp://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/db03b760-0bd3-4564-97f0-0ff2cb6236faRama2007http://social.msdn.microsoft.com/Profile/en-US/?user=Rama2007TFS 2008 sp1 Slow with Visual studio 2008 dev editionHi, I'm using Visual studio team system 2008 dev edition with TFS 2008 SP1. Whenever developer connected and launch the application, it's extreamly SLOOOOOOOOW. it's taking 50-60 seconds to get the 1st page rendered. why?? however, if I'm not connected physicall to TFS server, it's very fast (e.g. 1st page will appear in &lt; 5 seconds).. Any idea?? during that period, eventhough the CPU utlization is &lt; 10%, it's just wait for whatever reason i don't know...<br/><br/><br/>I went thru the url and <a href="http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/7b708830-3c0e-4501-9ff3-3b9a183bef41">http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/7b708830-3c0e-4501-9ff3-3b9a183bef41</a>  and already updated <span style="font-size:x-small;font-family:Arial">VS90-KB947751.exe but still very slow.... why? any suggestions??</span>Mon, 02 Nov 2009 09:02:25 Z2009-11-09T02:03:08Z