Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

TFS 2010: error in SharePoint Portal webparts


View products that this article applies to.

Symptoms

Team Web Access (TWA) 2010 webparts installed as part of Team Foundation Server (TFS) 2010 and displayed on SharePoint Project Portal pages associated with TFS Team Projects display the following error:


Value does not fall within the expected range


This error occurs instead of displaying the expected list content (such as workitem, build and source control information).


↑ Back to the top


Cause

This problem may occur if the TFS client cache used by SharePoint becomes corrupt or damaged.


↑ Back to the top


Resolution

To resolve this problem, take the following steps:

  1. Delete the contents of the Cache folder. The cache folder's location is specified in the main SharePoint web.config file as an application setting with key WorkItemTrackingCacheRoot. If this information is missing, the default location is under \ProgramData\Microsoft\Team Foundation\Web Access.
  2. After deletion the next reload of the TFS Project Portal page should rebuild this cache and restore the expected display of the TWA webparts.

If there is a significant amount of cached data, which can occur if there are a large number of TFS Team Projects or users, the subsequent first page- load attempt may report a timeout error. If this occurs, the timeout and executiontimeout values in the web.config file for the root SharePoint site should be increased to allow for complete cache regeneration. 

More information about Timeout settings in SharePoint is available in the following article:

925083 Error "Request timed out" when you try to upload a large file to a document library on a Windows SharePoint Services 3.0 site
http://support.microsoft.com/kb/925083/EN-US



↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2752260
Revision : 1
Created on : 1/7/2017
Published on : 9/6/2012
Exists online : False
Views : 334