Server Error in '/' Application.

The given key was not present in the dictionary.

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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

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:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +36
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +52
   MotoMundi.Web.Controllers.CmsController.Page(Int32 id, String eventId) +350

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +142
   Castle.MonoRail.Framework.SmartDispatcherController.InvokeMethod(MethodInfo method, IRequest request, IDictionary`2 extraArgs) +92
   Castle.Proxies.Invocations.SmartDispatcherController_InvokeMethod_6.InvokeMethodOnTarget() +170
   MotoMundi.Common.Interceptors.LoggingIterceptor.Intercept(IInvocation invocation) +2045
   Castle.Proxies.CmsControllerProxy.InvokeMethod(MethodInfo method, IRequest request, IDictionary`2 extraArgs) +227
   Castle.MonoRail.Framework.Controller.RunActionAndRenderView() +1715
   MotoMundi.Common.Interceptors.LoggingIterceptor.Intercept(IInvocation invocation) +2045
   Castle.MonoRail.Framework.BaseHttpHandler.Process(HttpContext context) +141

[MonoRailException: Error processing MonoRail request. Action Page on controller Cms]
   Castle.MonoRail.Framework.BaseHttpHandler.Process(HttpContext context) +532
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


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