Udostępnij za pośrednictwem


How to: Set the Maximum Attachment Size for Work Items

You can use the built-in Web services to set the maximum attachment size for work items.

Required Permissions

To perform this procedure, you must be a member of the Administrators group on the Team Foundation application-tier server. For more information, see Team Foundation Server Permissions.

To set the maximum attachment size for work items

  1. In Internet Explorer, open the following URL:

    http://<tfsserver>:8080/WorkItemTracking/v1.0/ConfigurationSettingsService.asmx?op=SetMaxAttachmentSize

    where <tfsserver> represents the name of the Team Foundation Server.

    Note

    Even if you are logged on with administrative credentials, you must start Internet Explorer as an administrator to perform this function on a computer that is running Windows Server 2008 or Windows Vista. To start Internet Explorer as an administrator, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator. For more information, see the Microsoft Web site

  2. In the maxSize box, enter the maximum attachment size in bytes, and then click Invoke. The maximum attachment size is 2 gigabytes.

See Also

Concepts

Setting a Size Limit on Attachments

Other Resources

Managing Configuration Settings for Team Foundation Server