SOAP Compression is not enabled

Visual Studio 2010

The information in this article applies to:

  • Visual Studio Team Foundation Server 2010

  • Windows Server 2008 

  • Application-tier server

  • Team Foundation Server Complete Health Check

  • Team Foundation Server Framework Health Check

The Best Practices Analyzer tool for Team Foundation Server generates a SOAP request and verifies whether the content-encoded response header contains "gzip," which indicates that SOAP compression is enabled.

A warning appears if SOAP compression is not enabled. Enabling SOAP compression results in moderate increases in performance for users who are accessing servers on slower connections, such as a wide area network (WAN). For team project collections that contain a large cache of work item metadata, SOAP compression can significantly decrease network traffic. Also, team members will connect more quickly to Team Foundation Server, and the metadata for work items will appear more quickly.

Required Permissions

To perform this procedure, you must be a member of the Administrators security group on the application-tier server for Team Foundation.

Log on to the application-tier server, open a Command Prompt window as administrator, and paste the following commands into it:

%windir%\system32\inetsrv\appcmd set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/soap%u002bxml; charset=UTF-8',enabled='True']" /commit:apphost 
%windir%\system32\inetsrv\appcmd recycle apppool /"Microsoft Team Foundation Server Application Pool"

Community Additions