I have a Web Application in Asp.Net 4 running locally on IIS 7. I need display a Custom Page (404) and an 500 instead for the defaults page for IIS. Using this httpErrors in
I solved my problem with this.
This needs to go in Web.config, under >
Web.config
e.g.
// define errors in here ...