Click here to Skip to main content
15,881,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am uploding 14MB size of PDF file, its not uploding.


pls send where i can keep default size of pdf.
Posted

Look in your web.config file:
XML
<configuration>
  <system.web>
    <httpRuntime maxRequestLength="16384" />
  </system.web>
</configuration>

The value is in KB, and defaults to 4096 or 4MB. The value above will give you 16MB.
 
Share this answer
 
For IIS 6.0, you may need to increase the maximum timeout as well.
XML
<configuration>
  <system.web>
    <httpRuntime maxRequestLength="16384" executionTimeout="3600" />
  </system.web>
</configuration>
 
Share this answer
 
v2

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