How to log more info on System.Web.HttpException: Request timed ou

Discussion in 'ASP General' started by Mattias Blomqvist, Mar 11, 2010.

  1. Some of our users are complaining about long response time on some of our
    pages.
    Problem is that we can not reproduce the long response time.

    Our error log has also logged: System.Web.HttpException: Request timed out
    (Sadly without any stacktrace or other useful information).

    Is it possible to log stacktrace for this type of error or in other way
    finding out where in our code or what underlying service that is taking so
    long?

    We are using:
    * .Net 3.5
    * Microsoft.Practices.EnterpriseLibrary
    * Windows Server 2008 64bit

    /Regards Mattias
     
    Mattias Blomqvist, Mar 11, 2010
    #1
    1. Advertising

  2. Mattias Blomqvist

    Bob Barrows Guest

    Mattias Blomqvist wrote:
    > Some of our users are complaining about long response time on some of
    > our pages.
    > Problem is that we can not reproduce the long response time.
    >
    > Our error log has also logged: System.Web.HttpException: Request
    > timed out (Sadly without any stacktrace or other useful information).
    >
    > Is it possible to log stacktrace for this type of error or in other
    > way finding out where in our code or what underlying service that is
    > taking so long?


    I think you can turn tracing on in web.config - search online help or
    the web. And ...

    **********canned wrong newsgroup reply****************************
    There was no way for you to know it (except maybe by browsing through
    some of the previous questions before posting yours - always a
    recommended practice), but this is a classic (COM-based) asp newsgroup.
    ASP.Net is a different technology from classic ASP. While you may be
    lucky enough to find a dotnet-savvy person here who can answer your
    question, you can eliminate the luck factor by posting your question to
    a newsgroup where the dotnet-savvy people hang out. I suggest

    microsoft.public.dotnet.framework.aspnet.

    There are also forums at www.asp.net where you can find a lot of people
    to help you.
    **********canned wrong newsgroup reply****************************

    --
    HTH,
    Bob Barrows
     
    Bob Barrows, Mar 11, 2010
    #2
    1. Advertising

  3. Mattias Blomqvist

    Evertjan. Guest

    Bob Barrows wrote on 11 mrt 2010 in
    microsoft.public.inetserver.asp.general:

    > Mattias Blomqvist wrote:
    >> Some of our users are complaining about long response time on some of
    >> our pages.
    >> Problem is that we can not reproduce the long response time.
    >>
    >> Our error log has also logged: System.Web.HttpException: Request
    >> timed out (Sadly without any stacktrace or other useful information).
    >>
    >> Is it possible to log stacktrace for this type of error or in other
    >> way finding out where in our code or what underlying service that is
    >> taking so long?

    >
    > I think you can turn tracing on in web.config - search online help or
    > the web. And ...
    >
    > **********canned wrong newsgroup reply****************************
    > There was no way for you to know it (except maybe by browsing through
    > some of the previous questions before posting yours - always a
    > recommended practice), but this is a classic (COM-based) asp newsgroup.
    > ASP.Net is a different technology from classic ASP. While you may be
    > lucky enough to find a dotnet-savvy person here who can answer your
    > question, you can eliminate the luck factor by posting your question to
    > a newsgroup where the dotnet-savvy people hang out. I suggest
    >
    > microsoft.public.dotnet.framework.aspnet.
    >
    > There are also forums at www.asp.net where you can find a lot of people
    > to help you.
    > **********canned wrong newsgroup reply****************************


    Anyway the BobBarrows-response-time was pretty short.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Mar 11, 2010
    #3
  4. Mattias Blomqvist

    Bob Barrows Guest

    Evertjan. wrote:
    > Bob Barrows wrote on 11 mrt 2010 in
    >
    > Anyway the BobBarrows-response-time was pretty short.


    Can't always count on that though ... ;-)

    --
    HTH,
    Bob Barrows
     
    Bob Barrows, Mar 11, 2010
    #4
  5. Re: How to log more info on System.Web.HttpException: Request time

    We can't use Tracing as it would affect the performance to much.

    I have now made a customCallHandler instead (implementing ICallHandler) with
    the hope it will find our problem and just log that method when elapsed time
    in a method is over X.

    We will see after the next release :)

    Thanks for the response.
     
    Mattias Blomqvist, Mar 16, 2010
    #5
  6. Mattias Blomqvist

    Evertjan. Guest

    Re: How to log more info on System.Web.HttpException: Request time

    =?Utf-8?B?TWF0dGlhcyBCbG9tcXZpc3Q=?= wrote on 16 mrt 2010 in
    microsoft.public.inetserver.asp.general:

    > We can't use Tracing as it would affect the performance to much.
    >
    > I have now made a customCallHandler instead (implementing
    > ICallHandler) with the hope it will find our problem and just log that
    > method when elapsed time in a method is over X.
    >
    > We will see after the next release :)
    >
    > Thanks for the response.


    What response?

    [please always quote on usenet]


    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Mar 17, 2010
    #6
    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. Steve
    Replies:
    0
    Views:
    5,341
    Steve
    Jul 1, 2003
  2. Jack Wright
    Replies:
    0
    Views:
    5,347
    Jack Wright
    Feb 29, 2004
  3. Jack Wright
    Replies:
    0
    Views:
    2,970
    Jack Wright
    Feb 29, 2004
  4. Jack Wright
    Replies:
    5
    Views:
    4,509
    Alvin Bruney [MVP]
    Mar 7, 2004
  5. Alvin Bruney [MVP]

    Re: System.Web.HttpException: Request timed out.?

    Alvin Bruney [MVP], Mar 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    985
    Alvin Bruney [MVP]
    Mar 2, 2004
Loading...

Share This Page