on my site, i wish if there is any error, the user could be redirected to a customized page. i have tried giving the url of this page to iis/website/properties/custom errors/500, it doesn't work. can anybody help?
Not sure about your question.<BR><BR>Assuming that the error customization URL is http://yoursite.com/error THEN<BR><BR>this command will redirect to that page<BR><BR>Redirect.Response("http://yoursite.com/error")
Hi Ginni,<BR>U can use VBScript Err Object. The Err Object stores information about runtime errors. <BR>U better try this code below,<BR><BR>If Err.Number <> 0 then<BR> 'redirecting to other ASP Page. or write something for trapping the error.<BR> Response.Redirect "....sandip.asp" <BR><BR><BR><BR>