I know that this already has an accepted answer, and this does not entirely apply to your question, but for someone else not using N2 and running into problems with Elmah.MVC + Castle Windsor, you need to register the controllers in the Elmah assembly . MVC using Windsor. I made a simple installer to handle this for me:
public class ElamhInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfigurationStore store) { container.Register(Classes.FromAssemblyNamed("Elmah.Mvc") .BasedOn<IController>() .LifestyleTransient()); } }
Once I added that this castle seems to be able to easily find the ElmahController .
Tieson T.
source share