473,804 Members | 2,184 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.ScriptTi meout 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 11959
> connection. Everything I read suggests that I can change the
Server.ScriptTi meout 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.ScriptTi meout = xxx
to your page?

Cheers!

Anthony Sullivan

"Randy Weber" <ra******@yahoo .com> wrote in message
news:8d******** *************** ***@posting.goo gle.com...
I occasionally am getting a script timeout while using an ASP database
connection. Everything I read suggests that I can change the
Server.ScriptTi meout 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
4527
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 owner, the other addressed to the webmaster and including cookie and timing data for debugging. The email is sent by machine B which is the email server for the domain. Here are some config values for the perl script, names have been changed to...
8
7042
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 timeout situation will results as the standard script timeout error page. Can we do this ?? Help please.
0
1352
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 errors. We've gotten timeouts from users with faster connections as well, so I suspected that the overall load is overtaxing the server. But it does seem to be more frequent with dialup users posting relatively large (>10K) worth of data from forms....
13
7784
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 within that directory OR 2) Within a specific page, set the timeout as per http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2000/en/server/iis/htm/asp/vbob246s.htm e.g. <% Server.ScriptTimeout = 1 %> and that the value in...
11
24180
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 timed out > /asp-maze/amazingtest.asp > The maximum amount of time for a script to execute was exceeded. You can > change this limit by specifying a new value for the property Server.ScriptTimeout > or by changing the value in the IIS...
0
1600
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 Abs.| - | --210 17:42 | 0008 | 02 | | 5 |Rack Abs.| - | --210 17:42 | 0001 | 02 | | 5 |Rack Abs.| - | --210 17:43 | 0008 | 02 | | 5 |Rack Abs.| - | --210 17:43 | 0001 | 02 | | 5 |Rack Abs.| - | --210 17:43 | 0005 | 02 | | 5 ...
8
3523
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 ... Whats the best way to inform the user about this issue rather than throwing the script timeout error. What approaches do you use for this....
15
2295
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 have set_time_limit(0); I have also tried set_time_limit(90000); with no luck. Checked if php was running in safe mode, and it wasn't. Are there any other reasons that can cause this behavior?
5
3488
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() - after sending, a small summary html page is sent to the user with number sent, time taken and a simple navigation choice. Up to about 100 emails it all works fine - this takes the server about 27 secs . Any more than that and although the emails are...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9171
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7634
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5530
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.