locked
Error while creating query in TWA

    Question

  • While trying to create a new query trough the TWA interface for any project for any user TWA will create an exception like this.

    <detail ExceptionMessage="TF51535: Missing or unsupported field name."><details id="0" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" /></detail>
    UserControl: [Error, P 22392, T 24868/3, A 25972897, S 0, 9/9/11 11:07:40.734] { Error occured in user control ASP.ui_controls_workitems_query_querysave_ascx. Url: /tfs/web/UI/Pages/WorkItems/QuerySave.aspx?name=New%20Query%204&path=NISpVU%2FMy%20Queries&pguid=5e91539f-44e1-41bb-8699-02cc810ea4d6&time-stamp=1315566460489
    
    
    UserControl: [Error, P 22392, T 24868/3, A 25972897, S 0, 9/9/11 11:07:40.821] Exception: {
    Exception Message: There is a problem on the server. Contact your Team Foundation Server administrator. (type UnexpectedErrorException)
    
    Exception Stack Trace:    at Microsoft.TeamFoundation.WorkItemTracking.Client.QueryHierarchy.UpdateQueries(Boolean refresh)
       at Microsoft.TeamFoundation.WorkItemTracking.Client.QueryHierarchy..ctor(Project project)
       at Microsoft.TeamFoundation.WorkItemTracking.Client.QueryHierarchyProvider.GetQueryHierarchy(Project project)
       at Microsoft.TeamFoundation.WorkItemTracking.Client.Project.get_QueryHierarchy()
       at Microsoft.TeamFoundation.WebAccess.UI.Controls.QuerySave.PopulateQueryFolders()
       at Microsoft.TeamFoundation.WebAccess.UI.Controls.QuerySave.RenderUserControl()
       at Microsoft.TeamFoundation.WebAccess.UI.WebAccessUserControl.OnLoad(EventArgs e)
    
    Inner Exception Details:
    
    Exception Message: TF51535: Missing or unsupported field name. ---> TF51535: Missing or unsupported field name. (type SoapException)SoapException Details: <detail ExceptionMessage="TF51535: Missing or unsupported field name."><details id="0" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" /></detail>
    
    Exception Stack Trace:    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientServiceProxy2.GetStoredQueryItems(Int64 rowVersion, Int32 projectId)
       at Microsoft.TeamFoundation.WorkItemTracking.Proxy.WorkItemServer.GetStoredQueryItems(String requestId, Int64 rowVersion, Int32 projectId, RowSetCollection& queriesDataSet)
       at Microsoft.TeamFoundation.WorkItemTracking.Client.QueryHierarchy.UpdateQueries(Boolean refresh)
    
    }
    UserControl: [Error, P 22392, T 24868/3, A 25972897, S 0, 9/9/11 11:07:40.821] }
    Application_Request: [Info, P 22392, T 24868/3, A 25972897, S 0, 9/9/11 11:07:40.826] Application request processing ended for /tfs/web/UI/Pages/WorkItems/QuerySave.aspx?name=New%20Query%204&path=NISpVU%2FMy%20Queries&pguid=5e91539f-44e1-41bb-8699-02cc810ea4d6&time-stamp=1315566460489.
    

    Creating new queries from VS work fine.

    • Edited by Luka Ferlež Tuesday, September 13, 2011 2:49 PM
    Tuesday, September 13, 2011 2:46 PM

All replies