Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP timeout issue

Reply
Thread Tools

ASP timeout issue

 
 
E Sullivan
Guest
Posts: n/a
 
      06-17-2004
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


 
Reply With Quote
 
 
 
 
Mark Schupp
Guest
Posts: n/a
 
      06-17-2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
 
E Sullivan
Guest
Posts: n/a
 
      06-17-2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      06-17-2004
The session timeout is in minutes. The script timeout is in seconds.

Patrice

--

"E Sullivan" <(E-Mail Removed)> a écrit dans le message de
news:O9SCi%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
E Sullivan
Guest
Posts: n/a
 
      06-17-2004
Ok, thanks. But what about the IIS itself? Is there a timeout involved there
also for ASP sessions?




"Patrice" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The session timeout is in minutes. The script timeout is in seconds.
>
> Patrice
>
> --
>
> "E Sullivan" <(E-Mail Removed)> a écrit dans le message de
> news:O9SCi%(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      06-17-2004
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" <(E-Mail Removed)> a écrit dans le message de
news:(E-Mail Removed)...
> Ok, thanks. But what about the IIS itself? Is there a timeout involved

there
> also for ASP sessions?
>
>
>
>
> "Patrice" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > The session timeout is in minutes. The script timeout is in seconds.
> >
> > Patrice
> >
> > --
> >
> > "E Sullivan" <(E-Mail Removed)> a écrit dans le message de
> > news:O9SCi%(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > 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
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
E Sullivan
Guest
Posts: n/a
 
      06-17-2004
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" <(E-Mail Removed)> wrote in message
news:OB38t$(E-Mail Removed)...
> 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" <(E-Mail Removed)> a écrit dans le message de
> news:(E-Mail Removed)...
> > Ok, thanks. But what about the IIS itself? Is there a timeout involved

> there
> > also for ASP sessions?
> >
> >
> >
> >
> > "Patrice" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > The session timeout is in minutes. The script timeout is in seconds.
> > >
> > > Patrice
> > >
> > > --
> > >
> > > "E Sullivan" <(E-Mail Removed)> a écrit dans le message de
> > > news:O9SCi%(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > news:(E-Mail Removed)...
> > > > > > 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
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      06-17-2004
As a side note you could trap most if not all server side error messages.
See http://support.microsoft.com/default...b;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" <(E-Mail Removed)> a écrit dans le message de
news:%(E-Mail Removed)...
> Thanks. You're right about the error message but even after years of

working
> with programs, my users still don't write them down!!!
>



 
Reply With Quote
 
E Sullivan
Guest
Posts: n/a
 
      06-18-2004
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.




 
Reply With Quote
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      06-18-2004
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"


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Guoqi Zheng ASP .Net 4 06-03-2004 06:39 PM
Session contents lost despite Session.Timeout = 3000; and <sessionState mode="InProc" cookieless="false" timeout="300"> Carpe Diem ASP .Net 3 02-23-2004 07:10 PM
web.config session timeout and forms authentication timeout Do ASP .Net 2 11-23-2003 02:27 PM
Re: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Bob Johnson ASP .Net 0 08-07-2003 12:52 PM



Advertisments