. . Hong Kong Software Company
software house
Expert in web-based solutions
Software House in Hong Kong

Microsoft Certified Solution Developer

 

Chief Architect's Blog on software development

10 Dec 2007
Upload Large File in ASP.Net Application
You might encounter error when upload file larger than 4MB in ASP.Net application.  The reason is that Machine.config defaults the MaxRequestLength to 4096.  If you want to change this to 10MB, you need to add the following line to your Web.Config file:
<system.web>
    <httpRuntime
        executionTimeout="150"
        maxRequestLength="10240" />
 </system.web>
 
I am using this config in my CRM application.
 
 

Member Log in
User ID:
Password:
 
 
Hong Kong Software House



 
March On to the Information Era. Realize your Vision via Customized Software.