www.MessageMazes.com wrote:[color=blue]
> I sometimes get this error after about 60 seconds of "waiting for
> mazes.com" (but when the page works, it usually loads in less than 12
> seconds).
>[color=green]
>> Active Server Pages error 'ASP 0113'
>> Script timed out
>> /asp-maze/amazingtest.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.[/color]
>
> but if I click refresh, I usually get the page.
>
> There is a very remote chance that there might be a loop causing this
> problem, but I don't think so. I've added timer-checks to the loops
> that might cause a problem, and have added other escape methods to
> other places that I think have caused the problem.
>
> My questions:
>
> 1) Can the system be set to tell what line of the program was
> executing when it timed out?[/color]
Not that I know of. You will need to add some logging functionality to your
application so you can see what was happening.[color=blue]
>
> 2) Could this be caused by too many people accessing ASP pages at the
> same time? How would he increase the number of users allowed to be
> loading pages simultaneously?[/color]
Maybe. What is occurring in that loop?
[color=blue]
>
> 3) What steps would he use to reduce the time for this parameter, or[/color]
You can do it yourself by adding a
Server.ScriptTimeout = 120
command in your page. Not that I recommend doing this ...
[color=blue]
> should I reduce it. 60 seconds seems awfully long, but I do have
> another page that I[/color]
John? John?? Are you ok? OMIGOD, JOHN'S BEEN KIDNAPPED BY ALIENS!! ;-)
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.