Is there a way to direct specific errors to specific error pages or views (e.g. Error404.aspx) through MVC?
+1
A:
I've used the <customErrors>
section of the web.config file to handle this in the past. This works in MVC and/or webforms.
If you don't like that approach, check out this article for a custom solution, and this one for some workarounds on the default architecture.
Mark Struzinski
2009-06-09 01:00:37