How to switch a workspace from source to target workspace mappings without affecting the folders and files in the target workspace.

by Xavier Dilip Kumar 19. December 2013 08:02

Explanation:

A regular get operation will deleted each item in the target workspace folder and re-downloaded the folders and files from the server to target workspace folder.

Solution:

Use remap switch with tf get command

"tf get /remap"

Note: /remap switch does increase the load on server to process your request

Tags:

TFS 2010 | Visual Studio 2010 | Visual Studio 2012 | Visual Studio 2013

Can I lock folders and files in a shelveset?

by Xavier Dilip Kumar 19. December 2013 07:43

Explanation

A lock cannot exist in a shelveset, When you try to lock an item and shelve it, your lock will be removed as part of the shelve operation.

Tags:

Visual Studio 2010 | Visual Studio 2012 | Visual Studio 2013

Multiple TFS users mapping their workspaces to same folder on shared drive

by Xavier Dilip Kumar 18. December 2013 10:02

Explanation:

Multiple users mapping their workspaces to same folder on shared drive lead to conflicts in performing checkin, Checkout and "get latest" operations.

Workaround:

You can try users mapping their workspaces to different folder on shared drive.

For example

user 1 -- <Shared Drive>\User 1 Workspaces\

user 2 -- <Shared Drive>\User 2 Workspaces\

user 3 -- <Shared Drive>\User 3 Workspaces\

user 4 -- <Shared Drive>\User 4 Workspaces\

Note: Mapping the workspace to a shared drive lead to bad performance.

Tags:

Visual Studio 2010 | Visual Studio 2012 | Visual Studio 2013

How to disable the work item moving to resolved state while associating to a checkin

by Xavier Dilip Kumar 21. August 2013 20:11

Work Around

Change the following key value to “False”.

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\Behavior\@ResolveAsDefaultCheckinAction

Tags: , ,

TFS | TFS 2010 | TFS 2012 | Visual Studio 2010 | Visual Studio 2012

Unable to publish to HTML fields from Excel

by Xavier Dilip Kumar 20. August 2013 21:45

Explanation:

HTML fields are only editable in Excel when the Work item is created. After the first revision has saved you can no longer edit it in Excel.

Tags: , ,

TFS | TFS 2010 | TFS 2012

tf400731: Only one Catalog resource of type 'Project Portal' can exist under 'Team Project'.

by Xavier Dilip Kumar 20. June 2013 13:14

Solution:

1. Remove the existing portal setting for team project as shown in the screenshort
2. Execute the following command to create a team project site

TFPT.EXE addprojectportal /collection:http://<server>:<port>/tfs/<TeamProjectCollection>

* /teamproject:<TeamProject> /processtemplate:"Microsoft Visual Studio Scrum 2.2"

 

Tags: , ,

SharePoint | TFS 2010 | TFS 2012

TF250061: The following site could not be attached to Team Foundation Server: The site is already associated with a team project on an installation of Team Foundation Server with a different ID.

by Xavier Dilip Kumar 20. June 2013 05:19

Explanation:

I had this problem when I migrated TFS 2010 collection to TFS 2012 instance and having the collection online on both TFS 2010 and TFS 2012 instances in parallel.

Solution:

To fix the problem, you need to disable the team project portal links either on TFS 2010 or TFS 2012 collection --> Team projects and run the SharePoint repair on the APP TIER using TFS administration console.

 Following are the steps I followed to fix the error in TFS 2012 instance

1. Open Team Explorer in Visual Studio --> Connect to TFS 2010 instance --> Select the team project that needs the fix --> goto "Portal Settings" --> Unchecked the "Enable Team Project Portal checkbox" --> click OK

 

 

2. Login to TFS 2012 App Tier --> Open TFS Administration console --> Select "Share Point Web Applications" --> Select the SharePoint URL --> click "Repair Connection" --> Repair option

All the permissions and connections to the team projects Share point sites should succeed.

(Optional)

3. Login to TFS 2010 App Tier --> Open TFS Administration console --> Select "Share Point Web Applications" --> Select the SharePoint URL --> click "Repair Connection" --> Repair option

All the permissions and connections to the team projects Share point sites should succeed.

 

Tags: , ,

SharePoint | TFS 2010 | TFS 2012

TF14098: Access Denied User [Domain]\User needs Label permission(s) for $/Source

by Xavier Dilip Kumar 18. June 2013 20:33

 

 

Explanation
The users should have project level permission to label any folders and files in version control using visual studio IDE. The error occurs when team project does not have project users/groups permissions set at project level but its set on folders.

Solution
Add the users/groups permission at project level.

 

Tags: , ,

TFS

(QTAgent32.exe, PID 6240, Thread 16) WebLoadTestAdapter: Shutting down test due to exception: The RunDuration for the active Load Test Run Settings is 0 seconds; it must be at least 1 second

by Xavier Dilip Kumar 1. June 2013 13:24

Solution

To change run settings

1.Open a load test.
2.Expand the Run Settings folder.
3.Choose a Run Settings node.
4.On the View menu, choose Properties Window.The Properties Window is displayed and the properties for the selected run setting are displayed.
5.Use the Properties Window to change the run settings. For example, change the run duration to 00:05:00 to run your test for five minutes.
6.When you are finished changing properties, save your load test. On the File menu, choose Save.

Reference: http://msdn.microsoft.com/en-us/library/ff406976.aspx

Tags:

Web Performance & Load Tests

LoadTestAgentResultsLateException - Results from agent Test Agent were not received in time to be included in the overall results for a sampling interval

by Xavier Dilip Kumar 31. May 2013 13:10

Exception

Results from agent 'Test Agent' were not received in time to be included in the overall results for a sampling interval. To avoid this error, increase the sample rate, or decrease the load on this agent

Explanation

Sample Rate property for the load test run setting based on the length of your load test.

Solution

To specify performance counter sampling rate in a run setting

1.Open a load test.The Load Test Editor appears. The load test tree is displayed.
2.In the load test tree, in the Run Settings folder, choose the run setting that you want to specify the sample rate for.
3.On the View menu, select Properties Window.The load run setting's categories and properties are displayed in the Properties window.
4.In the Sample Rate property, enter a time value that indicates the frequency at which the load test will collect performance counter data.
5.After you have finished changing the property, choose Save on the File menu. You can then run your load test using the new Sample Rate value.

Load Test Duration - Recommended Sample Rate
< 1 Hour - 5 seconds
1 - 8 Hours - 15 seconds
8 - 24 Hours - 30 seconds
> 24 Hours - 60 seconds

Reference - http://msdn.microsoft.com/en-us/library/ff423846.aspx

Tags:

Web Performance & Load Tests

About the author

My name is Xavier Dilip Kumar Jayaraj and I am a Software Configuration Management Engineer with a background in application development, Build & packaging using Install Shield.

Profile in LinkedIn

  

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.

Month List