Solved

Show a friendly page on ASP.net error

Posted on 2010-08-22
3
345 Views
Last Modified: 2012-05-10
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!
0
Comment
Question by:calypsoworld
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
grantunwin earned 250 total points
ID: 33496527
You need to modify the web.config file on yoiur server. See this tutorial:

http://www.15seconds.com/issue/030102.htm
0
 
LVL 14

Assisted Solution

by:Dhanasekaran Sengodan
Dhanasekaran Sengodan earned 250 total points
ID: 33500427
0
 

Author Closing Comment

by:calypsoworld
ID: 33619480
Thank you
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question