码迷,mamicode.com
首页 > Web开发 > 详细

RDL Web报表抛出ReportServerException,已取消该操作

时间:2014-11-24 18:33:39      阅读:310      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   io   ar   color   os   sp   

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

 

RDL Web报表抛出ReportServerException,已取消该操作

标签:des   style   blog   http   io   ar   color   os   sp   

原文地址:http://www.cnblogs.com/ycdx2001/p/4119059.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!