I’ve just installed ELMAH MVC (v2) into my web application but when I try to view the logs at /elmah I get the following exception
No component for supporting the service Elmah.Mvc.ElmahController was found
[ComponentNotFoundException: No component for supporting the service Elmah.Mvc.ElmahController was found]
Castle.MicroKernel.DefaultKernel.Resolve(Type service) +140
Castle.Windsor.WindsorContainer.Resolve(Type service) +40
N2.Engine.Castle.WindsorServiceContainer.Resolve(Type type) +40
N2.Engine.ContentEngine.Resolve(Type serviceType) +48
The web site includes the N2 CMS system which in turn uses Castle Windsor.
Any ideas on how I can resolve this?
Worked out the solution shortly after posting the question. I needed to register the Elmah controller with N2: