Re: How to extend running time for Web Application?

From: Grace (Grace_at_discussions.microsoft.com)
Date: 02/04/05


Date: Fri, 4 Feb 2005 01:01:07 -0800

I don't configure the IIS setting.
I already set ScriptTimeout and SqlCommand's CommandTimeout, but it doesn't
work.
The Web Page only needs a DataGrid which shows the processing result.
So, I use Response.BufferOutput=false; , it still doesn't work.

ASP Web Page can use Server.ScriptTimeout to extend running time,
but ASP.NET seems no work for it.

I think ASP.NET should have this function, but I don't find it until now.

If you have other suggestions, please kindly tell me.
Thanks.

"Yunus Emre ALPÖZEN" wrote:

> May your application have 60 seconds time out. which configured via IIS
> manager. My advice you to test it using Response.BufferOutput is false. and
> flush it at some count of records.
>
> Also, i wonder if does it give a sql connection time out or ASP.NET timeout?
> If it gives a sql connection time out, you must set timeout in your
> connection string...
>
> --
> Thanks,
> Yunus Emre ALPÖZEN
>
>
>
> "Grace" <Grace@discussions.microsoft.com> wrote in message
> news:9E4CA84B-5015-4B30-9D99-3C8FE6B27DB3@microsoft.com...
> > Hello,
> > I write a Web Application:
> > its UI has a DataGrid controller.
> > The web application gets huge data from SQL Server,
> > then shows the result after processing these data.
> >
> > It needs much time to run it.
> > But, it happened an error after running less than 60 seconds.
> > This error didn't explain detail.
> > I set
> > Server.ScriptTimeout=600;
> > <httpRuntime executionTimeout="600" />
> > cmd.CommandTimeout=600;
> > But, it doesn't work.
> > It still has an error in 60 seconds.
> >
> > How to solve it?
> > Thanks.
> >
>
>
>