Results 1 to 3 of 3

Thread: [RESOLVED] Upload files

  1. #1

    Thread Starter
    Hyperactive Member JMvVliet's Avatar
    Join Date
    May 2001
    Location
    Papendrecht, Netherlands
    Posts
    310

    Resolved [RESOLVED] Upload files

    Hello all,

    I've got a problem with the FileUploadControl. I have an ASP .NET application, which need to upload files to a server. This works, but not for large files (> 5 mb), and not for some file types. For both problems I get an Server Error in Application.

    Does anybody know where to look? I can't find anything wrong... Maybe in IIS?

    Thanx in advance,

    Marco

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Upload files


  3. #3

    Thread Starter
    Hyperactive Member JMvVliet's Avatar
    Join Date
    May 2001
    Location
    Papendrecht, Netherlands
    Posts
    310

    Re: Upload files

    Have found it!!! ASP .NET accepts default only attachments up to 4096 bytes. So, in web.config, you have to set something like:

    <httpRuntime maxRequestLength="8192" />

    that sets the upload maximum up to 8 mb... That was what I wanted...

    Anyway Mendhak, thanx for your help...

    JMvV

Posting Permissions

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



Click Here to Expand Forum to Full Width