Value does not fall within the expected range
- We are running TSWA on TFS 2008. It has been working fine, but recently has started throwing a wierd "Value does not fall withing the expected range" error whenever anyone tries to log in. THis is not a particularly helpful message... i.e., what "value" is it referring to.
Any suggestions on where to look and/or how to fix this error?
EDIT: ===========================================================================
Also, this just occurred. This time I got the following exception when attempting to access TSWA:
Server Error in '/' Application.
Value does not fall within the expected range.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Value does not fall within the expected range.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Value does not fall within the expected range.] Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.HandleComException(Int32 hr) +98 Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.get_RootNode() +279 Microsoft.TeamFoundation.WorkItemTracking.Client.ProjectCollection..ctor(WorkItemStore store) +39 Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.get_Projects() +81 Microsoft.TeamFoundation.WebAccess.TfsConnection.GetProject(String projectName) +27 Microsoft.TeamFoundation.WebAccess.TfsConnection.InitProject() +154 Microsoft.TeamFoundation.WebAccess.TfsConnection.get_CurrentProject() +16 Microsoft.TeamFoundation.WebAccess.TfsConnection.GetActiveTabs() +12 Microsoft.TeamFoundation.WebAccess.UI.Controls.PageHeader.RenderTabs(String activeTab) +182 Microsoft.TeamFoundation.WebAccess.UI.Masters.Content.RenderPage() +437 Microsoft.TeamFoundation.WebAccess.UI.WebAccessPageMaster.OnLoad(EventArgs e) +22 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Answers
Hello Bill,
Thanks for reporting this issue.
This is a known issue which is caused by the work item cache being corupted.
Please perform the following actions to fix:
1. Refresh TeamPlain's cache
2. Delete folder in TFS server C:\Users\APPPOOL IDENTITY\AppData\Local\Microsoft\Team Foundation\2.0\Cache
3. Recycle app pool in both TFS server and TeamPlain serverHope it helps.
Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byBill2010 Monday, October 26, 2009 2:15 PM
All Replies
Hello Bill,
Thanks for reporting this issue.
This is a known issue which is caused by the work item cache being corupted.
Please perform the following actions to fix:
1. Refresh TeamPlain's cache
2. Delete folder in TFS server C:\Users\APPPOOL IDENTITY\AppData\Local\Microsoft\Team Foundation\2.0\Cache
3. Recycle app pool in both TFS server and TeamPlain serverHope it helps.
Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byBill2010 Monday, October 26, 2009 2:15 PM
- Thank you. Unfortunately, I am running this on Sql Server 2003, so it took me a bit to find the location of the cache, which is not under "Users". However, that did clear the problem once I located it.


