#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    3
    Rep Power
    0

    Creating Error status code


    Hi...
    I want to create error statuscode for errors.....
    to use it in web config file which redirects to custom error page in the case of generation that particular error....

    example
    web.config

    <customErrors mode="On" defaultRedirect="Default2.aspx">

    <error statusCode="20(my error statuscode)"

    redirect="custom error page" />

    </customErrors>
  2. #2
  3. No Profile Picture
    perl php
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Location
    chennai, India
    Posts
    23
    Rep Power
    0
    Are you talking about creating custom error messages in IIS ?

    http://support.microsoft.com/kb/302570

IMN logo majestic logo threadwatch logo seochat tools logo