Increasing the Time-Out Time

One of the main reasons why client-issued web calls fail in TFS is that the system time-outs. It is important to note that, the time-out time is designed to prevent the UI from being locked out forever. Changing the time-out time by the method described in this post will increase the time-out time for every web call. So, it is generally a good idea to return the time-out time back to its default value after changing. (The default time is 10 min.)

 It is possible to increase the time-out time by following the subsequent steps (all taken on the client machine):

1.       Open the registry editor (go to start menu and in the run dialogue type regedit).

2.       If you are on a 32-bit machine, then navigate to the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\TeamFoundation\RequestSettings. Alternatively, if you are on a 64-bit machine, then navigate to the key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\TeamFoundation\RequestSettings.

a.       If TeamFoundation\RequestSettings does not exist, then right-click on the TeamFoundations key.

b.       Chose to create a new key.

c.        Name the key RequestSettings.

3.       Change the value of DefaultTimeout to the new time-out time (the time is in milliseconds).

a.       If DefaultTimeout does not exist, then right-click on the key RequestSettings.

b.       Choose to create a new DWORD.

c.        Once DefaultTimeout exists, right-click on it and choose modify, and enter the new time (in decimal).

Published 16 September 08 02:43 by Aaron.Block
Filed under: ,

Comments

# ElBruno said on September 16, 2008 3:15 PM:

Really cool information ... :D

Anonymous comments are disabled

About Aaron.Block

I am a new PM in the Team Foundation Server group here in Raleigh, North Carolina. I recently graduated from the University of North Carolina at Chapel Hill (UNC) where I received both a Ph.D. and a Masters in Computer Science. Prior to enrolling at UNC, I received a B.S. in Math and Computer Science at Haverford College in Haverford, PA.

Search

This Blog

Syndication

Page view tracker