HostOnNet Blog

How to increase the max upload file size in ASP.NET ?

We can change the maximum upload size for a site by pasting the below code to web.config file.

                <requestLimits maxAllowedContentLength="629145600"/>

maxAllowedContentLength is in bytes not kilobytes.

About Annie

I've been working in Technical Section for over 10 years in a wide range of tech jobs from Tech Support to Software Testing. I started writing blog for my future reference and useful for all.
Posted in Windows