hi..!
Hi..
I have one field to upload files in my form... when i am upload the file with small size.. it has been uploaded.
When i am upload the file which is more then 1 mb it show the error (Bad request).
but , i want to allow the files upto 5 mb to upload at a time...
Pls help me..
Advanx thx
How to upload the file more then 2 mb at a time in c#?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

MuthuMari MRank #5,738 · 288 reputationPosted Apr 27, 2012, 12:29 AM EDT
pls refer this link
http://www.pcreview.co.uk/forums/uploading-file-more-than-5-mb-sound-files-mediafiles-t1277885.html
http://www.codeproject.com/Articles/10842/Setting-up-Web-config-to-allow-uploading-of-large
http://stackoverflow.com/questions/7804622/how-to-upload-content-more-than-2-mbs-on-website-created-using-asp-net-4-0
thanks.
If this post is useful then mark it as "Accepted Answer"
Krishna GaradRank #191 · 12.8K reputationPosted Apr 27, 2012, 12:52 AM EDT
sudharsan s110 reputationPosted Apr 27, 2012, 2:46 AM EDT
Thanks for your reply.....
again i got the same Error..
Can u explain and help me..
Error:
HTTP Error 400 - Bad Request.
Version Information: ASP.NET Development Server 9.0.0.0