locked
reporting servers export excel or pdf Error RRS feed

  • Question

  • we have error the below error when export excel or pdf in reporting servers 


    An existing connection was forcibly closed by the remote host <o:p></o:p>

      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <o:p></o:p>

     <o:p></o:p>

    Exception Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host<o:p></o:p>

     <o:p></o:p>

    Source Error: <o:p></o:p>

     <o:p></o:p>

     <o:p></o:p>

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.   <o:p></o:p>

     <o:p></o:p>

    Stack Trace: <o:p></o:p>

     <o:p></o:p>

     <o:p></o:p>

     <o:p></o:p>

    [SocketException (0x2746): An existing connection was forcibly closed by the remote host]<o:p></o:p>

       System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +226<o:p></o:p>

     <o:p></o:p>

    [IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]<o:p></o:p>

       System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) +1069<o:p></o:p>

       Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +616<o:p></o:p>

     <o:p></o:p>

    [ReportServerException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]<o:p></o:p>

       Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +890<o:p></o:p>

       Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +632<o:p></o:p>

       Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, NameValueCollection urlAccessParameters, String& mimeType, String& fileNameExtension) +126<o:p></o:p>

       Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension) +187<o:p></o:p>

       Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +233<o:p></o:p>

       Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +301<o:p></o:p>

       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +872<o:p></o:p>

    Monday, December 21, 2020 9:24 AM

Answers

  • I'd try asking for help over here.

    sql-server-reporting-services - Microsoft Q&A

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Guido Franzke Monday, December 21, 2020 1:36 PM
    • Marked as answer by Dave PatrickMVP Wednesday, December 30, 2020 9:43 PM
    Monday, December 21, 2020 1:09 PM