title: The underlying connection was closed: An unexpected error occurred on a receive
body: <p>We are using Reporting Service(SSRS 2008) webservice(ReportingService2005.asmx, ReportingExecutionService2005.asmx) to export/Render the report into PDF format from Windows application. When exporting the huge amount of data contain report(Upto 10MB), then we are getting exception as "The underlying connection was closed: An unexpected error occurred on a receive". Small amount of data contain reports are working properly.</p>
  
  <p>Same reports are working properly in our development environmnet. This issue we are getting in our production environment.</p>
  
  <blockquote>
    <p>Exception Details:</p>
    
    <p>System.Net.WebException: The
    underlying connection was closed: An
    unexpected error occurred on a
    receive.    at
    System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
    request)    at
    System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
    request)    at
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
    methodName, Object[] parameters)    at
    ReportWebReference.ReportingService.Render(String
    Report, String Format, String
    HistoryID, String DeviceInfo,
    ParameterValue[] Parameters,
    DataSourceCredentials[] Credentials,
    String ShowHideToggle, String&amp;
    Encoding, String&amp; MimeType,
    ParameterValue[]&amp; ParametersUsed,
    Warning[]&amp; Warnings, String[]&amp;
    StreamIds)</p>
  </blockquote>
  
  <p>Even though Reporting Service time out set as "Infinite" we are facing the issue. </p>
  
  <p>To resolve this isuue, Do we need to change any configuration settings in the reporting server/IIS?..</p>