Forums

ASP

This topic is locked

ASP upload timeouts

Posted 24 Jun 2005 18:28:01
1
has voted
24 Jun 2005 18:28:01 Ian Jackson posted:
Hi all, I'm experiencing timeouts a lot when trying to upload files through a web page. I'm using Pure ASP Upload which allows me to enter a timeout value. This is currently set to 600 seconds, but it appears that any file bigger than about 1MB times out irrespective of time...
I think it may be something to do with my ISP server settings. Does anyone know how I can override this?
Many thanks,
Ian

Replies

Replied 15 Jul 2005 16:55:52
15 Jul 2005 16:55:52 myke black replied:
if you're using IIS v 5 or 6, (windows xp or windows 2003) then you can set the asp connection timeout as follows:

go to control panel
open 'administrative tools'
open 'internet information services'
click on the plus sign next to the computer name
click on the plus sign next to the folder called 'web sites'
right click on the site you want to modify and select 'properties' - (this might be the default website)
In the first panel of the properties window, change the 'connection timeout' to a larger value
then select the home directory tab,
click on the configuration button,
click on the options tab
and set the asp script timeout from 90 seconds to whatever you want.



There is also a limit in the size of files you can upload in the IIS metabase.xml file. To check this, open the metabase.xml file which should be in C:\windows\sytem32\inetserv then look for a bit which says "AspMaxRequestEntityAllowed" and change the value from 204800 (200K) to 2048000 (2 Meg) and that might help things out. You will probably need to restart IIS after changing the metabase.xml file.

hope this helps




Edited by - mykeblack on 15 Jul 2005 17:01:17

Reply to this topic