Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > script timeout

Reply
Thread Tools

script timeout

 
 
PCH
Guest
Posts: n/a
 
      12-19-2003
I have a page in asp.net (vb.net) that does some background processing.

the user enters info on the aspx page and clicks run.

That goes to the codebehind to do data/file work.

It can take up to say 10minutes to do the processing.

I've set the server.scripttimeout to a high value.

the problem is that even when the code has "finished" and i can see the
actual data as done.. the webpage itself never completes.

Its supposed to change the text of a few asp.net labels and Exit sub out the
code behind.

It never does.. it will sit there until it finally hits the page timeout or
some other error.

it appears that if it takes over say.. 5minutes.. this hang happens.. if the
page completes its tasks in ~2 minutes it has no problem.

the session timeout is 30min and the page timeout is 30min..

any ideas?

Thanks.


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      12-20-2003
10 minutes is too long, most browsers will not wait that long, they give up.
you should send some data back periodically to keep the browser happy. send
some "."'s


-- bruce (sqlwork)

"PCH" <> wrote in message
news:...
> I have a page in asp.net (vb.net) that does some background processing.
>
> the user enters info on the aspx page and clicks run.
>
> That goes to the codebehind to do data/file work.
>
> It can take up to say 10minutes to do the processing.
>
> I've set the server.scripttimeout to a high value.
>
> the problem is that even when the code has "finished" and i can see the
> actual data as done.. the webpage itself never completes.
>
> Its supposed to change the text of a few asp.net labels and Exit sub out

the
> code behind.
>
> It never does.. it will sit there until it finally hits the page timeout

or
> some other error.
>
> it appears that if it takes over say.. 5minutes.. this hang happens.. if

the
> page completes its tasks in ~2 minutes it has no problem.
>
> the session timeout is 30min and the page timeout is 30min..
>
> any ideas?
>
> Thanks.
>
>



 
Reply With Quote
 
 
 
 
PCH
Guest
Posts: n/a
 
      12-20-2003
i have incorporated a response.flush.. ill try some .'s as well.

it "feels" like its iis/asp.net tho.. because the task will finish in say..
9 minutes, but it still sits there for another 10 until the timeout hits..
like the process takes so long it forgets where to send the end class/sub
calls....


"bruce barker" <> wrote in message
news:OO5%...
> 10 minutes is too long, most browsers will not wait that long, they give

up.
> you should send some data back periodically to keep the browser happy.

send
> some "."'s
>
>
> -- bruce (sqlwork)
>
> "PCH" <> wrote in message
> news:...
> > I have a page in asp.net (vb.net) that does some background processing.
> >
> > the user enters info on the aspx page and clicks run.
> >
> > That goes to the codebehind to do data/file work.
> >
> > It can take up to say 10minutes to do the processing.
> >
> > I've set the server.scripttimeout to a high value.
> >
> > the problem is that even when the code has "finished" and i can see the
> > actual data as done.. the webpage itself never completes.
> >
> > Its supposed to change the text of a few asp.net labels and Exit sub out

> the
> > code behind.
> >
> > It never does.. it will sit there until it finally hits the page timeout

> or
> > some other error.
> >
> > it appears that if it takes over say.. 5minutes.. this hang happens.. if

> the
> > page completes its tasks in ~2 minutes it has no problem.
> >
> > the session timeout is 30min and the page timeout is 30min..
> >
> > any ideas?
> >
> > Thanks.
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Guoqi Zheng ASP .Net 4 06-03-2004 06:39 PM
Session contents lost despite Session.Timeout = 3000; and <sessionState mode="InProc" cookieless="false" timeout="300"> Carpe Diem ASP .Net 3 02-23-2004 07:10 PM
web.config session timeout and forms authentication timeout Do ASP .Net 2 11-23-2003 02:27 PM
Re: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Bob Johnson ASP .Net 0 08-07-2003 12:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57