Re: ADO/ASP timeout issue
- From: "Daniel Crichton" <msnews@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 11:07:44 -0000
Subrata wrote on Fri, 27 Jan 2006 11:56:00 +0530:
> In our .NET application, we are querying a Sybase database to retrieve
> records that needs to be displayed on the screen. We have a sql which
> takes more than 2 mins to run. When executing the same from aspx page, the
> application does not wait till 2 mins. It waits exactly 60 secs and then
> gives a "Timeout Exceeded" Error.
>
> Checked out the site, http://www.dotnetjunkies.com/Forums/ShowPost.aspx?PostID=8996
> to solve this issue. Tried changing the connection string but still it
> didn't help.
>
> On dev environment it waits for 60 secs but the same application on
> staging machine takes only 30secs to throw the error message above. Are
> there any settings where we can increase the time out period from the .NET
> application to the database?
Is it definitely an error from ADO, or is it an ASP error? "Time Exceeded"
sounds more like an ASP error - try adding
Script.Timeout = 600
at the top of the page (this sets the script engine timeout to 10 mins - 600
seconds - you could try lower settings once you've determined that this is
the cause of the error rather than ADO).
Dan
.
- References:
- ADO/ASP timeout issue
- From: Subrata
- ADO/ASP timeout issue
- Prev by Date: Re: DataSets and SQL Server
- Next by Date: Lookup executes 3 time upon Recordset.Save
- Previous by thread: RE: ADO/ASP timeout issue
- Next by thread: Q: DataSets and SQL Server
- Index(es):
Relevant Pages
- Select * returns Unspecified error, but Select ID WORKS --- Help !!!!
... I am trying to track down why Delphi and ADO is having a problem ...
I am connecting to Sybase database, when I try to perform the ... (borland.public.delphi.database.ado) - Select * returns Unspecified Error, but Select ID WORKS ... HELP
... I am trying to figure out why Delphi and ADO are having a problem ... selecting
data from Sybase database. ... I am trying to run a query like this "Select
* from Orders" but I get ... (borland.public.delphi.database.ado)