ASP timeout issue

Discussion in 'ASP General' started by E Sullivan, Jun 17, 2004.

  1. E Sullivan

    E Sullivan Guest

    I am having a time out issue when multiple users are accessing the server.
    This time out does not happen all of the time. My understanding is that the
    time out value is actually set in two places. I believe one is in the asp
    pages for the session itself, and the other is more of a system timeout
    settting in IIS. Would one of these supercede the other if the two are
    different?
    I have already looked at the time out setting in IIS, and it is set to 900
    seconds. However, the actual timeout is happening in much less than 900
    seconds, so either the setting on the asp page is controlling this, or the
    "900" is not really seconds but some other measure.

    Any help would be appreciated.

    Thanks,

    Ellie
    E Sullivan, Jun 17, 2004
    #1
    1. Advertising

  2. E Sullivan

    Mark Schupp Guest

    Is it a script timeout? A database connection timeout? A database query
    timeout? A session timeout? A browser timeout?

    Show the actual error message. If it is a database timeout then also
    indicate the DBMS you are using.

    --
    Mark Schupp
    Head of Development
    Integrity eLearning
    www.ielearning.com


    "E Sullivan" <> wrote in message
    news:...
    > I am having a time out issue when multiple users are accessing the server.
    > This time out does not happen all of the time. My understanding is that

    the
    > time out value is actually set in two places. I believe one is in the asp
    > pages for the session itself, and the other is more of a system timeout
    > settting in IIS. Would one of these supercede the other if the two are
    > different?
    > I have already looked at the time out setting in IIS, and it is set to 900
    > seconds. However, the actual timeout is happening in much less than 900
    > seconds, so either the setting on the asp page is controlling this, or the
    > "900" is not really seconds but some other measure.
    >
    > Any help would be appreciated.
    >
    > Thanks,
    >
    > Ellie
    >
    >
    Mark Schupp, Jun 17, 2004
    #2
    1. Advertising

  3. E Sullivan

    E Sullivan Guest

    I'm trying to get the answer to all of your questions. In the meantime, do
    you know if the IIS setting for a timeout is in seconds, msecs or minutes?

    thanks


    "Mark Schupp" <> wrote in message
    news:...
    > Is it a script timeout? A database connection timeout? A database query
    > timeout? A session timeout? A browser timeout?
    >
    > Show the actual error message. If it is a database timeout then also
    > indicate the DBMS you are using.
    >
    > --
    > Mark Schupp
    > Head of Development
    > Integrity eLearning
    > www.ielearning.com
    >
    >
    > "E Sullivan" <> wrote in message
    > news:...
    > > I am having a time out issue when multiple users are accessing the

    server.
    > > This time out does not happen all of the time. My understanding is that

    > the
    > > time out value is actually set in two places. I believe one is in the

    asp
    > > pages for the session itself, and the other is more of a system timeout
    > > settting in IIS. Would one of these supercede the other if the two are
    > > different?
    > > I have already looked at the time out setting in IIS, and it is set to

    900
    > > seconds. However, the actual timeout is happening in much less than 900
    > > seconds, so either the setting on the asp page is controlling this, or

    the
    > > "900" is not really seconds but some other measure.
    > >
    > > Any help would be appreciated.
    > >
    > > Thanks,
    > >
    > > Ellie
    > >
    > >

    >
    >
    E Sullivan, Jun 17, 2004
    #3
  4. E Sullivan

    Patrice Guest

    The session timeout is in minutes. The script timeout is in seconds.

    Patrice

    --

    "E Sullivan" <> a écrit dans le message de
    news:O9SCi%...
    > I'm trying to get the answer to all of your questions. In the meantime, do
    > you know if the IIS setting for a timeout is in seconds, msecs or minutes?
    >
    > thanks
    >
    >
    > "Mark Schupp" <> wrote in message
    > news:...
    > > Is it a script timeout? A database connection timeout? A database query
    > > timeout? A session timeout? A browser timeout?
    > >
    > > Show the actual error message. If it is a database timeout then also
    > > indicate the DBMS you are using.
    > >
    > > --
    > > Mark Schupp
    > > Head of Development
    > > Integrity eLearning
    > > www.ielearning.com
    > >
    > >
    > > "E Sullivan" <> wrote in message
    > > news:...
    > > > I am having a time out issue when multiple users are accessing the

    > server.
    > > > This time out does not happen all of the time. My understanding is

    that
    > > the
    > > > time out value is actually set in two places. I believe one is in the

    > asp
    > > > pages for the session itself, and the other is more of a system

    timeout
    > > > settting in IIS. Would one of these supercede the other if the two

    are
    > > > different?
    > > > I have already looked at the time out setting in IIS, and it is set to

    > 900
    > > > seconds. However, the actual timeout is happening in much less than

    900
    > > > seconds, so either the setting on the asp page is controlling this, or

    > the
    > > > "900" is not really seconds but some other measure.
    > > >
    > > > Any help would be appreciated.
    > > >
    > > > Thanks,
    > > >
    > > > Ellie
    > > >
    > > >

    > >
    > >

    >
    >
    Patrice, Jun 17, 2004
    #4
  5. E Sullivan

    E Sullivan Guest

    Ok, thanks. But what about the IIS itself? Is there a timeout involved there
    also for ASP sessions?




    "Patrice" <> wrote in message
    news:...
    > The session timeout is in minutes. The script timeout is in seconds.
    >
    > Patrice
    >
    > --
    >
    > "E Sullivan" <> a écrit dans le message de
    > news:O9SCi%...
    > > I'm trying to get the answer to all of your questions. In the meantime,

    do
    > > you know if the IIS setting for a timeout is in seconds, msecs or

    minutes?
    > >
    > > thanks
    > >
    > >
    > > "Mark Schupp" <> wrote in message
    > > news:...
    > > > Is it a script timeout? A database connection timeout? A database

    query
    > > > timeout? A session timeout? A browser timeout?
    > > >
    > > > Show the actual error message. If it is a database timeout then also
    > > > indicate the DBMS you are using.
    > > >
    > > > --
    > > > Mark Schupp
    > > > Head of Development
    > > > Integrity eLearning
    > > > www.ielearning.com
    > > >
    > > >
    > > > "E Sullivan" <> wrote in message
    > > > news:...
    > > > > I am having a time out issue when multiple users are accessing the

    > > server.
    > > > > This time out does not happen all of the time. My understanding is

    > that
    > > > the
    > > > > time out value is actually set in two places. I believe one is in

    the
    > > asp
    > > > > pages for the session itself, and the other is more of a system

    > timeout
    > > > > settting in IIS. Would one of these supercede the other if the two

    > are
    > > > > different?
    > > > > I have already looked at the time out setting in IIS, and it is set

    to
    > > 900
    > > > > seconds. However, the actual timeout is happening in much less than

    > 900
    > > > > seconds, so either the setting on the asp page is controlling this,

    or
    > > the
    > > > > "900" is not really seconds but some other measure.
    > > > >
    > > > > Any help would be appreciated.
    > > > >
    > > > > Thanks,
    > > > >
    > > > > Ellie
    > > > >
    > > > >
    > > >
    > > >

    > >
    > >

    >
    >
    E Sullivan, Jun 17, 2004
    #5
  6. E Sullivan

    Patrice Guest

    The duration of an ASP session is the "session timeout" (in minutes) and it
    can be set in the IIS manager (and programmaticaly).
    The "script timeout" is the amount of time a page runs (server side of
    course) before it is stopped (such as caught in a loop or too much data
    processed).

    It would be easier to give the exact message so that we can understand which
    timeout you are talking about...

    Patrice

    --

    "E Sullivan" <> a écrit dans le message de
    news:...
    > Ok, thanks. But what about the IIS itself? Is there a timeout involved

    there
    > also for ASP sessions?
    >
    >
    >
    >
    > "Patrice" <> wrote in message
    > news:...
    > > The session timeout is in minutes. The script timeout is in seconds.
    > >
    > > Patrice
    > >
    > > --
    > >
    > > "E Sullivan" <> a écrit dans le message de
    > > news:O9SCi%...
    > > > I'm trying to get the answer to all of your questions. In the

    meantime,
    > do
    > > > you know if the IIS setting for a timeout is in seconds, msecs or

    > minutes?
    > > >
    > > > thanks
    > > >
    > > >
    > > > "Mark Schupp" <> wrote in message
    > > > news:...
    > > > > Is it a script timeout? A database connection timeout? A database

    > query
    > > > > timeout? A session timeout? A browser timeout?
    > > > >
    > > > > Show the actual error message. If it is a database timeout then also
    > > > > indicate the DBMS you are using.
    > > > >
    > > > > --
    > > > > Mark Schupp
    > > > > Head of Development
    > > > > Integrity eLearning
    > > > > www.ielearning.com
    > > > >
    > > > >
    > > > > "E Sullivan" <> wrote in message
    > > > > news:...
    > > > > > I am having a time out issue when multiple users are accessing the
    > > > server.
    > > > > > This time out does not happen all of the time. My understanding

    is
    > > that
    > > > > the
    > > > > > time out value is actually set in two places. I believe one is in

    > the
    > > > asp
    > > > > > pages for the session itself, and the other is more of a system

    > > timeout
    > > > > > settting in IIS. Would one of these supercede the other if the

    two
    > > are
    > > > > > different?
    > > > > > I have already looked at the time out setting in IIS, and it is

    set
    > to
    > > > 900
    > > > > > seconds. However, the actual timeout is happening in much less

    than
    > > 900
    > > > > > seconds, so either the setting on the asp page is controlling

    this,
    > or
    > > > the
    > > > > > "900" is not really seconds but some other measure.
    > > > > >
    > > > > > Any help would be appreciated.
    > > > > >
    > > > > > Thanks,
    > > > > >
    > > > > > Ellie
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > >
    > > >

    > >
    > >

    >
    >
    Patrice, Jun 17, 2004
    #6
  7. E Sullivan

    E Sullivan Guest

    Thanks. You're right about the error message but even after years of working
    with programs, my users still don't write them down!!!

    "Patrice" <> wrote in message
    news:OB38t$...
    > The duration of an ASP session is the "session timeout" (in minutes) and

    it
    > can be set in the IIS manager (and programmaticaly).
    > The "script timeout" is the amount of time a page runs (server side of
    > course) before it is stopped (such as caught in a loop or too much data
    > processed).
    >
    > It would be easier to give the exact message so that we can understand

    which
    > timeout you are talking about...
    >
    > Patrice
    >
    > --
    >
    > "E Sullivan" <> a écrit dans le message de
    > news:...
    > > Ok, thanks. But what about the IIS itself? Is there a timeout involved

    > there
    > > also for ASP sessions?
    > >
    > >
    > >
    > >
    > > "Patrice" <> wrote in message
    > > news:...
    > > > The session timeout is in minutes. The script timeout is in seconds.
    > > >
    > > > Patrice
    > > >
    > > > --
    > > >
    > > > "E Sullivan" <> a écrit dans le message de
    > > > news:O9SCi%...
    > > > > I'm trying to get the answer to all of your questions. In the

    > meantime,
    > > do
    > > > > you know if the IIS setting for a timeout is in seconds, msecs or

    > > minutes?
    > > > >
    > > > > thanks
    > > > >
    > > > >
    > > > > "Mark Schupp" <> wrote in message
    > > > > news:...
    > > > > > Is it a script timeout? A database connection timeout? A database

    > > query
    > > > > > timeout? A session timeout? A browser timeout?
    > > > > >
    > > > > > Show the actual error message. If it is a database timeout then

    also
    > > > > > indicate the DBMS you are using.
    > > > > >
    > > > > > --
    > > > > > Mark Schupp
    > > > > > Head of Development
    > > > > > Integrity eLearning
    > > > > > www.ielearning.com
    > > > > >
    > > > > >
    > > > > > "E Sullivan" <> wrote in message
    > > > > > news:...
    > > > > > > I am having a time out issue when multiple users are accessing

    the
    > > > > server.
    > > > > > > This time out does not happen all of the time. My understanding

    > is
    > > > that
    > > > > > the
    > > > > > > time out value is actually set in two places. I believe one is

    in
    > > the
    > > > > asp
    > > > > > > pages for the session itself, and the other is more of a system
    > > > timeout
    > > > > > > settting in IIS. Would one of these supercede the other if the

    > two
    > > > are
    > > > > > > different?
    > > > > > > I have already looked at the time out setting in IIS, and it is

    > set
    > > to
    > > > > 900
    > > > > > > seconds. However, the actual timeout is happening in much less

    > than
    > > > 900
    > > > > > > seconds, so either the setting on the asp page is controlling

    > this,
    > > or
    > > > > the
    > > > > > > "900" is not really seconds but some other measure.
    > > > > > >
    > > > > > > Any help would be appreciated.
    > > > > > >
    > > > > > > Thanks,
    > > > > > >
    > > > > > > Ellie
    > > > > > >
    > > > > > >
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > >
    > > >

    > >
    > >

    >
    >
    E Sullivan, Jun 17, 2004
    #7
  8. E Sullivan

    Patrice Guest

    As a side note you could trap most if not all server side error messages.
    See http://support.microsoft.com/default.aspx?scid=kb;EN-US;224070

    For example, it could mail you all details about the error (error details
    but also request.form, session variables and so on)


    Patrice
    --

    "E Sullivan" <> a écrit dans le message de
    news:%...
    > Thanks. You're right about the error message but even after years of

    working
    > with programs, my users still don't write them down!!!
    >
    Patrice, Jun 17, 2004
    #8
  9. E Sullivan

    E Sullivan Guest

    Here is the exact error message. Seems pretty obvious but if you have
    anything to add, let me know.

    Thanks:


    Active Server Pages error 'ASP 0113'

    Script timed out

    /deptStats.asp

    The maximum amount of time for a script to execute was exceeded. You
    can change this limit by specifying a new value for the property
    Server.ScriptTimeout or by changing the value in the IIS administration
    tools.
    E Sullivan, Jun 18, 2004
    #9
  10. E Sullivan wrote:
    > Here is the exact error message. Seems pretty obvious but if you have
    > anything to add, let me know.
    >
    > Thanks:
    >
    >
    > Active Server Pages error 'ASP 0113'
    >
    > Script timed out
    >
    > /deptStats.asp
    >
    > The maximum amount of time for a script to execute was exceeded. You
    > can change this limit by specifying a new value for the property
    > Server.ScriptTimeout or by changing the value in the IIS
    > administration tools.


    The only thing I can add is that you should not willy-nilly increase the
    script timeout to a higher value. You should concentrate on discovering why
    the page is taking so long to run. This will require some debugging to
    determine the precise cause of the timeout.

    Bob Barrows
    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
    Bob Barrows [MVP], Jun 18, 2004
    #10
    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. Bob Johnson
    Replies:
    0
    Views:
    3,723
    Bob Johnson
    Aug 7, 2003
  2. Do
    Replies:
    2
    Views:
    6,327
  3. Guoqi Zheng
    Replies:
    4
    Views:
    12,997
    Guoqi Zheng
    Jun 3, 2004
  4. Just D

    IIS timeout, IE timeout or what?

    Just D, Jun 21, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    3,509
    Just D
    Jun 21, 2004
  5. Mark Probert

    Timeout::timeout and Socket timeout

    Mark Probert, Oct 6, 2004, in forum: Ruby
    Replies:
    1
    Views:
    1,250
    Brian Candler
    Oct 6, 2004
Loading...

Share This Page