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. i am getting a server error while viewing a page.

i am getting a server error while viewing a page.

Scheduled Pinned Locked Moved ASP.NET
sysadminsecurityhelpworkspace
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
    coolsatty
    wrote on last edited by
    #1

    I have uploaded a page on the server.when i am viewing it online,it gives me server error with a following error. Server Error in '/xxxx' Application Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

    coolsatty

    P 1 Reply Last reply
    0
    • C coolsatty

      I have uploaded a page on the server.when i am viewing it online,it gives me server error with a following error. Server Error in '/xxxx' Application Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

      coolsatty

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      From your web.config, disable customerrors to get details of the actual error.

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      C 1 Reply Last reply
      0
      • P pmarfleet

        From your web.config, disable customerrors to get details of the actual error.

        Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

        C Offline
        C Offline
        coolsatty
        wrote on last edited by
        #3

        still i am getting the same error

        coolsatty

        P 1 Reply Last reply
        0
        • C coolsatty

          still i am getting the same error

          coolsatty

          P Offline
          P Offline
          pmarfleet
          wrote on last edited by
          #4

          Then you're doing something wrong. Set customErrors to 'Off'.

          Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

          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