hobgoblinvasya
Member
- Joined
- Feb 18, 2009
- Messages
- 12
- Programming Experience
- 1-3
Hi all, im sure its a simple matter of setting something in web.config, but being a noob i just can't seem to find out what the settting is
I need ASP to simply show its generic error page if there is something wrong with the code of the page.
Ie. if one of my procedures throws any kind of exception, i dont what the user to see the code that threw that exception in its browser. I simply want a generic error page to appear.
So instead of :
"An error occured on line 9999. :
sub test
Throw new exception "this is a test."
end sub"
i need something like:
404 Page not found. (or something similar)
thanks in advance !
I need ASP to simply show its generic error page if there is something wrong with the code of the page.
Ie. if one of my procedures throws any kind of exception, i dont what the user to see the code that threw that exception in its browser. I simply want a generic error page to appear.
So instead of :
"An error occured on line 9999. :
sub test
Throw new exception "this is a test."
end sub"
i need something like:
404 Page not found. (or something similar)
thanks in advance !