I used Shay Jacoby's solution to route 404s and 500s and it works great on my dev box: http://stackoverflow.com/questions/619895/how-can-i-properly-handle-404s-in-asp-net-mvc/
However, in production, it only routes 500 errors and 404s still get the default iis 404 messages. I think I'm missing something simple, any ideas?
I deployed the code to a local iis7 website and the 500 errors are being redirected. I can't think of what is different in the environments. Production is also iis7 and the code is identical.
Thanks