SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Nov 10, 2011, 18:37 #1
- Join Date
- Nov 2011
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
File upload times out before the file is uploaded
I am using AspUpload to upload a pdf document of about 5mb to my site.
After 90 seconds consistently, the upload finishes without an error. When I try to open the uploaded file, I get a 500 error.
I can upload a smaller file successfully using the same code.
Something appears to be timing out. In IIS, the session is set at 20 minutes and the VBScript at 600 seconds.
The ADODB.Connection ConnectionTimeout and CommandTimeout are both set at 600 seconds.
What am I doing wrong?
Your help would be much appreciated.
Thanking you in anticipation.
Roger
-
Nov 11, 2011, 01:27 #2
- Join Date
- May 2007
- Location
- Poole, UK
- Posts
- 5,077
- Mentioned
- 103 Post(s)
- Tagged
- 0 Thread(s)
I've never used asp but in PHP a limit can be set on the maximum amount of memory that can be used by a script, if there is a similar setting for asp, try setting it to a higher value
Community Team Advisor
Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator
Bookmarks