i am allowing upload size up to 4 mb..
for this purpose i am using this code in webconfig file.. but its not working...
it throw s the error:
Bad Request Error :400
Web config Code:
Help me..
Advanx thx
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Apr 27, 2012, 6:09 AM EDT
Here you set the maximum size which can be requested to upload is 4 MB.
1024 x 4 = 4096 MB. Any thing goes beyond this size will be shown as bad request and you do not have any control over on that. More over you can't customize the size.
I hope this will help you.
sudharsan s110 reputationPosted Apr 29, 2012, 11:02 PM EDT
thx for you reply...
I done as per ur code which was u replied me... i am uploading below 4 mb files only.. but still it shows the same error.. execution timeout is 1800. but i am not able upload 1.5 Mb files also.
Advanx thx....!