<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Underlying connection was closed error in SSRS when accessing a report in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Underlying-connection-was-closed-error-in-SSRS-when-accessing-a/m-p/4616605#M40043</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SSRS reports in my Windows application using Report viewer in Winforms. I am getting the below exception while trying to get the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Exception message: The underlying connection was closed: The connection was closed unexpectedly.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Stack trace: at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ServerReportSoapProxy.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadDrillthroughTarget2(String DrillthroughID)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.&amp;lt;&amp;gt;c__DisplayClass1e.&amp;lt;LoadDrillthroughTarget&amp;gt;b__1c()&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadDrillthroughTarget(String DrillthroughID)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ServerReport.PerformDrillthrough(String drillthroughId, String&amp;amp; reportPath)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ReportViewer.RenderDrillthrough(DrillthroughAction action)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ReportViewer.FireAnAction(Action action, Boolean shiftKeyDown)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I checked my SSRS server logs , I didn't see any errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the possible reason for this error? Is this could be due to the issue with report viewer? Any properties I need to set?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 14:24:10 GMT</pubDate>
    <dc:creator>JagadishNallami</dc:creator>
    <dc:date>2025-03-19T14:24:10Z</dc:date>
    <item>
      <title>Underlying connection was closed error in SSRS when accessing a report</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Underlying-connection-was-closed-error-in-SSRS-when-accessing-a/m-p/4616605#M40043</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SSRS reports in my Windows application using Report viewer in Winforms. I am getting the below exception while trying to get the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Exception message: The underlying connection was closed: The connection was closed unexpectedly.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Stack trace: at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ServerReportSoapProxy.GetWebResponse(WebRequest request)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadDrillthroughTarget2(String DrillthroughID)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.&amp;lt;&amp;gt;c__DisplayClass1e.&amp;lt;LoadDrillthroughTarget&amp;gt;b__1c()&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadDrillthroughTarget(String DrillthroughID)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ServerReport.PerformDrillthrough(String drillthroughId, String&amp;amp; reportPath)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ReportViewer.RenderDrillthrough(DrillthroughAction action)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Microsoft.Reporting.WinForms.ReportViewer.FireAnAction(Action action, Boolean shiftKeyDown)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I checked my SSRS server logs , I didn't see any errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the possible reason for this error? Is this could be due to the issue with report viewer? Any properties I need to set?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:24:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Underlying-connection-was-closed-error-in-SSRS-when-accessing-a/m-p/4616605#M40043</guid>
      <dc:creator>JagadishNallami</dc:creator>
      <dc:date>2025-03-19T14:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Underlying connection was closed error in SSRS when accessing a report</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Underlying-connection-was-closed-error-in-SSRS-when-accessing-a/m-p/4617286#M40046</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I think there are some network issues between your client machine and your SSRS server. You can use tools like ping or tracert to diagnose network connectivity problems.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If your SSRS server is configured to use HTTPS, the client should be the correct TLS/SSL version. Older versions of the .NET Framework may not support newer TLS versions by default. You can enforce the use of a specific TLS version in your application by adding the following code:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;&lt;/LI-CODE&gt;
&lt;P&gt;Genreally, if the SSRS server is under heavy load or running out of memory, it might close connections unexpectedly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 23:07:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Underlying-connection-was-closed-error-in-SSRS-when-accessing-a/m-p/4617286#M40046</guid>
      <dc:creator>AmiraBedh</dc:creator>
      <dc:date>2025-03-19T23:07:51Z</dc:date>
    </item>
  </channel>
</rss>

