Server Error in '/ICS' Application.

An error occurred in the CRM Registry. See the Web Application Services log for details.

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: An error occurred in the CRM Registry. See the Web Application Services log for details.

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: An error occurred in the CRM Registry. See the Web Application Services log for details.]
   EX.Registry.CRMRegistry..ctor() in C:\Pipelines\_work\31\s\JICS\Portlets\CRM\Common\EX.Registry\CRMRegistry.cs:67

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +142
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +107
   System.Activator.CreateInstance(Type type) +13
   StructureMap.Graph.PluginGraph.ImportRegistry(Type type) +135
   System.Collections.Generic.List`1.ForEach(Action`1 action) +101
   StructureMap.Configuration.DSL.Registry.ConfigurePluginGraph(PluginGraph graph) +337
   StructureMap.Graph.AssemblyScanner.ScanForAll(PluginGraph pluginGraph) +210
   System.Collections.Generic.List`1.ForEach(Action`1 action) +101
   StructureMap.Graph.PluginGraph.Seal() +85
   StructureMap.PluginGraphBuilder.Build() +207
   StructureMap.Container.Configure(Action`1 configure) +83
   Jenzabar.ObjectRegistry.ObjectRegistrar.Register() +519
   Jenzabar.Portal.Web.Global.Application_OnStart() +13

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +546
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +171
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +173
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +255
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +347

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +552
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +122
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +737


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