About the author

Vijay Kodali
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2024

Page cannot be displayed error with Asp.Net FileUpload

 The File Upload server control provided by ASP.NET allows users to upload one or more files to the server. By default, ASP.NET permits only files that are 4,096 KB (or 4 MB) or less to be uploaded to the Web server. To upload larger files, you must change the maxRequestLength parameter of the <httpRuntime> section in the Web.config file.


<system.web>
  <httpRuntime executionTimeout="240" maxRequestLength="20480" />
</system.web>  

 The value of maxrequestlength is in KB. In this case it's allowed up to 20 MB


Categories: ASP.NET
Posted by vijay on Friday, November 16, 2007 3:13 PM
Permalink | Comments (0) | Post RSSRSS comment feed