Problem with file uploading new to asp.. Need help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike

    Problem with file uploading new to asp.. Need help

    Hi i have a problem in asp.ne
    i am uploading file to the server using htmlinput controls and every thing is o
    but i try to upload larger file to the server like more than 4 mb and about 10mb i got server connection lost and time out some no responce
    is there any solution to that problem using asp.net and c
    thank


  • Dominique

    #2
    Re: Problem with file uploading new to asp.. Need help

    r u running iis 6 on w2k3?

    there's a limit on the amount of data that can be transferred blah blah...

    quick fix is to change it in the metabase file. Look for these lines:

    AspMaxRequestEn tityAllowed Default is 204800 (200kb)
    AspBufferingLim it Default is 4194304 (4MB+)

    quote from another user with the same problems...

    "If I remember correctly, AspMaxRequestEn tityAllowed applies to all
    situations where you want to upload something larger than 200kb. (i.e.
    ASPUpload) But, if you're using the native uploading in ASP then
    AspBufferingLim it needs to be increased also if you want to upload files
    larger than 4MB."





    "Mike" <anonymous@disc ussions.microso ft.com> wrote in message
    news:7327827F-32E2-4856-8C2F-E34E6BAE04FB@mi crosoft.com...[color=blue]
    > Hi i have a problem in asp.net
    > i am uploading file to the server using htmlinput controls and every thing[/color]
    is ok[color=blue]
    > but i try to upload larger file to the server like more than 4 mb and[/color]
    about 10mb i got server connection lost and time out some no responce .[color=blue]
    > is there any solution to that problem using asp.net and c#
    > thanks
    >
    >[/color]


    Comment

    • mike

      #3
      Re: Problem with file uploading new to asp.. Need help

      Hi i am running iis
      the problem is not the size of file cos i changed the max size to upload
      but its but technique i think i am missing. is there better technique avaialble to implement that code with out any controls or components
      thanks

      Comment

      • Bullschmidt

        #4
        Re: Problem with file uploading new to asp.. Need help

        Well at least with classic ASP (and of course this is a classic ASP
        newsgroup) here is a pure ASP code (i.e. no component) resource for
        letting the user upload a file:

        ASP File Upload Using VBScript by John R. Lewis - 7/10/2000


        Best regards,
        J. Paul Schmidt, Freelance ASP Web Consultant
        Do you have an idea for a database on the Web? Hi! I'm a freelance Web and/or database developer who can make database information available 'live' on the Web.

        ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


        *** Sent via Developersdex http://www.developersdex.com ***
        Don't just participate in USENET...get rewarded for it!

        Comment

        Working...