Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Creating Custom Error pages

Last post 11-26-2007, 10:01 AM by carlcamera. 1 replies.
Sort Posts: Previous Next
  •  11-20-2007, 12:38 PM 36703

    Creating Custom Error pages

    Hello All:

    I have a site where I would like to have all errors directed to a custom .aspx page. My solution has to be on a grand/application scale -- not just from page to page. I have several pages already so I don't want to go through the site putting try and catches through the hole thing all over again, if you know what I mean. I have been reading MSDN's walk-throughs but I am getting quite lost!

    Is there someone who has done this successfully and can give me the rundown on how to do that?

  •  11-26-2007, 10:01 AM 36888 in reply to 36703

    Re: Creating Custom Error pages

    This is best done at the web server level -- through the IIS management console.  The default 404 action is to generate a generic error.  You can specify a URL (aspx page if you want) for all 404s and that page will be displayed with your helpful information and explanations.

    I searched for "iis custom 404" and got several hits -- among them this one from 4guysfromrolla

     


    Sincerely,

    Carl
    -----
    vine type - content management with standards in mind - vinetype.com
    -----
    Filed under: ,
View as RSS news feed in XML