Telerik
Skip Navigation LinksHome / Community / Forums / TFS Work Item Manager and TFS Project Dashboard > TFS Work Item Manager > Load error of current and team activities in Project Dashboard

Not answered Load error of current and team activities in Project Dashboard

Feed from this thread
  • Marcin Marcin's avatar

    Posted on Nov 25, 2009 (permalink)

    Hello,
    I've created a few workitems, assigned them to the first iteration and run the project dashboard.
    Everything works except current and team activities which says:

    The provider encountered an error retrieving the active work items by user data.
       w IRC.Gear.WorkItemManager.Dashboard.TfsDataProvider.TaskDataProvider.GetActiveWorkItemsByUser(IList`1 workItemTypes, IList`1 activeStates)
       w IRC.Gear.WorkItemManager.Dashboard.TfsDataProvider.TaskDataProvider.GetCurrentActivities()

    and for team:

     Expecting constant value. The error is caused by «)».
      w Microsoft.TeamFoundation.WorkItemTracking.Client.Query.Initialize(WorkItemStore store, String wiql, IDictionary context, BatchReadParameterCollection batchReadParams, Boolean dayPrecision)
       w Microsoft.TeamFoundation.WorkItemTracking.Client.Query..ctor(WorkItemStore store, String wiql, IDictionary context, Boolean dayPrecision)
       w Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Query(String wiql, IDictionary context)
       w Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Query(String wiql)
       w IRC.Gear.WorkItemManager.Dashboard.TfsDataProvider.TfsConnection.GetActiveWorkItems(IList`1 workItemTypes, IList`1 activeStates, String iterationPath)
       w IRC.Gear.WorkItemManager.Dashboard.TfsDataProvider.TaskDataProvider.GetActiveWorkItemsByUser(IList`1 workItemTypes, IList`1 activeStates)

    Any workaround for this will be appreciated.

    Thanks,
    Marcin

    Reply

  • Telerik Admin admin's avatar

    Posted on Nov 26, 2009 (permalink)

    Hi Marcin,

    I could not reproduce the problem you are seeing.  I think it may just be a dashboard configuration problem.  Can you go into the project configuration screen and tell me what values are selected for "Work Item Types to Display" and "Work Item States to Include" for both of the problem widgets.

    When I ran the project in the dashboard I selected "Task" for the type and "Active" for the state.  You must select at least one type and one state.

    Regards,
    Joel

    Reply

  • Marcin Marcin's avatar

    Posted on Dec 3, 2009 (permalink)

    Surely that is the problem but I can't open Project Configuration for that project.
    After pressing Configure button nothind happens and there is an exception in the log.

    BTW, if your project/server name is long the buttons (configure/delete...) are hidden and user like me could have problem finding them.

    2009-12-03 14:54:03,096 [8636] [1] INFO  IRC.Gear.WorkItemManager.Dashboard.Widgets.DataAccess.BaseDataAccess - Loading provider ConfigurationDataProviderName.  
    2009-12-03 14:54:03,148 [8636] [1] ERROR IRC.Gear.WorkItemManager.Data.SourceControlManager - Error creating or retrieving workspace WIM (MARCIN-PC) for user Marcin-PC\Marcin.  Microsoft.TeamFoundation.VersionControl.Client.WorkspaceExistsException: The workspace WIM (MARCIN-PC);Marcin-PC\Marcin already exists on computer MARCIN-PC. ---> System.Web.Services.Protocols.SoapException: The workspace WIM (MARCIN-PC);Marcin-PC\Marcin already exists on computer MARCIN-PC.
       --- Koniec śladu stosu wyjątków wewnętrznych ---
       w Microsoft.TeamFoundation.VersionControl.Client.Repository.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
       w Microsoft.TeamFoundation.VersionControl.Client.Repository.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
       w Microsoft.TeamFoundation.VersionControl.Client.Repository.CreateWorkspace(Workspace workspace)
       w Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings, String computer, Boolean fixMappingErrors)
       w Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings, String computer, Boolean fixMappingErrors)
       w Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
       w Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner)
       w IRC.Gear.WorkItemManager.Data.SourceControlManager.EnsureWorkspaceExists()

    Reply

  • Telerik Admin admin's avatar

    Posted on Dec 4, 2009 (permalink)

    Hi Marcin,

    It looks like there was a problem setting up a workspace for the source control operations that the app performs.  There are 2 things that you can try to resolve the issue.

    1) Open WIM, go into the options menu and change the "Use Server Settings" option for the project.
      - Doing this will cause the WIM and Dashboard to not use source control for storing and retrieving shared settings. 

    2) Go into Visual Studio and delete the source contol workspace named "WIM (MARCIN-PC)". 
      - Doing this will remove the source control workspace that WIM created to interect with the source control server.  This will only remove the mappings between source control and your local machine.  No files will be deleted.  The next time either the WIM or Dashboard opens the project they will try to re-create the workspace.

    Regards,
    Joel

    Reply

Back to Top

Skip Navigation LinksHome / Community / Forums / TFS Work Item Manager and TFS Project Dashboard > TFS Work Item Manager > Load error of current and team activities in Project Dashboard

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.