0

I have installed elmah on an existing ASP.NET 4.5.1 web forms app by typing:

install-package elmah

in the nuget package manager.

It states I have to go to localhost/myapp/elmah.axd to see the log - but I get this error:

Place not found

I have found articles about this that, amongst other things state I must update both the system.web and system.webServer sections of web.config. The install-package already has done both of these however. "Resource not found" error while accessing elmah.axd in ASP.NET MVC project

I just tried installing this package on a clean new web forms site - and it works fine.

How can I get this working?

Thanks.

Community
  • 1
  • 1
niico
  • 11,206
  • 23
  • 78
  • 161

1 Answers1

0

I fixed this by copying the web.config from the new blank application I made.

I also needed to add this route: routes.Ignore("{resource}.axd/{*pathInfo}");

niico
  • 11,206
  • 23
  • 78
  • 161