Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Re: script.timeout problem


Message #1 by "Shabbir Moiyed" <shabbirj82@h...> on Sun, 2 Feb 2003 18:56:57
the thing is that it is taking too much of time to execute my script . I 
was told not to use addnew method since that is slowly executed . 

is that the reason 


> Well as the same error message says, the script took too long to finish 
its
execution.

You could increase your script timeout with

Server.ScriptTimeout = <time>

If I'm not wrong, the time is in seconds. Try increasing that value in the
page you're getting that error.

Hope it helps.

Francisco

----- Original Message -----
From: "Shabbir Moiyed" <shabbirj82@h...>
To: "Access ASP" <access_asp@p...>
Sent: Friday, January 31, 2003 11:53 AM
Subject: [access_asp] script.timeout problem


> Well i am getting the following error ...
>
> please tell me the possible ways of cracking this problem
>
> Error Type:
> Active Server Pages, ASP 0113 (0x80004005)
> 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.
> /bidding/registration1.asp
>
>
>
> i really cant understand to why the above error had incurred
>
> please help
>
> Shabbir

Message #2 by "Philhouse" <spam@t...> on Tue, 4 Feb 2003 06:03:21
There's a lot of reasons why that could happen... if you're iterating 
through a recordset and you forget to to a RecordSet.MoveNext, that would 
do it.  It could also happen if the number of queries you're executing is 
too large.. what does your script look like?

Clear Skies

> the thing is that it is taking too much of time to execute my script . I 
w> as told not to use addnew method since that is slowly executed . 

> is that the reason 

> 
>>  Well as the same error message says, the script took too long to 
finish 
i> ts
e> xecution.

> You could increase your script timeout with

> Server.ScriptTimeout = <time>

> If I'm not wrong, the time is in seconds. Try increasing that value in 
the
p> age you're getting that error.

> Hope it helps.

> Francisco

> ----- Original Message -----
F> rom: "Shabbir Moiyed" <shabbirj82@h...>
T> o: "Access ASP" <access_asp@p...>
S> ent: Friday, January 31, 2003 11:53 AM
S> ubject: [access_asp] script.timeout problem

> 
>>  Well i am getting the following error ...
>> 
>>  please tell me the possible ways of cracking this problem
>> 
>>  Error Type:
>>  Active Server Pages, ASP 0113 (0x80004005)
>>  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.
>>  /bidding/registration1.asp
>> 
>> 
>> 
>>  i really cant understand to why the above error had incurred
>> 
>>  please help
>> 
>>  Shabbir
%> %email.unsub%%.

Message #3 by "Shabbir Moiyed" <shabbirj82@h...> on Tue, 4 Feb 2003 10:08:57
thanks 
this was the problem . i had forgotten to do a movenext term .... 


thanks :)


> There's a lot of reasons why that could happen... if you're iterating 
t> hrough a recordset and you forget to to a RecordSet.MoveNext, that 
would 
d> o it.  It could also happen if the number of queries you're executing 
is 
t> oo large.. what does your script look like?

> Clear Skies

> > the thing is that it is taking too much of time to execute my script . 
I 
w> > as told not to use addnew method since that is slowly executed . 

> > is that the reason 

> > 
>> >  Well as the same error message says, the script took too long to 
f> inish 
i> > ts
e> > xecution.

> > You could increase your script timeout with

> > Server.ScriptTimeout = <time>

> > If I'm not wrong, the time is in seconds. Try increasing that value in 
t> he
p> > age you're getting that error.

> > Hope it helps.

> > Francisco

> > ----- Original Message -----
F> > rom: "Shabbir Moiyed" <shabbirj82@h...>
T> > o: "Access ASP" <access_asp@p...>
S> > ent: Friday, January 31, 2003 11:53 AM
S> > ubject: [access_asp] script.timeout problem

> > 
>> >  Well i am getting the following error ...
>> > 
>> >  please tell me the possible ways of cracking this problem
>> > 
>> >  Error Type:
>> >  Active Server Pages, ASP 0113 (0x80004005)
>> >  The maximum amount of time for a script to execute was exceeded. You 
c> an
>> >  change this limit by specifying a new value for the property
>> >  Server.ScriptTimeout or by changing the value in the IIS 
administration
>> >  tools.
>> >  /bidding/registration1.asp
>> > 
>> > 
>> > 
>> >  i really cant understand to why the above error had incurred
>> > 
>> >  please help
>> > 
>> >  Shabbir
%> > %email.unsub%%.


  Return to Index