customerror

  • Thread starter Thread starter Robert M
  • Start date Start date
R

Robert M

Hello,

I want to redirect to errorpage.aspx on a deplyed application and does not
work...

can anybody help..

thank u
 
Have you tried to do this in the Global.asax file?

protected void Application_Error(Object sender, EventArgs e)

{

Response.Redirect("ERROR.aspx")

}
 
How are you doing it?
Either response.redirect(page.aspx) on error or server.transfer will work.
You may want to use the webconfig file's customerrors tag setting
defaultRedirect attribute to the intended page as well.

regards
 
Back
Top