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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top