Tutorial by Examples

This example will cover creating a custom error page for 404 Page Not Found and 500 Server Error. You can extend this code to capture any error code you need to. Web.Config If you are using IIS7 and above, ignore the <CustomError.. node and use <httpErrors... instead. Add in the following i...

Page 1 of 1