Scrumdashboard v3.0.2 Runtime error

Feb 1, 2011 at 5:34 PM

I'm trying to use ScrumDashboard with our TFS 2010 server, O/S Windows 2008

 

If I try to access Scrumdashboard url remotely, I get this error:

Server Error in '/Scrum' Application.

 

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

Here what I done to configure ScrumDashboard.

- Extracted to files to c:\scrumdashboard folder. I also tried extracting the files to c:\inetpub with same results

- Created Application Pool called "ScrumDashboard"

- Created Application under Team Foundation Server website, also tried Team Foundation Server website/tfs/web, same results.

- Changed keys in web.config file to use TFS Servername.  

Any assistance will be greatly appreciated.



If I access it locally on TFS 2010 server, I get this error.  

Server Error in '/Scrum' Application.

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

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.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

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:

[TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +95
   System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +54
   System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +65
   System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +69
   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +52

[ConfigurationErrorsException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +360
   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) +27
   System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +44
   System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +52
   System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +165
   System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1088
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +95
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +194
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +339
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +253

[HttpException (0x80004005): Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8950644
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

<!-- [TypeLoadException]: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) [ConfigurationErrorsException]: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) [HttpException]: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at System.Web.HttpRuntime.FirstRequestInit(HttpContext context) at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) -->
Coordinator
Feb 1, 2011 at 7:31 PM

I have not seen this before but it looks like it is a known issue with ASP.NET 4 if some features of ASP.NET 3.51 is installed after:

http://blogs.iis.net/webtopics/archive/2010/04/28/system-typeloadexception-for-system-servicemodel-activation-httpmodule-in-asp-net-4.aspx

 

 

Feb 1, 2011 at 8:43 PM

That seems to have fix the error. But now I'm getting this message "No projects based on Scrum for Team System v3 was found".

Sorry, I'm fairly new to VS TFS 2010 & Scrum, just trying to figure out how they intertwine. I did change the "tfsserver" key to point to the default collection.

Thanks.

Feb 4, 2011 at 2:10 AM

Did you install the process template from www.scrumforteamsystem.com? Did you create any projects based on this yet?

Feb 4, 2011 at 4:10 PM

All our projects are created using Microsoft Visual Studio Scrum 1.0 template. Thought that should work. Let me try installing Scrum Process template V3. Thanks.

By the way, yesterday, I decided to install ScrumDashboard V3 on our production TFS 2010 server. Followed the same instructions as I did on the lab server, but keep getting "http 500 Internal server" error. The application is created under /Team Foundation Server/tfs virtual directory. Also specified the default collection in web.config file with same results. The production server is running Windows 2008-R2, .Net Framework 4.0 is installed. Any thoughts? Thanks.

Feb 4, 2011 at 7:14 PM

No, Scrum Dashboard only works with the SfTS template. For other scrum templates you might consider Urban Turtle. I'm not aware of any free or open source options, but on the other hand I haven't looked for any.

In regards to your HTTP 500 error -- there should be an event log entry that will give you more information. Failing that, access the web site using localhost while logged in to the server and see if there are any additional errors.

Jun 6, 2011 at 9:40 AM

Hi

I am very new to VS TFS 2010. I am using URL http://localhost:8080/Scrum/ and I receive 'No projects based on Scrum for Team System v3 was found!'. Here is what I have done so far:

1. Installed VSTS 2010 Ultimate

2. Installed VS TFS 2010 Trial

3. I have followed the instructions at http://scrumdashboard.codeplex.com/wikipage?title=Installing%20Scrum%20Dashboard%20v3 for installing 'Installing Scrum Dashboard v3'

4. I have installed the v3 Process Template at www.scrumforteamsystem.com

5. I have created TrialProject under DefaultCollection in VSTS 2010

6. In IIS I have the following configuration under Team Foundation Server:

a. Virtual Directory 'Scrum'

 - Application pool: ScrumDashboard

- Physical path: Points to the 'web' folder for Episerver Scrum Dashboard 3.0.4.0

b. Virtual Directory 'tfs'

- Application pool: Microsoft Team Foundation Server Pool

- Physical path: C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services

c. Virtual Directory under 'tfs' called 'web'

- Application pool: Microsoft Team Foundation Server Pool

- Physical path: C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web

7. In VSTS 2010 at Team > Team Project Collection Settings > Process Template Manager I have uploaded the ProcessTemplate.xml from C:\Program Files (x86)\Scrum for Team System\ProcessTemplate\ProcessTemplate.xml

Please help as I'm in desparate need of help as to what I'm doing wrong. Thank you in advance for your help.

 

Jun 6, 2011 at 9:00 PM

Neville,

You might consider posting your question to a new thread if it isn't resolved here...

When you created the new TrialProject, did you remember to select the Scrum for Team System as the process template? If you right-click the project in Team Explorer and select "Team Project Process Guidance," it should take you to http://www.scrumforteamsystem.com/processguidance/v3/.