Common Language Runtime detected an invalid program.

Oct 8, 2009 at 10:38 AM

I've been asked to do a little customization of ScrumDashboard for our local use, but I just can't get it to run on my machine. I've tried versions 33306 and 33305, with the current and previous versions of the Ajax control toolkit, but I get an IllegalProgramException. Here's a stack trace:

[InvalidProgramException: Common Language Runtime detected an invalid program.]
Microsoft.TeamFoundation.Client.TeamFoundationServer.op_Inequality(TeamFoundationServer tfs1, TeamFoundationServer tfs2) +0
ScrumDashboard.Library.Tfs.TfsManager.GetTfsServer() in D:\sd\Head\ScrumDashboard.Library\Tfs\TfsManager_Helpers.cs:20
ScrumDashboard.Library.Tfs.TfsManager.GetService() in D:\sd\Head\ScrumDashboard.Library\Tfs\TfsManager_Helpers.cs:50
ScrumDashboard.Library.Tfs.TfsManager.GetProjectsWithWIT(String[] witNames) in D:\sd\Head\ScrumDashboard.Library\Tfs\TfsManager.cs:271
ScrumDashboard.Library.Tfs.TfsManager.GetScrumProjects() in D:\sd\Head\ScrumDashboard.Library\Tfs\TfsManager.cs:301
ScrumDashboard._Default.Page_Load(Object sender, EventArgs e) in D:\sd\Head\ScrumDashboard\Default.aspx.cs:78
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

I'm referencing the TeamFoundation assemblies in C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Common\Assemblies\

Any suggestions on how I can get this to work locally? I can reinstall Team Explorer if that will help.

Thanks

--stuart

 

Coordinator
Oct 27, 2009 at 7:27 AM

I reference the Team Foundation assemblies found in:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies