Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problem with Custom Errors

Problem with Custom Errors

Scheduled Pinned Locked Moved ASP.NET
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nagendrathecoder
    wrote on last edited by
    #1

    Hello all, I am using customErrors of Web.config file in my application so that to redirect the user to an error page on exception. But after getting exception i am not redirecting to the erropage. Am i missing something? I am using this code in my web.config:

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

    </customErrors>
    
    P 1 Reply Last reply
    0
    • N nagendrathecoder

      Hello all, I am using customErrors of Web.config file in my application so that to redirect the user to an error page on exception. But after getting exception i am not redirecting to the erropage. Am i missing something? I am using this code in my web.config:

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

      </customErrors>
      
      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      Go through below URL- http://aspnetresources.com/articles/CustomErrorPages.aspx[^]

      Parwej Ahamad ahamad.parwej@gmail.com

      N 1 Reply Last reply
      0
      • P Parwej Ahamad

        Go through below URL- http://aspnetresources.com/articles/CustomErrorPages.aspx[^]

        Parwej Ahamad ahamad.parwej@gmail.com

        N Offline
        N Offline
        nagendrathecoder
        wrote on last edited by
        #3

        I tried couple of things mentioned in the article but i m still not achieving the result.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups