Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Any idea what could be causing this error: exception is “Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.”?

$
0
0

Curious if anyone has encountered this situation and if you could help point us in the right direction to resolve.

We are having a sproadic problem where we're getting this error when trying to run a SSRS 2008 report within one of our applications. When we look at the SSRS log, we only see the below line for the report (w/ no error) and looking at the execution log data also shows the status as "rssuccess"... leading us to believe the issue is not with Reporting Services.

In log: "library!ReportServer_0-8!17c0!11/05/2013-15:07:29:: i INFO: RenderForNewSession('/Campaign Systems/MLBIValidationData')"

The application that is getting this error runs a work flow which the report is part of. It calls a "ReportRender.exe" which we built.“This application calls reporting services .rdls to generate reports that are triggered in a batch process by Affinium Campaign. The batch file passes the ReportName with Path, EmailTo Group, Type of file to return, CampaignDescription, and any key=value parameter pairs that are needed to the application and Reporting Services. The application calls Reporting Services and passes all arguments to Reporting Services, waits for Report Creation and accepts report file back. The application then names the report with datetime stamp and stores the report where configured. Then email is send to group with a file link back to where the report has been stored. Any errors during report creation are reported back in email with link to the log file. Application exists with return code of 99 if any error, otherwise if no errors, return code of zero.”

The overall process is:

  1. We have an IBM tool called IBM campaign(aka UNICA). This tool is used by the Campaign execution team to run campaigns.
  2. We create flowcharts in UNICA to run the processes.
  3. The RenderReports.exe is called by flowcharts in UNICA. (see description above)
  4. In the current process, the flowchart consists of multiple steps.
  5. Once of the steps in the flowchart is the Report rendering step. This is the step which is failing intermittently.
  6. After the report rendering step, there are other steps in the flowchart. The last step in the flowchart is to trigger another flowchart.
  7. When the report step fails, the whole flowchart stops and the next flowchart does not get triggered.

Exception reported in the log file of the application: 

The Process RUN MLBI report generates the report MLBIValidationData.

Exception details are as follows:

------------------------------------------------------------------------------

***** BEGIN DBKAS RENDER REPORTS 11/5/2013 3:07:28 PM *****

------------------------------------------------------------------------------

*****Creating Report  MLBIValidationData DS-MAACDesigners@cunamutual.com EXCEL 2013-12 Bi-Monthly Campaign C000001100 CampaignCode=C000001100 *****

Program Started at:  11/5/2013 3:07:28 PM

------- Exception Log Entry -------

ENVIRONMENT INFORMATION:

TimeStamp:                     11/5/2013 3:10:46 PM

MachineName:                   VMPAFFCMP02

AppDomainName:                 RenderReports.exe

ThreadIdentity:               

WindowsIdentity:               CMUTUAL\SA-AFFP1

EXCEPTION INFORMATION:

Severity:                      Fatal

Exception Type:                System.Net.WebException

Status:                        ReceiveFailure

Message:                       The underlying connection was closed: An unexpected error occurred on a receive.

Data:                          System.Collections.ListDictionaryInternal

TargetSite:                    System.Net.WebResponse GetWebResponse(System.Net.WebRequest)

Source:                        System.Web.Services

Stack Trace:

  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 RenderReports.ReportingServices.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)

  at RenderReports.Main.RenderEmailLinkReport(String[] strParms, Int32 intReportParameters)

INNER EXCEPTION INFORMATION:

Exception Type:                System.IO.IOException

Message:                       Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Data:                          System.Collections.ListDictionaryInternal

TargetSite:                    Int32 Read(Byte[], Int32, Int32)

Source:                        System

Stack Trace:

  at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

  at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

  at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

  at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

  at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

  at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)

  at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

  at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

INNER EXCEPTION INFORMATION:

Exception Type:                System.Net.Sockets.SocketException

ErrorCode:                     10054

Message:                       An existing connection was forcibly closed by the remote host

SocketErrorCode:               ConnectionReset

NativeErrorCode:               10054

Data:                          System.Collections.ListDictionaryInternal

TargetSite:                    Int32 Read(Byte[], Int32, Int32)

Source:                        System

Stack Trace:

  at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

ADDITIONAL INFORMATION:

Error Rendering Report:        MLBIValidationData

------- Exception Entry End -------

**

**  This run had fatal severity messages, please check the error log!!!

**

** StartReport = 11/5/2013 3:07:29 PM StopReport = 11/5/2013 3:10:45 PM

** Report MLBIValidationData failed after 3 minutes 16 seconds

Program Ended   at:  11/5/2013 3:10:47 PM

*---------------------------------------------------------------------------*

Thanks for any help or direction you can provide!!! :)


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>