Link to home
Start Free TrialLog in
Avatar of calypsoworld
calypsoworldFlag for Portugal

asked on

Show a friendly page on ASP.net error

I have a website using a typed DataSet and each page is validateRequest = true;
I read that DataSet has a inner system to prevent SQL Injection.

In textboxes in my website, I only have required field validators.

If the user types a non-valid string, the asp.net raises a exception with the default asp.net error page.

What I actually want to do is make up the possible errors, redirecting the user to a friendly page. I'm already redirecting in error 404, but if any other exception occurs the default error page appears.

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of grantunwin
grantunwin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of calypsoworld

ASKER

Thank you