Server Error in '/' Application.

The controller for path '/om-kulturpasset' was not found or does not implement IController.

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.Web.HttpException: The controller for path '/om-kulturpasset' was not found or does not implement IController.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[HttpException (0x80004005): The controller for path '/om-kulturpasset' was not found or does not implement IController.]
   System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +216
   System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +88
   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +191
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +40
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +42
   System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +10
   System.Web.Mvc.MvcHttpHandler.VerifyAndProcessRequest(IHttpHandler httpHandler, HttpContextBase httpContext) +40
   System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContextBase httpContext) +149
   Composite.AspNet.MvcPlayer.Functions.RenderInternal(String path) +841
   Composite.AspNet.MvcPlayer.Functions.Render(String Path) +52

[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) +168
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +105
   Composite.Plugins.Functions.FunctionProviders.MethodBasedFunctionProvider.MethodBasedFunction.Execute(ParameterList parameters, FunctionContextContainer context) +336
   Composite.Functions.Foundation.PluginFacades.<>c__DisplayClass15_0.<Execute>b__0() +25
   <C1 function> Composite.AspNet.MvcPlayer.Render(Func`1 ) +7
   Composite.Functions.Foundation.PluginFacades.FunctionWrapper.Execute(ParameterList parameters, FunctionContextContainer context) +346
   Composite.Functions.FunctionRuntimeTreeNode.GetValue(FunctionContextContainer contextContainer) +1150

[InvalidOperationException: Failed to get value for function 'Composite.AspNet.MvcPlayer.Render']
   Composite.Functions.FunctionRuntimeTreeNode.GetValue(FunctionContextContainer contextContainer) +1376
   Composite.Core.WebClient.Renderings.Page.PageRenderer.ExecuteEmbeddedFunctions(XElement element, FunctionContextContainer contextContainer) +729
   Composite.Core.WebClient.Renderings.Page.PageRenderer.ExecuteEmbeddedFunctions(XElement element, FunctionContextContainer contextContainer) +729
   Composite.Core.WebClient.Renderings.Page.PageRenderer.ExecuteEmbeddedFunctions(XElement element, FunctionContextContainer contextContainer) +729
   Composite.Core.WebClient.Renderings.Page.PageRenderer.ProcessPageDocument(XDocument document, FunctionContextContainer contextContainer, IPage page) +70
   Composite.Core.WebClient.Renderings.Page.PageRenderer.Render(XDocument document, FunctionContextContainer contextContainer, IXElementToControlMapper mapper, IPage page) +46
   Composite.Plugins.PageTemplates.Razor.RazorPageRenderer.RendererPage(Object sender, EventArgs e) +103
   System.Web.UI.Control.OnInit(EventArgs e) +97
   System.Web.UI.Page.OnInit(EventArgs e) +14
   Renderers_Page.OnInit(EventArgs e) +93
   System.Web.UI.Control.InitRecursive(Control namingContainer) +142
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +416


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