Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How Can I Upload a file more than 1mb
Posted
Updated 10-Mar-14 3:35am
v2
Comments
What have you tried and where is the issue?

1 solution

Strange - the normal default maximum is 5MB, so it may have been changed in your web.config.
Have a look at web.config, and see if there is an httpRunTime section. If so, the values for the maxRequestLength property controls the max upload size, in KB.

XML
<httpRuntime maxRequestLength="25096""></httpRuntime>
Sets it to 25Mb.
If there isn't a setting, or this doesn't help, contact your hosting service, they may need to change the value for you in IIS.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900