473,411 Members | 2,059 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,411 software developers and data experts.

ASP Script Timeout

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 out
what the limit is for this setting.

I asked my ISP who is hosting my web site if they have know the limit
and if they have a limit of their own. They replied that the limit is
90 seconds and that it cannot be overridden.

Is my ISP's support team mistaken here?

Thanks in advance.

Randy
Jul 19 '05 #1
6 11921
> connection. Everything I read suggests that I can change the
Server.ScriptTimeout to address this, but I was unable to find out
what the limit is for this setting.
http://www.aspfaq.com/2066
http://www.aspfaq.com/2287

However, increasing a timeout value is like bandaging a broken bone.

See http://www.aspfaq.com/2424 for some better ideas.
They replied that the limit is
90 seconds and that it cannot be overridden.

Is my ISP's support team mistaken here?


Yes. However, as I stated above, if your ASP page takes longer than 90
seconds to return a result, your problem is much deeper than a simple
timeout setting.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #2
I'm not aware of any setting for this that cannot be overridden.

Someone can correct me if I am wrong on this.

Have you tried adding
Server.ScriptTimeout = xxx
to your page?

Cheers!

Anthony Sullivan

"Randy Weber" <ra******@yahoo.com> wrote in message
news:8d**************************@posting.google.c om...
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 out
what the limit is for this setting.

I asked my ISP who is hosting my web site if they have know the limit
and if they have a limit of their own. They replied that the limit is
90 seconds and that it cannot be overridden.

Is my ISP's support team mistaken here?

Thanks in advance.

Randy

Jul 19 '05 #3
"Aaron Bertrand - MVP" wrote:

However, increasing a timeout value is like bandaging a broken
bone...

...as I stated above, if your ASP page takes longer than 90
seconds to return a result, your problem is much deeper than
a simple timeout setting.


This is either arrogant or ignorant, Aaron. Even your own article
acknowledges that some script runtimes are beyond the developer's control.

I have a script that uploads (into SQL Server) the contents of a vendor's
proprietary database, the completion of which requires a vendor-supplied
interface. My script takes 15-20 minutes to run (for a mere 15,000 records),
so I crank up the ScriptTimeout.

My script has been functioning flawlessly for two years, and the vendor
finally offered a tool to extract their DB into Access (but no other DB).
Turns out my script is just as fast as the vendor's own tool, so we left it
alone.

Some may question the use of a web script for this, but I find that it
offers many benefits, especially security and the ability to run the job on
demand from anywhere on the network.

On the down side, we had to install the vendor's API on one of our web
servers.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #4
> This is either arrogant or ignorant, Aaron.

That's a pretty rude way to tell me I forgot to include the word "probably"
in my statement.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #5
"Aaron Bertrand - MVP" wrote:
This is either arrogant or ignorant, Aaron.


That's a pretty rude way to tell me I forgot to include
the word "probably" in my statement.


In that case, it was *probably* arrogant or ignorant. :-P

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #6
> In that case, it was *probably* arrogant or ignorant. :-P

That's much better.
Jul 19 '05 #7

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...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.