customerror

R

Robert M

Hello,

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

can anybody help..

thank u
 
M

Manit Chanthavong

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

protected void Application_Error(Object sender, EventArgs e)

{

Response.Redirect("ERROR.aspx")

}
 
A

Alvin Bruney

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top