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. web.config error

web.config error

Scheduled Pinned Locked Moved ASP.NET
questionhelptutorial
4 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.
  • C Offline
    C Offline
    chitranjan gohil
    wrote on last edited by
    #1

    Hello, One of my web pages shows the web.config error some times.why does this error come and how to solve it? Regards, chitranjan more dash than cash!!!

    M 1 Reply Last reply
    0
    • C chitranjan gohil

      Hello, One of my web pages shows the web.config error some times.why does this error come and how to solve it? Regards, chitranjan more dash than cash!!!

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      You should turn off the custom error in the web.config file, you also might log some info when the page is visited so that you can use this info to diagnose your problem.

      C 1 Reply Last reply
      0
      • M minhpc_bk

        You should turn off the custom error in the web.config file, you also might log some info when the page is visited so that you can use this info to diagnose your problem.

        C Offline
        C Offline
        chitranjan gohil
        wrote on last edited by
        #3

        which information r u talking about logging and how to do it? more dash than cash!!!

        M 1 Reply Last reply
        0
        • C chitranjan gohil

          which information r u talking about logging and how to do it? more dash than cash!!!

          M Offline
          M Offline
          minhpc_bk
          wrote on last edited by
          #4

          For example the error details when the web page throws an error, and instead of displaying the exception in the ugly yellow color you can use a custom error page, but your log info is really helpful in helping you find out the root cause. Basically, you need to determine what info you should log when developing an application and there are a variety of ways to do that, for example you log some info when an exception occurs.

          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