title: File upload size issue in asp.net
body: <p>I am getting error on file upload in asp.net and the file size is 780kb but it is uploading 147 bytes successfully <img src="https://i.stack.imgur.com/V0P5E.png" alt="enter code here"></p>
  
  <p>i did set this in web.config file but still getting error any idea why?</p>
  
  <pre><code>&lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.0" /&gt;
      &lt;httpRuntime  maxRequestLength="1000000" executionTimeout="360"/&gt;
      &lt;!--&lt;httpRuntime maxRequestLength="10000" requestValidationMode="2.0" executionTimeout="360"/&gt;--&gt;
    &lt;/system.web&gt;
  </code></pre>