SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    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

  2. #2
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    4,904
    Mentioned
    93 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •