I have been learning about Custom Error pages and ASP.NET websites.
The following seem to be a requirement:
- You need a Global.asax file to catch the error properly and generically, see notes below(#)
- You need to modify your web.config file
- It is a good idea to display a user friendly error screen, that at the same time notifies the webmaster somehow
Sure you could have googled them yourself, but I have found a trick when searching for goodies on ASP. Enter in your search query proceeded by MSDN, and you get better results.