Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 2.00 average. Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 4th, 2004, 02:45 PM
hominamad hominamad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 4 hominamad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 40 sec
Reputation Power: 0
Question ASP Script Timeout Maximum

Hi all,

I'm using an ASP Upload component to upload pdf files to my application. Usually the files are relatively small. However, I have one file which is 27MB. When this is uploaded, it is causing a script timeout. The timeout value was originally set to 9000 which is unecessarily large. My question is - is there a maximum value that IIS will accept? If this maximum is exceeded, will it cause the value to become the default value - ie 90 sec?

If not, how could a script timeout occur if the value is set to 9000?

Thanks in advance,
~H

Reply With Quote
  #2  
Old February 4th, 2004, 02:47 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
Click here for more information.
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,781 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 8 h 45 m 55 sec
Reputation Power: 470
My first question would be why would you allow an upload of 27MB????
Zip it!

Reply With Quote
  #3  
Old February 4th, 2004, 03:00 PM
hominamad hominamad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 4 hominamad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 40 sec
Reputation Power: 0
Quote:
Originally Posted by Memnoch
My first question would be why would you allow an upload of 27MB????
Zip it!


Good question. This is an online financial system. The file is a prospectus. Once uploaded, there is a link for users to view the prospectus from within their browser. This is a requirement of our client. I agree, it seems silly, but it has to be this way unfortunately.

Anyway, we may figure out a way around this another way if we can't solve it. But I'm curious about this question in any case. If a timeout value is set too large, will IIS assume the default setting?

Reply With Quote
  #4  
Old February 4th, 2004, 05:53 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
Click here for more information.
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,781 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 8 h 45 m 55 sec
Reputation Power: 470
Maximum ScriptTimeout value can be upto 24 hours (1440 minutes).
No, it won't resume back to the default. It will just error.

It is entirely possible that it could timeout at 9000 when trying to upload a 27MB file, considering upload speeds are usually 1/2 of what download speeds are.

So a person with a 56K modem trying to upload a 27MB file to your server could get a timeout error.

Last edited by Memnoch : February 4th, 2004 at 05:58 PM.

Reply With Quote
  #5  
Old February 5th, 2004, 09:06 AM
hominamad hominamad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 4 hominamad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 40 sec
Reputation Power: 0
Memnoch - thanks for the reply!

You say it will just error if you exceed the maximum timeout. What does that mean exactly? What kind of error will it throw? The error we're getting now is a script timeout - and it's definately happening way before 9000 seconds. So are you saying that if you exceed the maximum - 24 hours - that it will just take 24 hours as the value?

Also, none of the users of this application are using modems. They are all traders within the corporate network of our client.

Do you know anywhere online where I can find this kind of information? I tried searching around on MSDN but couldn't find much.

Thanks,

H

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > ASP Script Timeout Maximum


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT