You control this kind of thing in the web.config file. Locate the customErrors section and there is the ability to add the location of your custom page and specify what error it shows for (404, general exceptions, etc).
Google .net customerrors and you should find something. OK, I just did it for you:
http://msdn.microsoft.com/en-us/library/h0hfz6fc(v=vs.71).aspx
hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 167