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. Custom Error page

Custom Error page

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 3 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
    Niungareamit
    wrote on last edited by
    #1

    I am working on Website. i want to create a custom error page for my website which will handle all the error occured while application is running. So If you have a solution please help me. Thank you.

    D A 2 Replies Last reply
    0
    • N Niungareamit

      I am working on Website. i want to create a custom error page for my website which will handle all the error occured while application is running. So If you have a solution please help me. Thank you.

      D Offline
      D Offline
      Deepak the Cool
      wrote on last edited by
      #2

      You should add Global.asax into your project and just call the error page into void Application_Error(object sender, EventArgs e) { // Code that runs when an unhandled error occurs }

      Deepak :) Smile a Lots,Its Costs Nothing

      N 1 Reply Last reply
      0
      • D Deepak the Cool

        You should add Global.asax into your project and just call the error page into void Application_Error(object sender, EventArgs e) { // Code that runs when an unhandled error occurs }

        Deepak :) Smile a Lots,Its Costs Nothing

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

        Thanks a lot .......

        1 Reply Last reply
        0
        • N Niungareamit

          I am working on Website. i want to create a custom error page for my website which will handle all the error occured while application is running. So If you have a solution please help me. Thank you.

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          I will suggest you to use Tag in web.config cheers, Abhijit CodeProject MVP

          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