Udostępnij za pośrednictwem


Global Web.Config File Settings in Team Foundation Server Components

This topic describes the configurable settings in the Team Foundation Server global web.config file. While changing the values in the global web.config file will alter some of the configuration settings for Team Foundation Server, it will not necessarily change the information in all places required for a successful configuration change. Configuration information for Team Foundation Server is stored in the web.config files and other locations. For more information about how and where Team Foundation Server stores configuration information, see Team Foundation Server Security Architecture. For a general procedure that describes how to access and change these settings, see How to: Change Configuration Settings for Team Foundation Server Components.

Global Web.Config Settings

Setting

Description

sqlTimeout

This setting is a numeric value that represents the time-out length in seconds for all SQL commands.

commandLogging

This setting is a string that is used to specify Web Service Method logging behavior. Valid values are as follows:

None   Web methods are never logged.

OnError   Web methods that experience errors are logged.

ReadWrite   Web methods that change databases are logged.

Normal   As ReadWrite, plus Web methods that do not change databases are logged.

LightWeight   As ReadWrite, plus Web methods that have minimal database access are logged.

All   All Web methods are logged, plus Web Service Method request details are always included when available.

The default value is Normal.

TfsNameUrl

This setting is the URL for the application-tier server and is used by all Team Foundation Server Web services to locate the other Web services that are running on the computer by using the Services\registration.asmx Web service.

Caution noteCaution:
This setting should not be changed.

TFS Name

This setting is a string that represents the name of the application-tier computer.

This setting should not be changed.

TfsUrlPublic

This setting represents the Internet URL used to construct the full URL for artifact retrieval, such as work items and appears in project alert e-mail notifications.

traceWriter

This setting is a Boolean value that determines whether tracing is on or off. Set this value to true to capture tracing to a file. The trace switches in the system.diagnostics section of the web.config file govern the types and amount of information collected. For more information, see Enabling Trace for Team Foundation Server Components.

NoteNote:
Enabling tracing creates additional run-time demands and will increase processor and I/O usage on the application tier.

traceDirectoryName

This setting is a string value that represents the folder location for the trace files.

See Also

Tasks

How to: Change Configuration Settings for Team Foundation Server Components

Other Resources

Enabling Trace for Team Foundation Server Components

Managing Configuration Settings for Team Foundation Server

Change History

Date

History

Reason

Corrected default value for commandLogging.

Customer feedback.