keyongtech


  keyongtech > dotnet.* > dotnet.general > 07/2006

 #1  
07-04-06, 03:10 AM
clintonG
Is there any way to redirect the output from Request Validation to an actual
page of our choosing?
 #2  
07-04-06, 11:28 PM
clintonG
Solved myself as often happens no thanks to MSDN documentation...

// global.asax catches the Request Validation error...
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
Response.Redirect("~/ErrorPages/ErrorResponse.aspx");
}

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"clintonG" <csgallagher> wrote in message
news:3272
[..]
Similar Threads
Redirecting Print Request

Hi. I have an old software program (written in FoxPro) that automatically prints to a dotmatrix printer on the parrallel port. I still need this application and have moved it...

Redirecting request

I have a broken link on my site for an "INSTALL.MSI". How can I redirect all requests for "INSTALL.MSI" to "INSTALL.EXE" by modifying the web.config? Any help appreciated...

redirecting an FTP request?

Hello, My clients are currently using their web browsers to access ftp://example.com, hosted on server A, a Red Hat machine. I wish to redirect them to ftp.example.com,...

Redirecting a DNS request

I have an internal web site and an external website that access the same SQL database. The internal site's domain name is db1.mycompany.internal. My external site's domain...

Redirecting HTTP request

Here's my requirement: When a desktop application (smart client) makes a request to our ASP.NET server, the request has to be redirected to a 3rd party...


All times are GMT. The time now is 06:08 PM. | Privacy Policy