Error occured running test. Exception of type "System.OutOfMemoryException" was thrown.

by Xavier Dilip Kumar 15. May 2013 13:38




Web Performance & Load Tests

First step to recover from VS – TFS performance issues

by Xavier Dilip Kumar 6. February 2013 07:07


Perform the following cache clean steps when you see VS – TFS performance issues


TFS client cache clean up steps:

  • Close all Visual Studio IDE instances
  • Close browser or excel instances connected to TFS  
  • For Windows XP, delete all content under:

                C:\Documents and Settings\[USER]\Local Settings\Application Data\Microsoft\Team Foundation\

  • For Windows 7 or newer, delete all content under:

                C:\Users\[User]\AppData\Local\Microsoft\Team Foundation\


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

TFS Date & Time field

by Xavier Dilip Kumar 3. February 2013 19:09


TFS store date & time as the UTC time in DB to work across the regions. Visual Studio will translate the date to the time zone of the client but Web Access follows the server time zone setting by default




The performance counter category ‘Memory’ cannot be accessed on computer ‘COMPUTER1’ (Timed out trying to read performance counter category ‘Memory’ on computer ‘COMPUTER01’); check that the category and computer names are correct.

by Xavier Dilip Kumar 15. January 2013 11:59


Performance Monitor Security settings

The test controller account must be in the Performance Monitor Users group of all machines performance data will be read from. User who is trying to access performance data (locally/remotely) should be part of  ”Performance Monitor Users” and “Performance Log Users”. If there are not much security concerns make the user part of Local “Administrators” group which will ensure full access on the machine.

Load test timeout settings
If permission levels are all fine. But still you are still running into the same issue. That means you have to set load test’s performance counter initialization time out settings. But where to do that? as there is no provision to do it though VS IDE. For that you have to do some manual configurations in load test’s hosting process’s configuration file. Now this configuration file is different for VS 2008 and VS 2010. Following are the details on that.
For Visual Studio 2008, open the file VSTestHost.exe.config in the folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
For Visual Studio 2010, open the file Devenv.exe.config in the folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
AND then add following entries to it. That will solve the timout issue.
      <add key=”LoadTestCounterCategoryReadTimeout” value=”60000″/>
      <add key=”LoadTestCounterCategoryExistsTimeout” value=”60000″/>


Web Performance & Load Tests

A hotfix that can reduce the size of the test data saved to the TFS database

by Xavier Dilip Kumar 17. December 2012 19:16

Tags: ,

TFS 2010

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

by Xavier Dilip Kumar 8. September 2012 20:14



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.

Add the users/groups permission at project level.


Tags: , ,


MTM.exe stopped working

by Xavier Dilip Kumar 20. August 2012 18:58


Delete TeamTest folder under C:\Users\%username%\AppData\Local\Microsoft


TFS | TFS 2010 | Visual Studio 2010

Unable to find appropriate display filter for file extension ".docx". Add a mapping into MimeMap.XML file under App_Data folder.

by Xavier Dilip Kumar 10. August 2012 20:33


Expected behavior in TFS web access as there are no display filter for MS office files. There are only three default display filters configured to open plain text (.CS, .proj etc.) and images on the browser. The display filter is used to display files on the web page. For the other kind of files, TFS web access cannot display them in the web page, instead it provides link for user to download it.


MimeMap.XML location: C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web\App_Data

    <Extension name=".doc" content-type="application/msword"/>
    <Extension name=".pptx" content-type="application/"/>
    <Extension name=".pps" content-type="application/"/>
    <Extension name=".pdf" content-type="application/pdf"/>
    <Extension name=".docx" content-type="application/msword"/>


Tags: , ,


Error 0x800700DF: The file size exceeds the limit allowed and cannot be saved.

by Xavier Dilip Kumar 28. June 2012 18:37


Increase the SharePoint Upload Limit via Central Administration

Open Central Administration --> “Manage Web Applications” --> Select desired web application row (don’t click on the title, just select) --> 
“General Settings” in the ribbon --> Under Maximum Upload Size, change the setting to the desired value (e.g. 150 MB) --> “OK”


If the problem still exist, Apply the following settings in your local box from where you are trying to upload/download the files

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
3. In the right pane, right-click the FileSizeLimitInBytes value, and then click Modify (Note: If you cannot see the FileSizeLimitInBytes value,
right-click the blank space in the right pane, click New, click DWORD Value, type FileSizeLimitInBytes, and then click OK).
4. In the Edit DWORD Value box, click to select the Decimal option. In the box under Value data, type a value that is larger than the size of the file that you want to download. Click OK. (Note The default value for the file size limit is 50000000 bytes.)
5. Quit Registry Editor. Restart the box.

Tags: , ,


TF203028: You cannot create a branch at $/PATH1/PATH2 beacuse a branch already exists at $/PATH1

by Xavier Dilip Kumar 8. June 2012 19:50

A delete action (from the Source Explorer) does a delete but the complete history remains including the previous branch and that is the reason you are not able to branch (without destroying that specific folder).

If you want to Branch again to the same location you will have to destroy the folder

tf destroy $/PATH1/PATH2 /Collection:http://tfs:8080/tfs/DefaultCollection



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


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