RDL Web ReportServerException 배포, 취소됨

4493 단어 exception
15:51:49,030 RsBase(15) [ERROR] - Microsoft.Reporting.WebForms.ReportServerException:  。 ---> System.OperationCanceledException:  。

   ---   ---

     Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension)

     Microsoft.Reporting.WebForms.SoapReportExecutionService.Render(AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)

     Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)

     Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, NameValueCollection urlAccessParameters, String& mimeType, String& fileNameExtension)

     Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension)

     Microsoft.ReportingServices.Rendering.HtmlRenderer.ViewerRenderer.SPBProcessingStub.GetNextPage(RPLReport& rplReport)

     Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.GetNextPage()

     Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.InitializeReport()

     Microsoft.ReportingServices.Rendering.HtmlRenderer.ViewerRenderer.Render(HtmlTextWriter outputWriter)

     Microsoft.Reporting.WebForms.LocalHtmlRenderer.Render(NameValueCollection deviceInfo, PageCountMode pageCountMode, ReportControlSession reportControlSession, CreateAndRegisterStream streamCallback, String& scrollScript, String& pageStyle)

     Microsoft.Reporting.WebForms.ReportControlSession.RenderReportHTML4(NameValueCollection deviceInfo, PageCountMode pageCountMode, String& scrollScript, String& pageStyle)

     Microsoft.Reporting.WebForms.ReportControl.RenderReport(ReportControlSession session, String viewerInstanceIdentifier, PageCountMode pageCountMode, Int32 pageNumber, InteractivityPostBackMode interactivityMode, SearchState searchState, String replacementRoot, String hyperlinkTarget, ScrollTarget scrollTarget, String alertMessage, DeviceInfoCollection initialDeviceInfos, String browserMode, Boolean sizeToContent)

     Microsoft.Reporting.WebForms.ReportArea.RenderReport(ReportControlSession session, String viewerInstanceIdentifier, PageCountMode pageCountMode, Int32 pageNumber, InteractivityPostBackMode interactivityMode, SearchState searchState, String replacementRoot, String hyperlinkTarget, ScrollTarget scrollTarget, String alertMessage, DeviceInfoCollection initialDeviceInfos, String browserMode, Boolean sizeToContent)

     Microsoft.Reporting.WebForms.ReportViewer.RenderReport(Boolean updateDocMap)

     Microsoft.Reporting.WebForms.ReportViewer.OnPreRender(EventArgs e)

I found the timeout that caused the cancel problem. It was the AsyncWaitPostBackTimeout of the asp:ScriptManager that by default is set to 90 seconds. When I increased it the report was working as it should
asp:ScriptManager의 AsyncWaitPostBackTimeout=0을 비활성으로 설정할 때
출처: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/544b5def-1b22-4e23-9472-da3120f09fca/report-viewer-control-returns-operationcanceledexception-onerror-event-after-90-seconds?forum=sqlreportingservices

좋은 웹페이지 즐겨찾기