Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    creating Error status code

    hi
    I want to create my own error status code.. so that i can use that code in web.config file to open a custom error page in the case of error generation in my application.
    ex

    <customErrors mode="On" defaultRedirect="Default2.aspx">
    <error statusCode="20(my status code for error)" redirect="Default2.aspx" />
    </customErrors>

    please help me to solve this.........
    its urgent

  2. #2
    New to the CF scene
    Join Date
    Oct 2010
    Location
    Slovenia
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    way not use try catch (c#)? Into catch you can Redirect to your custom error page and also send custom message to show it to client.


 

Posting Permissions

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