I have installed Elmah.MVC using nuget package.
When running elmah using visual studio, whenever i try to generate a 404 an error is logged to elmah. Which is the required result in my use case.
However when I run the same site on IIS no such error is logged to elmah. Why so ?
What changes do I have to do to so that all 404 are also logged to elmah.
Also : Came across this thread on SO, but could not make out what extension to make.
Edit: here is what I am trying to generate 404 - someurl/generate404