ScriptTimeout

i want to trap the ASP ScriptTimeout Error. Its okay if i can do it in the
same page or redirect to any other page via coding or via any changes in
IIS. This is very important to us.

View Replies


ADVERTISEMENT

Where To Use Server.ScriptTimeout

Does this need to be stated in each asp page or does it hold for the entire session?

View Replies View Related

ScriptTimeout Error

I made an ASP page which converts big data from a CSV file to SQL Server.It takes so long like an hour.So in the page I wrote the following line.

Server.ScriptTimeout = 100000

But the pages gives an timeout error after about 40 minutes.When I tested it with empty infinite loop, it went over 1 hour.I can't find anything else that I can do about it at this point.what can I do?

View Replies View Related

Server.ScriptTimeout

The file upload process I coded works great until I get to files of larger size (lets say 3 MB or greater). Without going into detail, there are files even zipped that will be greater than this size. What I have done currently to get around this problem is to set

<% Server.ScriptTimeout = 600 %>

I think this means the server will allow the script to run for 10 minutes before timing out. Changing this allows all the current files to be uploaded which is good and takes care of my problem. The reason I am posting… do I just keep bumping this value up when I encounter a file that times out or how are other people handling this issue? Is there a way to set this value to be unlimited… as in, run as long as needed or would this be a bad idea?

View Replies View Related

Script Server.ScriptTimeout

I want to make Server.ScriptTimeout to infinity and tried to set to 0 but it does not work. Can you please give more ideas?

View Replies View Related

ASP - Server.ScriptTimeout Problem

i'm using SAFileup to upload files to an IIS server. whenever i try to upload anything over 1.5mb it times out. even when i've bumped up the server.scriptTimeout value to 3600!

tech support at the host (webcentral) say they have no problems uploading a 3mb file. I'm on cable uploading at 20k/s so it shouldn't take long to upload a 3mb file at all....

Below is the code i got from the host to test with. they say it works fine but all my uploads time out. I've tested it on a different computer and ISP (business ADSL) and still the same error. Code:

View Replies View Related

Alter Server.ScriptTimeout

if I add <% Server.ScriptTimeout = 300 %> to a page, does that then alter
the default 90 second script timeout for ALL pages (if so, is it for that
session or until??) or does it just alter the timeout for THAT individual
page?I've been through the IIS docs and I haven't been able to find the
definitive answer.

View Replies View Related

Server.ScriptTimeout Redirect Question

I have an upload page set up and the script timeout is set to 2000. What I want to do is have the user redirected to a custom error page that I have created when the script times out. I am having trouble achieving this.

View Replies View Related

Server.ScriptTimeout Pros & Cons

Can anyone suggest any negative effects from having my pages ScriptTimeout property set to something like 90 seconds?

My host currently has it set at a paltry 5 seconds but our client will occasionally be uploading images with a 28.8Kbps (!!!) so I have set the Server.ScriptTimeout property to 180 for the upload pages and 90 for all others. Will there be any performance hit as a result of increasing the timeout on all pages to at least 90 seconds?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved