473,405 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

script timeout

PCH
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.
Nov 18 '05 #1
2 1699
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" <pc***@hotmail.com> wrote in message
news:uD**************@TK2MSFTNGP12.phx.gbl...
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.

Nov 18 '05 #2
PCH
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" <no***********@safeco.com> wrote in message
news:OO****************@TK2MSFTNGP09.phx.gbl...
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" <pc***@hotmail.com> wrote in message
news:uD**************@TK2MSFTNGP12.phx.gbl...
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.


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Silver | last post by:
I have a perl script running on machine A, a web server. A visitor completes certain pieces of data and these are compiled into two emails, one addressed to the visitor and copied to the site...
8
by: Mathieu Blais | last post by:
Hi, I need to capture the Script timeout error if that is possible. I know I can increase the timeout value in the server settings or in the scripts itself but I really want to make sure that no...
6
by: Randy Weber | last post by:
I occasionally am getting a script timeout while using an ASP database connection. Everything I read suggests that I can change the Server.ScriptTimeout to address this, but I was unable to find...
0
by: SPD | last post by:
I've been researching this issue with little luck. Here's the situation: We have a few users on slow dialup connections who are posting data from forms. Frequently, they get script timeout...
13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
11
by: www.MessageMazes.com | last post by:
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). > Active Server Pages error 'ASP 0113' > Script...
0
by: Frederic Wenzel | last post by:
I wrote a script on Linux that uses pyserial to read status messages from a serial line using readlines(). For now, it just displays what it gets on stdout: 17:42 | 0005 | 02 | | 5 |Rack...
8
by: michal | last post by:
hi guys, i was wondering how you deal with script timeouts caused by huge file uploads. Lets say I have a script timeout of 2 minutes and the user uploads a file which takes more than this ......
15
by: Mikhail Kovalev | last post by:
Fatal error: Maximum execution time of 3600 seconds exceeded in z:\home \localhost\www\somefile.php on line 138 php.ini setting fixes default max execution time at 30 sec, In the script itself I...
5
by: This | last post by:
I have a pretty basic emailing script that sends a relatively small number (150) of html emails. The emails are compiled, personalised from a mysql db subscribers list, and sent using mail() -...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.