Problems accessing the Dashboard

Sep 3, 2009 at 2:36 PM
Edited Sep 3, 2009 at 3:02 PM

Hi, we have been using the dashboard for a while and really fallen in love with it.

But unfortunately, we have recently started to have problem accessing the Dashboard.
It seem to be random as it is still working for some persons, but if you had this problem once you are stuck with it.
We have a mixture of IE6, IE8 and FireFox but the problem occurs in all combinations.

Our server is named Loxia.
Windows server 2003, St Ed, SP2
ASP.NET 1.1.4322
SQLServer 2005, SP3
ScrumDashboard 2.4.0.8

When trying to navigate to http://loxia:8090/scrumdashboard we get the following error message: 


Server Error in '/ScrumDashboard' Application.
--------------------------------------------------------------------------------

Could not read group: [ACF]\Contributors
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.Exception: Could not read group: [ACF]\Contributors

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:
[Exception: Could not read group: [ACF]\Contributors]
   ScrumDashboard.Library.TfsManager.GetProjectContributorsLookup(String tfsProject) +569
   ScrumDashboard.Library.TfsManager.GetUser(String tfsProject, Object displayNameObj) +84
   ScrumDashboard.Library.TfsManager.GetSprintBacklog(String tfsProject, Int32 sprintNumber) +309
   ScrumDashboard.Library.TfsManager.GetSprintBacklog(String tfsProject, Int32 sprintNumber, String teamName, List`1 productBacklog) +250
   ScrumDashboard._Default.ViewSprintClick(Object sender, EventArgs e) in c:\Users\per\Documents\Visual Studio 2008\Projects\ScrumDashboardCodePlex\Head\ScrumDashboard\Default.aspx.cs:211
   ScrumDashboard._Default.Page_Load(Object sender, EventArgs e) in c:\Users\per\Documents\Visual Studio 2008\Projects\ScrumDashboardCodePlex\Head\ScrumDashboard\Default.aspx.cs:116
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

 

The weird thing is that we do not have a TFS project named ACF !
But we do have one named ACF Scrum

So, is the space in the name causing all this, and if so why?
Can it be related to some automatic MS-update on the server?
Anyone that has an idea on how tho work around this?

 

Sep 9, 2009 at 2:37 PM
Edited Sep 9, 2009 at 2:43 PM

After downloading the sourcecode and doing some debugging I found the cause to this problem.

During startup a the system calls a webbservice (WorkItemStore) on the TFS server to get a list of Projects.
It turned out that this list contain a project that we deleted long time ago !?
So - there is actually a project named ACF, but it is deleted, and should not appear in this list.

By adding an extra condition in the TfsManager.GetProjectsWithWIT() method, we simply skip this erroneous project and are able to run the Dashboard again using our "corrected" ScrumDashboard.Library.dll.

The project was deleted 1½ years ago but apparently left some traces behind.
I have no idea why this popped up now, after running the Dashboard for about 6 months.
Possibly it may be related to the SQLServer 2005 SP3 that we installed a month ago in the Server.