Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > FileUpload size and win2003 service pack1 ??

Reply
Thread Tools

FileUpload size and win2003 service pack1 ??

 
 
james
Guest
Posts: n/a
 
      05-02-2005
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



 
Reply With Quote
 
 
 
 
Patrick Olurotimi Ige
Guest
Posts: n/a
 
      05-02-2005
James how does it occur?
Does it work sometimes or the error always persist?




*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
James chen
Guest
Posts: n/a
 
      05-02-2005
when file > 1mb, it always occur.


*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
Patrick Olurotimi Ige
Guest
Posts: n/a
 
      05-02-2005
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 ***
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't start mongrel_rails service on win2003 rabarama Ruby 0 12-10-2009 05:34 PM
Promote Win2003 R2 in infraestructure Win2003 SP1 =?Utf-8?B?SWdvciBSb2RyaWd1ZXM=?= MCSE 3 06-20-2007 03:50 AM
Developing Web Service in VS2005 on Win2003 Server: Need environment suggestions sinisa.stokic@gmail.com ASP .Net 1 02-20-2006 08:16 PM
The size FileUpload can access? ad ASP .Net 4 01-22-2006 09:11 PM
Error when Starting .NetWritten Service on Win2003 with SP1 =?Utf-8?B?TmVhbA==?= ASP .Net 0 09-19-2005 01:50 PM



Advertisments