I added Elmah.MVC to my MVC-site, but when access /elmah, my site gets stuck in a redirect loop /elmah?culture=en - which I reckon is because of my one route config entry:
public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Default", "{culture}/{controller}/{action}/{id}", new { culture = CultureHelper.GetDefaultCulture(), controller = "Home", action = "SetCulture", id = UrlParameter.Optional } ); } }
How should I modify RouteConfig to make /elmah display correctly? Or am I looking at the wrong place?
Thanks :-)