1. Use try/catch blocks to code lines that they may raise an exception.
2. Then use a global error page to inform the users with a friendly message, by redirecting them to a custom made page. Please tell us your asp.net version that you use (1.1 or 2.0?).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.