I was wondering if you could disable Web Exceptions, for example,
404 Not Found
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t disable WebExceptions. Like most other exceptions, their whole point is to signal a problem that’s not fixable at the point where it happened. You can’t just ignore that and expect your app to work.
What you do is catch and handle the exception. Like so.