Get detailed error report on remote host

Discussion in 'ASP .Net' started by Pavils Jurjans, Nov 25, 2004.

  1. Hello,

    When developing on the local host, asp.net provides detailed runtime error
    information - error number, description, and even line of code where the
    error happened.
    When the aspx page is put on the remote location, security settings prevent
    me to get the same detailed runtime error report.
    Is there any way I can override this setting? I am experiencing situation
    when the app runs smoothly on localhost, but fails for unknown reason on the
    remote location, and I can't get enough error information to try to fix the
    situation. I badly need the same error detail level I get on local machine.

    Rgds,

    Pavils
     
    Pavils Jurjans, Nov 25, 2004
    #1
    1. Advertising

  2. Pavils Jurjans

    Scott Allen Guest

    In web.config, the mode attribute in the <customErrors> section must
    be set to RemoteOnly. Change mode to Off for ASP.NET to display raw
    error information everywhere.

    --
    Scott
    http://www.OdeToCode.com/blogs/scott/

    On Thu, 25 Nov 2004 16:54:31 +0200, "Pavils Jurjans"
    <> wrote:

    >Hello,
    >
    >When developing on the local host, asp.net provides detailed runtime error
    >information - error number, description, and even line of code where the
    >error happened.
    >When the aspx page is put on the remote location, security settings prevent
    >me to get the same detailed runtime error report.
    >Is there any way I can override this setting? I am experiencing situation
    >when the app runs smoothly on localhost, but fails for unknown reason on the
    >remote location, and I can't get enough error information to try to fix the
    >situation. I badly need the same error detail level I get on local machine.
    >
    >Rgds,
    >
    >Pavils
    >
     
    Scott Allen, Nov 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    522
  2. Ben Harper
    Replies:
    2
    Views:
    463
    Ben Harper
    Jul 5, 2005
  3. John

    Detailed error message

    John, Oct 12, 2004, in forum: ASP General
    Replies:
    1
    Views:
    154
    Ray Costanzo [MVP]
    Oct 12, 2004
  4. Jack
    Replies:
    0
    Views:
    169
  5. Robbie Hatley

    How do I get more-detailed directory info?

    Robbie Hatley, Sep 26, 2005, in forum: Perl Misc
    Replies:
    12
    Views:
    248
    Paul Lalli
    Oct 3, 2005
Loading...

Share This Page