Exposing TFS 2010 (Beta 2+) to the Internet

Hi all,

I've recently put together a document about how to expose TFS 2010 (Beta 2+) to the Internet. If interested, take a look through it and let me know what you think (positive or negative). Note: This document does not apply to Beta 1.

EDIT: Updated the document to incoperate feedback.

Thanks,

--Aaron

For TFS 2010 Beta 1, Resolving TF31001 "The ServicePointManager does not support proxies with the https scheme."

Recently, we’ve noticed a number of Team Explorer 2010 Beta 1 users are encountering the following error while attempting to connect to a HTTPS TFS server:

TF31001: Cannot connect to Team Foundation Server at xxx.com. The server returned the following error: The ServicePointManager does not support proxies with the https scheme.

This problem appears to be related to our decision to switch the default behavior of the BypassProxyOnLocal setting.  The BypassProxyOnLocal setting indiciates whether the proxy server should be bypassed for local addresses. (Local requests are identified by either the lack of a period [such as http://webserver] or those that are talking to the local server [such as http://localhost or http://127.0.0.1]). If true, the local requests bypass the proxy; otherwise, if false, all Internet requests are made through the proxy server.

In TFS 2008, the default value for BypassProxyOnLocal was false. This changed in 2010. Setting BypassProxyOnLocal to true improves the performance of the initial connection and resolves a performance problem experienced by some customers. So, unless you are reciving this error, you should not change the value of BypassProxyOnLocal.

If you are receiving the TF31001 error, you should be able to resolve this issue by running the following commands:

On all machine:

reg add hklm\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False

reg add hklm\SOFTWARE\Microsoft\TeamFoundationServer\10.0\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False

Additionally on a 64-bit machine:

reg add hklm\SOFTWARE\Wow6432Node\Microsoft\TeamFoundationServer\10.0\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False

reg add hklm\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\TeamFoundation\RequestSettings /v BypassProxyOnLocal /t REG_SZ /d False

 

 --Aaron

 

Posted 20 May 09 04:48 by Aaron.Block | 7 Comments   
Filed under ,
Upgrading to TFS 2008 and Changing Servers

Hi All,

 I've written a post on the TFS admin & Ops site on  how to upgrade to TFS 2008 while changing servers that might be helpful, http://blogs.msdn.com/tfsao/archive/2009/04/20/upgrading-to-team-foundation-server-2008-while-changing-servers.aspx

 

--Aaron

Posted 20 April 09 10:47 by Aaron.Block | 1 Comments   
Filed under
Moving Servers in TFS

I’m currently putting together a series of blog posts that describe the most common team foundation server (TFS) moves. You can find the intro to this series, called “Server Change We Can Believe In” here: http://blogs.msdn.com/tfsao/archive/2009/02/20/server-change-we-can-believe-in.aspx and the index here: http://blogs.msdn.com/tfsao/archive/2009/02/20/index-of-server-moves.aspx

 

--Aaron

 

P.S. I had a hard time choosing between titling the series “Server Change We Can Believe In” or “Maverick Moves”

 

Posted 20 February 09 01:08 by Aaron.Block | 0 Comments   
Filed under ,
TFS & Hyper-V

Hi all,

If you are interested in learning more about using TFS for Hyper-V. I've made a post at the TFS A&O blog. Enjoy

 http://blogs.msdn.com/tfsao/archive/2009/02/03/hyper-v-and-tfs.aspx

--Aaron

Posted 03 February 09 10:01 by Aaron.Block | 0 Comments   
Filed under , ,
TFSDeleteProject MSDN Paper

For the past little while, I've been gathering information together about the behavior of TFSDeleteProject. Earlier today, we put the finishing touches on this document, and now it's been published to MSDN. So, if you would like to know all about the behavior of TFSDeleteProject (including how to resolve failures and exactly what data is deleted by TFSDeleteProject), follow this link to find out more.

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

If you have any questions, feel free to post them in the comments section.

 --Aaron

Posted 29 October 08 05:20 by Aaron.Block | 0 Comments   
Filed under ,
Setting the properties “Log on as a Service” and “Allow Log on Locally.”

One question that new users often have when installing TFS is “How do I set the properties Log on as a Service and Allow log on locally for an account?”

 

Both of these properties can be found by following the subsequent steps

1.       Open Administrative Tools  (either in the start menu or control panel).

2.       Click on Local Security Settings.

3.       Open the folder Local Policies.

4.       Click on the folder User Rights Assignments.

5.       In the right-pane, double-click on Log on as a Service or Allow log on Locally.

6.       Click on Add a User or Group.

7.       Fill in the appropriate information.

Posted 18 September 08 09:21 by Aaron.Block | 1 Comments   
Filed under ,
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).

Posted 16 September 08 02:43 by Aaron.Block | 1 Comments   
Filed under ,
Introduction

Hello,

 

I am Aaron Block! I recently acquired my Ph.D. in computer science from the University of North Carolina at Chapel Hill. (For those of you that need a sleep aid, you can download my dissertation at http://www.cs.unc.edu/~anderson/diss/blockdiss.pdf.) Now, I am a program manager (PM) for the team foundation server (TFS) group here at Microsoft. In this blog, I plan to discuss tips for improving TFS’s performance, descriptions of the structure of TFS, and research that relates to TFS.  

 

Enjoy,

Aaron

Posted 16 September 08 02:21 by Aaron.Block | 1 Comments   
Filed under

Search

This Blog

Syndication

Page view tracker