Setup:

I have ELMAH installed via NuGet on an ASP.NET MVC 4 site.

On the dev machine the app is installed at the root. It all works and is styled as ELMAH pages usually are. It always does that, work on the dev machine I mean, doesn't it?

But on the server, the app installed in a sub folder (~/tracker). Although ELMAH works fine, the pages are unstyled, making them difficult to read.

Question:

What do I need to do to get the pages to style?

Presumably, the styling comes from a resource that can be configured in the web.config. But how?

Edit:

I have found that I am getting a highly relevant error:

System.Web.HttpException: A public action method 'stylesheet' was not found on controller 'Elmah.Mvc.ElmahController'.

The path is given as:

/tracker/elmah/stylesheet

This is obviously related to the Link tag in the source of the ELMAH pages:

<link rel="stylesheet" type="text/css" href="/tracker/elmah/stylesheet" />

But how do I configure this url?

Edit
Report