"Script timed out" error
- From: Justin Doh <JustinDoh@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 17:04:03 -0700
I am trying to retrieve a data over web using SQL2005 and ASP page.
I am still not able to fix my issue.
"Script timed out"
I think if I query data at SQL2005 directly, it takes about 2 min 38 sec.
and I am able to get data.
So, I am trying to fix at ASP coding.
First, I set up
<% server.ScriptTimeout = 10000 %>, but still getting error.
Second,
I have this set up this during the retrieval of recordset using a stored
procedure.
..ConnectionTimeout = 4800
..CommandTimeout = 4800
Thirdly,I had placed "Response.Flush" at the end of looping of data.
But I am still getting error.
If it runs fine at the SQL server directly, what can I do at ASP page?
I would appreciate for any help.
Thanks.
.
- Follow-Ups:
- Re: "Script timed out" error
- From: Bob Barrows [MVP]
- Re: "Script timed out" error
- Prev by Date: Re: Get a month's days and merge with a table
- Next by Date: Re: "Script timed out" error
- Previous by thread: Get a month's days and merge with a table
- Next by thread: Re: "Script timed out" error
- Index(es):
Relevant Pages
|
Loading