error handling in asp2.0

Results 1 to 2 of 2

Thread: error handling in asp2.0

  1. #1
    subashini Guest

    Default error handling in asp2.0

    In iis 4.0, asp 2.0 i want to trap the errors in a page and want to redirect to a page where i need a listing of all possible errors and descriptions. i need a function which will find the errors occured in a page and redirect it accordingly.Pls help me. its very urgent.<BR>i need it by today night. Thanks for the help

  2. #2
    Join Date
    Dec 1969

    Default RE: error handling in asp2.0

    write like this for database access erorrs<BR><BR>if err.number=0 then <BR> do some thing<BR>else respose.redirect(give url where u like to send for error message )<BR><BR><BR>for http error404, 403 etc , create asp(or) html files with your customer error message .<BR>logon to iis --yoursite(kiranwebsite)--right click for properties<BR>--&#062; u can see there is option for customer errors , under that u can keep your file name path for those typ errors , if u do there things your site lookes better..<BR><BR>happy programming ,<BR>still any problems in asp or javascript .mail me to (<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts