开发者

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

开发者 https://www.devze.com 2022-12-22 14:24 出处:网络
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

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.

Same reports are working properly in our development environmnet. This issue we are getting in our production environment.

Exception Details:

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& Encoding, String& MimeType, ParameterValue[]& ParametersUsed, Warning[]& Warnings, String[]& 开发者_JAVA技巧 StreamIds)

Even though Reporting Service time out set as "Infinite" we are facing the issue.

To resolve this isuue, Do we need to change any configuration settings in the reporting server/IIS?..


You will probably get more information about the error by examining the log files on the reporting server.

Reporting Services Log Files

0

精彩评论

暂无评论...
验证码 换一张
取 消