FileUpload size and win2003 service pack1 ??

Discussion in 'ASP .Net' started by james, May 2, 2005.

  1. james

    james Guest

    hi!
    I have written an asp.net web page which can upload files,
    i didn't modify the machine.config and the web.config
    file, when i upload a file that size < 1mb, it can run
    correctly, but when i upload a file that size > 1mb and <
    4mb, it cause an error.

    then i open the machine.config and the web.config file, it
    show
    <httpRuntime executionTimeout="90" maxRequestLength="4096"

    the asp.net web page can run correctly these days, but
    yesterday, after i installed windows 2003 service pack 1,
    then if uploaded-file size > 1mb it will cause an error.

    please help~~thank you :)
     
    james, May 2, 2005
    #1
    1. Advertising

  2. James how does it occur?
    Does it work sometimes or the error always persist?




    *** Sent via Developersdex http://www.developersdex.com ***
     
    Patrick Olurotimi Ige, May 2, 2005
    #2
    1. Advertising

  3. james

    James chen Guest

    James chen, May 2, 2005
    #3
  4. web.config supports an <httpRuntime> element under the system.web
    section -- specifically something like this

    <httpRuntime maxRequestLength="10000" />
    will establish a max file upload size of 10,000 Kilobytes for example
    Try that..
    Are u sure u are saving ur web.config or machine.config well after
    modification and make sure its well formed?
    Patrick




    *** Sent via Developersdex http://www.developersdex.com ***
     
    Patrick Olurotimi Ige, May 2, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?TmVhbA==?=
    Replies:
    0
    Views:
    399
    =?Utf-8?B?TmVhbA==?=
    Sep 19, 2005
  2. ad
    Replies:
    4
    Views:
    2,499
  3. Replies:
    1
    Views:
    355
    Darren Kopp
    Feb 20, 2006
  4. ad
    Replies:
    4
    Views:
    464
    Patrice
    Jun 9, 2006
  5. rabarama
    Replies:
    0
    Views:
    121
    rabarama
    Dec 10, 2009
Loading...

Share This Page