title: Error uploading zip files using Web services
body: <p>his is a VS 2010 windows application that calls Web Services to upload and dowload files between the local machine and a remote machine.(Please note that this application was converted from vs2008 to vs2010 to use .net 4- It worked fine before this conversion took place)</p>
  
  <p>It works fine for .pdf and text files.</p>
  
  <p>But when trying to upload zip files, I am getting the error</p>
  
  <p><strong>System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)</strong> </p>
  
  <p>Update: I have included <code>&lt;httpRuntime maxRequestLength="10240"/&gt;</code> in the web.config file
  of the Web service. The zip files are larger than 8 MB</p>
  
  <p>Any suggestions?</p>
  
  <p>Answer:  <code>&lt;httpRuntime maxRequestLength="209715200"/&gt;</code></p>