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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. securing webapp with web.config

securing webapp with web.config

Scheduled Pinned Locked Moved ASP.NET
debuggingwindows-adminhelpquestion
6 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.
  • 0 Offline
    0 Offline
    0rb1t
    wrote on last edited by
    #1

    Hi all, I'm trying to set up my web app so that it doesn't display error/debugging/tracing messages to visitors. I have already tried the following but i still get the Description:, Exception Details:, Parameter name:, Source Error: etc that you get from the debugger My Web.Config has: No pages have the debug set to true. IIS has clientside debugging disabled. Any ideas on how i can sort this out? Thanks in advance.

    C T 2 Replies Last reply
    0
    • 0 0rb1t

      Hi all, I'm trying to set up my web app so that it doesn't display error/debugging/tracing messages to visitors. I have already tried the following but i still get the Description:, Exception Details:, Parameter name:, Source Error: etc that you get from the debugger My Web.Config has: No pages have the debug set to true. IIS has clientside debugging disabled. Any ideas on how i can sort this out? Thanks in advance.

      C Offline
      C Offline
      Chetan visodiya
      wrote on last edited by
      #2

      hi Orb1t, If you try below code in to web.config file and check that It is working but incase it is not work then try to flase tracing at page level like below: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Trace.aspx.vb" Inherits="MCSDWebAppsVB.Trace" trace="True" %> chetan Visodiya -- modified at 8:05 Thursday 3rd August, 2006 Chetan visodiya

      0 1 Reply Last reply
      0
      • 0 0rb1t

        Hi all, I'm trying to set up my web app so that it doesn't display error/debugging/tracing messages to visitors. I have already tried the following but i still get the Description:, Exception Details:, Parameter name:, Source Error: etc that you get from the debugger My Web.Config has: No pages have the debug set to true. IIS has clientside debugging disabled. Any ideas on how i can sort this out? Thanks in advance.

        T Offline
        T Offline
        ToddHileHoffer
        wrote on last edited by
        #3

        I think what you are trying to do is set up custom errors. Turn the

        how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things --thedailywtf 3/21/06

        0 1 Reply Last reply
        0
        • C Chetan visodiya

          hi Orb1t, If you try below code in to web.config file and check that It is working but incase it is not work then try to flase tracing at page level like below: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Trace.aspx.vb" Inherits="MCSDWebAppsVB.Trace" trace="True" %> chetan Visodiya -- modified at 8:05 Thursday 3rd August, 2006 Chetan visodiya

          0 Offline
          0 Offline
          0rb1t
          wrote on last edited by
          #4

          Chetan, Thanks for your reply + suggestions. I've tried both of them but had no luck with it, the server still returns the parser errors. Any other ideas? Cheers

          1 Reply Last reply
          0
          • T ToddHileHoffer

            I think what you are trying to do is set up custom errors. Turn the

            how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things --thedailywtf 3/21/06

            0 Offline
            0 Offline
            0rb1t
            wrote on last edited by
            #5

            Thanks ToddHileHoffer, this is exactly what i want to do. :-D I just wondered whether there might be a way in which i could get it to use IIS' defualt script message'An error occurred on the server when processing the URL. Please contact the system administrator.' and avoid having to create customs + have the 302 redirects.

            T 1 Reply Last reply
            0
            • 0 0rb1t

              Thanks ToddHileHoffer, this is exactly what i want to do. :-D I just wondered whether there might be a way in which i could get it to use IIS' defualt script message'An error occurred on the server when processing the URL. Please contact the system administrator.' and avoid having to create customs + have the 302 redirects.

              T Offline
              T Offline
              ToddHileHoffer
              wrote on last edited by
              #6

              Turn the customErrors mode = "On" defaultRedirect="YouErrorPage.aspx" /customErrors it appeared ok in the preview. Some wierd html thing made the tags invisible.

              how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things --thedailywtf 3/21/06

              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