RegisterSiteMapInformation Reference error when deploying WCSF site

Mar 2, 2009 at 5:22 PM
We have a working site on our developer workstations but whn we try to deploy to the test environment we are getting a Reference error during the RegisterSiteMapInformation a shown: (we specialise our WebApplication fromthe WCSF's event broker WebClientApplication...Please help!

 

Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 68:         ''' <param name="e">The <see cref="System.EventArgs" /> instance containing the event data.</param>
Line 69:         Protected Overrides Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 70: MyBase.Application_Start(sender, e)Line 71: 
Line 72:             'Create a simple boolean lock for access to the single threaded ERDM

Source File: C:\Inetpub\wwwroot\App_Code\WebApplication.vb    Line: 70

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   CIRMT.Shell.ShellModuleInitializer.RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) +68
   CIRMT.Shell.ShellModuleInitializer.Load(CompositionContainer container) +208
   Microsoft.Practices.CompositeWeb.Services.ModuleLoaderService.Load(CompositionContainer rootContainer, IModuleInfo[] modulesInfo) +453

[ModuleLoadException: Failed to load module from assembly Shell, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Error was:
Failed to load module from assembly Shell, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Error was:
Object reference not set to an instance of an object.]
   Microsoft.Practices.CompositeWeb.Services.ModuleLoaderService.ThrowModuleLoadException(Exception innerException, Assembly assembly) +202
   Microsoft.Practices.CompositeWeb.Services.ModuleLoaderService.Load(CompositionContainer rootContainer, IModuleInfo[] modulesInfo) +476
   Microsoft.Practices.CompositeWeb.WebClientApplication.LoadModules() +209
   Microsoft.Practices.CompositeWeb.WebClientApplication.Application_Start(Object sender, EventArgs e) +125
   Website.MACCSWebApplication.Application_Start(Object sender, EventArgs e) in C:\Inetpub\wwwroot\App_Code\WebApplication.vb:70


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210